[Bug]: 'The location service on the device is disabled' when wifi + (wifi scan / location accuracy) is disabled #1608
Labels
status: closed (missing info)
Indicates the issue was automatically closed due to a lack of information.
status: needs more info
We need more information before we can continue work on this issue.
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
Disable wi-fi on device
Location accuracy is disabled (wifi scan)
Location services is enabled
Attempt to listen to Geolocator.getPositionStream()
Expected results
If LocationServices is said to be enabled - why get an error that it's disabled?
A way to check for this beforehand would be better.
Or fallback to GPS if possible.
Also, this issue should be resolvable by this dialog prompted by the system:

And checkable:
https://developers.google.com/android/reference/com/google/android/gms/location/SettingsClient#isGoogleLocationAccuracyEnabled()
Actual results
Error message 'The location service on the device is disabled'
When in fact it's wifi-scanning / location accuracy turned off
Code sample
Code sample
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
13.0.1
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: