Skip to content
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

Prompt only if location disabled completely? #51

Closed
nol13 opened this issue Dec 13, 2018 · 1 comment
Closed

Prompt only if location disabled completely? #51

nol13 opened this issue Dec 13, 2018 · 1 comment

Comments

@nol13
Copy link

nol13 commented Dec 13, 2018

If they have location on their device set to gps only, would it be possible/desirable to use gps and not prompt them to enable location even if enableHighAccuracy = false?

Like if they have location turned off, always prompt, if on, then use low accuracy, but if on and set to gps only, then just use gps and don't prompt?

Possibility am unclear on how this differs from built-in geolocation, but am trying to achieve reliable location, and do want to prompt if they're someone who only enables location from the status bar when needed, but also avoid unnecessarily requiring them to give their location to google if they've explicitly chosen not too.

@Agontuk
Copy link
Owner

Agontuk commented Dec 17, 2018

google play service probably does not allow requesting location in "GPS Only" mode. That's why it shows the prompt to enable high accuracy mode. But I'll check if it can be done.

@nol13 nol13 closed this as completed Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants