Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70795

How to get iOS 13 WiFi SSID using Ionic3?

$
0
0

@ashokInceptive wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>