@iwan_uschka wrote:
In my ionic app i wanna use geolocation with the plugin https://github.com/apache/cordova-plugin-geolocation.
If i start the app (HTC One M7 with Android 4.4.4) with Location enabled, everything works fine (
getCurrentPosition
andwatchPosition
).If Location is disabled and you try to ask for geolocation with
watchPosition
orgetCurrentPosition
, you get an error as expected.
But after that, when you enable Location on the device, you get the same error again if you try to check geolocation.You can check this example [https://github.com/xelita/angular-cordova-plugins-sample].
Don't know, if it's the same on iOS.
Thanks for help!
Posts: 1
Participants: 1