-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use location services on Android devices #11
Comments
I am experiencing the same situation. |
Hey application uses cordova-plugin-geolocation for getting current position. Looks like somehow it cannot get position and I just found out that default timeout is inifite! which is insane. I set timeout explicity to 10sec. |
OK I think I got it. The code seems to be OK, but there is total mess in plugins and permissions.
Voilà your starter would start ;) |
HI @adyba , It used to just hang on modal.Now modal goes but map never comes. |
Just a remote guess ... I have also had a problem to load P.S. The geofence plugin was present. To be honest I don't remember whether I reainstalled it or not. The current versions of plugins use to have a 'slash notation' like |
We don't need any |
You maid be right but the |
Closing due to inactivity. |
Testing on both a Samsung Galaxy S6 running Lollipop 5.0.2 and an Android emulator running KitKat 4.4.2.
When clicking on the + icon to add a new geofence, the screen gets stuck on the "Obtaining current location..." popup modal and nothing happens. Upon further inspection of the logs, it appears there is a permissions issue with using the Android device's location service, as indicated by this log entry:
07-08 19:20:15.731 1282-1282/com.tsubik.ionicgeofence E/LocationProvider﹕ Caught security exception registering for location updates from system. This should only happen in DumpRenderTree.
The text was updated successfully, but these errors were encountered: