On Android 6 Get Location return TimeOut Exception
andreadompe opened this issue · 3 comments
Dear dpa99c,
first of all thanks for your repository!
I've a problem about Android 6 Permission and geolocation,
when i try your example every request works perfectly, geolocation too (Request Location Authorization),
but when ii try to use the button Get Current Location i get timeout exception.
Please could you help me!
Best regards
Andrea
The "Get Current Location" button just makes a call to the navigator.geolocation.getCurrentPosition()
method of cordova-plugin-geolocation.
What is your:
- device model
- Android version on device
- cordova-android platform version
Device Model : Huawei P8 Lite
Android Version: 6.0
cordova-android: 5.0
If i restart the device it work correcly for a while, then it returning to say TimeOut Exception,
so i have to restart the device again.
I'm sure it's not a problem of your plugin, but i hope you could help me anyway.
Thanks a lot!