Android asks me for the permission, with and without the diagnostic plugin. When I grant permission I see this:
5 972446 log Location is disabled
6 972468 log Authorization status is now: GRANTED
But the problem is, that geolocation runs into timeout. I set the value to 60000, so 60 seconds but still getting a geolocation timeout. Do you have an idea if I miss something here?
Nope, unfortunately not. I think there are some devices out there, where the Cordova geolocation plugin not works. It would be great if this get fixed some day.
No, sorry. I tried anything I found in the Internet but there was no solution for me. I used the Ionic creator. Maybe you could try the new Ionic Native APIs for Ionic 2.0 https://ionicframework.com/docs/v2/native/
Indeed, yes! In my opinion there is no solution because it’s a Cordova issue. I’m playing around with appcelerator currently. It uses Titanium, that is a different technology. I do like Ionic really much, but in this state it won’t work for me
hi everyone the solution is very simple upgrade the plugin to version 2 and everything will work on
cordova plugin rm cordova-plugin-geolocation
cordova plugin add cordova-plugin-geolocation
Thats all you need to do.
I have this issue and have reinstalled the plugin tried everything But I still get the error “application does not have sufficient geolocation permissions.” Is there anyone sample code for ionic 3 I can check use?