I have build hybrid application for IPAD, using cordova. I need to get the name of connected current wifi network. I have gone through couple of plugins of cordova which couldn't help me out. Can anyone let me know how to achieve this by cordova plugin or javascript plugin.
Asked
Active
Viewed 6,398 times
11
-
You can try use this plugin https://github.com/HondaDai/PhoneGap-WifiInfoPlugin – Oleksandr T. Jan 29 '15 at 06:46
-
Some links that could help : https://stackoverflow.com/a/5198968/8472539 https://stackoverflow.com/a/43543510/8472539 – Bin0li Sep 01 '17 at 18:11
1 Answers
1
You can use plugin wifiWizard for this. Plugin can be used as follows to get current ssid information.
function ssidHandler(s) {
alert("Current SSID"+s);
}
function fail(e) {
alert("Failed"+e);
}
function getCurrentSSID() {
WifiWizard.getCurrentSSID(ssidHandler, fail);
}
Refer this question for more details

Channa
- 3,267
- 7
- 41
- 67