hypery2k / cordova-hotspot-plugin

A Cordova plugin for managing HotSpot networks on Android
MIT License
37 stars 49 forks source link

function scanWifi #16

Closed cccoba closed 8 years ago

cccoba commented 8 years ago

if my huawei g750 (4.2.2) function cordova.plugins.hotspot.scanWifi and cordova.plugins.hotspot.scanWifiByLevel working fine, but my othet phone Fly iq449 (4.1.2) this functions not return result (listOfNetworks) cordova.plugins.hotspot.scanWifi( function (listOfNetworks) { console.log(listOfNetworks); },function (err) { alert('error'); } ); Other function (createHotspot, stopHotspot, isWifiOn, toggleWifi) work is fine. In wifiwizard both phones scan normal

hypery2k commented 8 years ago

the supported API Level 19 is 4.4+ Sorry to say but this plugin uses some APIs from API Level 19 and will not work completely with older versions