- License - The MIT License
- Test on Cordova 3.4.0
cordova plugin add https://github.com/blakebyrnes/org.apache.cordova.wifiinfo
window.wifi.lan; //Connected WiFi info
window.wifi.networks; //Array of the visible WiFi networks
window.wifi.refresh(); //takes an optional callback.
//NOTE: If you need to react to changes in SSID/IP, you need to send in a callback
- 2014/4/29
- Listening for cordova connect was causing conflicts with NetworkConnection plugin. Removed and simply call wifi.refresh() when network connection state changes in the network connect plugin.
- 2014/4/17
- Change wifi object structure
- Fix SSID string format
- 2014/4/3
- Add compatibility with Cordova 3.4.0
- Change output structure
- Add plugman compatibility
- 2013/4/5
- Adjust output format
- Add available network