cordova-hotspot-plugin
cordova-hotspot-plugin copied to clipboard
Android 10 scan and connect problem
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.
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 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 @hypery2k any updates on how to solve this issue?