From efe515897006a0de4131c89d313e05d689da2f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rn=20=C3=85ne=20de=20Jong?= Date: Wed, 19 Apr 2023 10:29:13 +0200 Subject: [PATCH] Revert "Convert OIDs to uppercase" This reverts commit 28553c1371b9ca730e84544dbfa2abe27a3ae0ac. iOS seems to have fixed this issue. --- .../plugins/wifi-eap-configurator/ios/Plugin/Plugin.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/geteduroam/plugins/wifi-eap-configurator/ios/Plugin/Plugin.swift b/geteduroam/plugins/wifi-eap-configurator/ios/Plugin/Plugin.swift index e258c70b..26450f6f 100644 --- a/geteduroam/plugins/wifi-eap-configurator/ios/Plugin/Plugin.swift +++ b/geteduroam/plugins/wifi-eap-configurator/ios/Plugin/Plugin.swift @@ -226,9 +226,10 @@ public class WifiEapConfigurator: CAPPlugin { roamingEnabled: true) // oids should be 3 or 5 byte HEX strings (so 6 or 10 hexits) // in the API, these are represented by a string that contains hexits. - // Hexits are by themselves case-insensitive, but apparently - // iOS has trouble when they are lowercased, so we uppercase them. - hs20.roamingConsortiumOIs = oids.map { $0.uppercased() }; + // Hexits are by themselves case-insensitive, but around iOS 16.3 + // there was a bug where they had to be uppercase in order to work. + // This bug was confirmed fixed in iOS 16.4.1, the status for 16.4.0 is unknown. + hs20.roamingConsortiumOIs = oids; configurations.append(NEHotspotConfiguration(hs20Settings: hs20, eapSettings: eapSettings)) } }