hoerresb / WifiWizard

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

getScanResult returning empty #96

Open zgmunshi opened 7 years ago

zgmunshi commented 7 years ago

I am trying to use this plugin, but i am facing some issues and finding it difficult to implement it.

1) listNetworks is giving me my visited all the networks not the current networks

2) getScanResult is returning empty.

Can anyone guide me what i may be doing wrong.

Thanks

emcniece commented 7 years ago

I am experiencing this as well. My app is Ionic 2 RC0 (typscript), and I am testing this by using ionic run android on my device. At this time, I am accessing the WifiWizard object directly through the Chrome Developer Tools during a chrome://inspect session.

Next step will be to attempt a bundle and install directly on the device to eliminate potential interference.

emcniece commented 7 years ago

Read through https://github.com/hoerresb/WifiWizard/issues/90 when you get a chance.

Tl;dr: enable Location permission for the app manually via Settings -> App -> My App -> Permissions