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

Getting an error GPSLocation is not defined. #2

Open
katakeynii opened this issue Jun 22, 2015 · 2 comments
Open

Getting an error GPSLocation is not defined. #2

katakeynii opened this issue Jun 22, 2015 · 2 comments

Comments

@katakeynii
Copy link

hi !
I have followed the instruction but I get this error "GPSLocation is not defined". Should I do something before start using getCurrent function?

@jingang13
Copy link

I have the same problem, now. Do you solve it? Thanks

@kinorsi
Copy link

kinorsi commented Dec 23, 2015

@Katakeyni @jingang13
Well, I got the same problem. Then I found that, my ng Controller fires before ionicPlatform.ready. This plugin needs device ready. So you can test it by using the GPSLocation object in the ready function. Hope it works.

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