-
Notifications
You must be signed in to change notification settings - Fork 605
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
@capacitor/geolocation does NOT throw an error even though GPS is unavailable #1696
Comments
This issue needs more information before it can be addressed. Please see the Contributing Guide for how to create a Sample App. Thanks! |
run your own example on any non playstore device: https://github.com/ionic-team/capacitor-plugins/tree/main/geolocation#example There is nothing more to it. |
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot. Have a great day! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out. |
Hi!
Given this issue: #822
I'd assume that devices where the google play service is not available, and thereby GPS is not available.
checkPermissions
should throw an error, it doesn't though.This took me forever to debug since e.g. on /e/os operating system (one without playstore, and with which i am developing) it just doesn't return anything upon requesting a location but returns just fine when checking permissions.
Please consider printing at least a warning or something so other people don't waste 3h searching for something that's not even a bug. Or consider adding "This requires playstore location service to work properly" to the docs.
The text was updated successfully, but these errors were encountered: