cordova-plugin-gpslocation
cordova-plugin-gpslocation copied to clipboard
Getting an error GPSLocation is not defined.
hi ! I have followed the instruction but I get this error "GPSLocation is not defined". Should I do something before start using getCurrent function?
I have the same problem, now. Do you solve it? Thanks
@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.