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

When choosing a provider, does the plugin check for internet access on the wifi or just connection? #321

Open
J-Hardy opened this issue Jan 29, 2020 · 1 comment

Comments

@J-Hardy
Copy link

J-Hardy commented Jan 29, 2020

Just wondering if the plugin checks for an active internet connection on the wifi or just a connection when choosing a provider to grab the user's location. This problem came about from using the plugin on a phone in a car that has built in wifi but no internet access.

If the plugin doesn't check is there is a way to force the geolocator to only use GPS and ignore the phone network data/WiFi. I've seen the closed post issue 230, but didn't fully understand if that was asking the same question. Thanks in advance.

@J-Hardy J-Hardy changed the title How to only use GPS to grab location. When choosing a provider, does the plugin check for internet access on the wifi or just connection? Jan 29, 2020
@TheWatchfulOne
Copy link
Contributor

The plugin itself just interfaces with Apple's and Google's location API and does not check for an Internet. I'm not sure about Android, but on Apple devices, the system decides under the hood which location technology it will use (GPS, WiFi, cel tower triangulation, etc.) There is no outward facing API that allows input into which location technology to use.

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