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

Cannot access the priority constants? #25

Open
t2wu opened this issue Dec 4, 2017 · 3 comments
Open

Cannot access the priority constants? #25

t2wu opened this issue Dec 4, 2017 · 3 comments

Comments

@t2wu
Copy link

t2wu commented Dec 4, 2017

Trying to access cordova.plugins.locationServices.geolocation.priorities.PRIORITY_HIGH_ACCURACY gets Uncaught TypeError: Cannot read property 'PRIORITY_HIGH_ACCURACY' of undefined

@t2wu t2wu changed the title Cannot access the constants? Cannot access the priority constants? Dec 4, 2017
@pietervw
Copy link

pietervw commented Oct 1, 2018

Hi @t2wu, I have the same issue.

Did you manage to resolve the problem?

@beard7
Copy link

beard7 commented Apr 10, 2019

Same problem here. Any solution yet?

@beard7
Copy link

beard7 commented Jul 19, 2019

You can find them here: https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest

Use the constant values, e.g:
{ priority: 100 // equals PRIORITY_HIGH_ACCURACY }

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

3 participants