-
-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working when location service is turned off #315
Comments
Doesn't it need location services to work? How would it get the location? |
@Xgamefactory can you clarify what you would expect? @aronnelson is correct that this plugin needs the location services to be running to work correctly, so what do you expect to happen when the services are not running? |
At some of the times, when the GPS was off, after I turned it on, it got the location.
Thanks |
Currently the plugin doesn't offer a good way to request the service location activation... |
I have the same problem. When I switch off GPS Should it not be possible to acces the device's location via Also, even though the await never finishes, |
|
plugin should have a method to trigger location service turn off. it is possible to programmatically on native platforms, at least on android. |
I got same problem , I guess the plugin at least should return GeolocationStatus disabled but , it returns GeolocationStatus granted. |
I got the same issue |
@carlos-labrador, @Hunter3173, if you want to know if the location services are running you can use the We need to have a look if we can make the handling of enabling the location services in a more smooth way (which is what the original issue is about). As suggested by @luis901101 on Android we could use the FusedLocation manager to request service activation. |
Thanks ! |
Thanks for your help. |
Fixed in version 6.0.0 |
unlike other flutter plugins this one not working when location sevice is turned off.
The text was updated successfully, but these errors were encountered: