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

Prioritize GPS providers #63

Closed
miladrasooli opened this issue Aug 7, 2017 · 1 comment
Closed

Prioritize GPS providers #63

miladrasooli opened this issue Aug 7, 2017 · 1 comment
Labels

Comments

@miladrasooli
Copy link

Hi,
First of all thanks for this great library,
I was wondering if there is a way to prioritize gps providers , for example I want to first use GPS and try to retrieve an accurate position with a 30 seconds timeout and only if it failed use Google Play services and then the network provider.
If the answer is Yes how can I find out which provider has given me the location?
Thanks

@yayaa
Copy link
Owner

yayaa commented Aug 17, 2017

Hey @miladrasooli ,
Unfortunately that is not configurable for now, it is in the same order as best practices given by Google. First it tries with GooglePlayServices Api to get it (if you set the configuration, of course) and if it fails fallbacks to Default LocationProviders which are GPS and Network.

@yayaa yayaa added the Question label Aug 18, 2017
@yayaa yayaa closed this as completed Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants