Hi guys.
I'm facing something that it seems to be a common problem with iOS13 : get wifi SSID.
Until iOS13, everything worked like a charm....
and
Tried enabling Wifi Access on Identifiers and recreate provisioning file.... Nothing.
I need to check if the SSID name is related to one of our products. Any help?
Thank you
I'm facing something that it seems to be a common problem with iOS13 : get wifi SSID.
Until iOS13, everything worked like a charm....
B4X:
ssid = NativeMe.RunMethod("currentWifiSSID", Null).AsString
B4X:
#If OBJC
#import <SystemConfiguration/CaptiveNetwork.h>
- (NSString *)currentWifiSSID {
// Does not work on the simulator.
NSString *ssid = nil;
NSArray *ifs = (__bridge_transfer id)CNCopySupportedInterfaces();
for (NSString *ifnam in ifs) {
NSDictionary *info = (__bridge_transfer id)CNCopyCurrentNetworkInfo((__bridge CFStringRef)ifnam);
if (info[@"SSID"]) {
ssid = info[@"SSID"];
}
}
return ssid;
}
#end if
I need to check if the SSID name is related to one of our products. Any help?
Thank you
Last edited: