I was trying to get my current location in the simulator. When I called the function it asked me i would allow the app to use my current geolocation i accidentally hit don’t allow… so now every time i hit the button to call the getcurrentlocation function it just errors --> “Error: Can’t find variable: error”. Not sure if it’s because i didn’t allow or the cordova geolocation just doesn’t work on the simulator
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Emulator to find current user location?
|
6 | 2349 | July 24, 2015 | |
Cordova GeoLocation not working on IOS simulator 8 (Version 8.1 (550.3)) | 3 | 3389 | June 9, 2015 | |
cordovaGeolocation, what is the problem? | 5 | 1176 | July 14, 2017 | |
[MAYBE RESOLVED] "/private/var/mobile/Containers/Bundle/Application/" Would Like To Use Your Current Location | 22 | 21198 | July 30, 2018 | |
Ionic geoLocation cannot find variable $http | 1 | 968 | April 5, 2017 |