cordova-hotspot-plugin icon indicating copy to clipboard operation
cordova-hotspot-plugin copied to clipboard

Android 10 scan and connect problem

Open SzymG opened this issue 4 years ago • 3 comments

After my system upgrade to Android 10, plugin return always empty array after call .scanWifi(), also connectToWifi(SSID, password) always return 'Connection was not successfull'. Before the update there was no problem. My phone is Xiaomi Redmi Note 7.

SzymG avatar Aug 28 '20 11:08 SzymG

After my system upgrade to Android 10, plugin return always empty array after call .scanWifi(), also connectToWifi(SSID, password) always return 'Connection was not successfull'. Before the update there was no problem. My phone is Xiaomi Redmi Note 7.

is anyone maintain this plugin? because after Android 10 (from November 20) no one can use it anymore.

about the scan, you can use the plugin "WifiWizard2". about connect, I still couldn't find any plugin. if you find one, please let me know.

eliadAfeka avatar Sep 12 '20 14:09 eliadAfeka

@eliadAfeka Thanks for reply. I was using "WifiWizard2", but forgot to mention about it. I've found solution to my issue. The thing is that you must have location enabled and everything is working fine. In my case the problem was that after first run of app, plugin asked me to turn on the location, I gave permission and location turned on. Then (when permission was granted previously) in the next runs I haven't got location enabled.

SzymG avatar Sep 17 '20 11:09 SzymG

@SzymG @hypery2k any updates on how to solve this issue?

abhijithp avatar Aug 03 '21 03:08 abhijithp