In order to have wifiwizard to detect the SSID, the GPS must be switched on.
When my app is initialized I proceed to check or request for ACCESS_FINE_LOCATION permission.
On the user side, the user is promted to grant the app access to device location but ultimately if the GPS is switched off I got SSID unknown.
What the heck have GPS to do with WiFi SSID?
I have a button to scan for SSID if I switch on GPS and rescan I get the SSID.
Said that I want to get rid of: the necessity of having the GPS draining ones battery, and having any problem with GPS to fall on my app.
If this behavior is what it is suppose to happen, then I will turn this issue in a suggestion as long as it is permitted.
Prerequisites
Check all boxes if you have done the following:
Issue type
Select all that apply
Description
In order to have wifiwizard to detect the SSID, the GPS must be switched on. When my app is initialized I proceed to check or request for ACCESS_FINE_LOCATION permission. On the user side, the user is promted to grant the app access to device location but ultimately if the GPS is switched off I got SSID unknown. What the heck have GPS to do with WiFi SSID?
Steps to Reproduce
Expected behavior: I expect to get the SSID
Actual behavior: I get SSID unknown
Reproduces how often: !00% of times
Versions
WifiWizard2 3.1.0 Ionic CLI 5.2.8 Android 9 IOS 13.1.1
Additional Information
I have a button to scan for SSID if I switch on GPS and rescan I get the SSID. Said that I want to get rid of: the necessity of having the GPS draining ones battery, and having any problem with GPS to fall on my app.
If this behavior is what it is suppose to happen, then I will turn this issue in a suggestion as long as it is permitted.