I have used WifiWizard plugin to get SSID but it’s not working on iOS 13. It gives me SSID as “Wi-Fi” key word, it’s not showing actual connected WiFi SSID.
I have add Location when in use key in info.plist and also tried to update native iOS code but it’s not working.
I have tried with WifiWizard2 plugin but this is also not working.
getWifiName() {
WifiWizard.getCurrentSSID(ssidHandler => {
console.log(ssidHandler);
ssidHandler = ssidHandler.toString().replace("\"", "");
ssidHandler = ssidHandler.toString().replace("\"", "");
this.connectedTo = ssidHandler;
this.ssidHandler(ssidHandler);
}, fail => {
this.goToSettingsButton = false;
console.log(fail);
});
}
I want current WiFi SSID in iOS 13 like if I connect to ABC Wifi network then it should give me SSID as ABC.