hoerresb / WifiWizard

A Cordova plugin for managing Wifi networks
Apache License 2.0
205 stars 178 forks source link

Android SDK 23 WifiWizard.startScan is not a function #103

Closed MarvKaiser closed 7 years ago

MarvKaiser commented 7 years ago

I try to make an App using the WifiWizard and to get this plugin work.

But if I try to call the WifiWizard.startScan() method, an error occurs. The same App however works on iOS 10 perfectly.

When I call the WifiWizard object by console while debugging, the WifiWizard only knows following functions:

TypeError: WifiWizard.startScan is not a function at app.js:4759 at Q (bower.js:29396) at Object.service.scanWifi (app.js:4757) at app.js:7162 ...

wifi

Has anybody encoutered a similar behaviour? Or has anybody a workaround or alternative plugin suggestion?

App build with Cordova. Device: Samsung Galaxy S6 Android: 6.0.1 WifiWizard: 0.2.11

MarvKaiser commented 7 years ago

I've build with the wrong environment. Furthermore I had to enable GPS -> see Issue #90