App still gets the location but throws an exception:
Unhandled Exception: The location service on the device is disabled.
E/flutter ( 6712): #0 MethodChannelGeolocator._handlePlatformException (package:geolocator_platform_interface/src/implementations/method_channel_geolocator.dart:192:9)
E/flutter ( 6712): #1 MethodChannelGeolocator.getPositionStream.
Version: geolocator: ^6.1.6
Platform:
Same here
I/flutter (11976): The location service on the device is disabled.
version: geolocator: ^6.1.7
Android API 30
Yesterday it worked fine, today it shows like this
I enabled/disabled the host machine's (Windows 10) location service and tried again and again on the Android Emulator, but didn't work although I set a location on it :(
version: geolocator: ^6.1.7
Android API 30
Are the location services enabled on the device (or emulator)? Please check in "Settings" -> "Location" and make sure the "Use location" switch is set to "on".
It is emulator, that was the first thing i checked, location is on, position is set, permission is given, problem is still here.
Going through the issues this seems to be a duplicate of issue #585. I will be closing this issue and track progress in issue #585.
Most helpful comment
It is emulator, that was the first thing i checked, location is on, position is set, permission is given, problem is still here.