-
Notifications
You must be signed in to change notification settings - Fork 18
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
Geolocation tracking does not work on iOS11 and Android 6 #462
Comments
@PatrickNass Could the problem be missing permissions? |
@mpost Hi, on Android all location permissions are granted: You were right with the permissions on iOS. |
When you have the permissions declared in the manifest you will also need to deal with the runtime permissions. Could you switch the permission on in the installed apps settings and check if that would work? |
Hi, I don't know how to ask for runtime permissions on Tabris Java. I did not know that they are needed when targeting < API 23. |
You can see here when the user would need to grant the permission at runtime: https://developer.android.com/training/permissions/requesting.html
|
I have read this article before and I thought that
means I dont need to ask for runtime permissions when the app's target SDK is below 23, like in this case. After reinstalling the app by generated apk, no geolocations are sent. After opening the settings still no geolocations are sent. I don't know why it worked before. So does this mean that I have to derive the TabrisActivity class and implement following code
} method mentioned in the article? Is there a way to initate the asking for the permission server side? Thanks for your help and the fast replys! |
Hello Tabris team,
after successfully testing the gelocation service with iOS 10.3.3 (even tough the update rate was very fluctuating), I tested it with Android 6.0.1 and iOS 11.0.3 and stated that it is not working.
The GeolocationListener is not called at all.
Used Tabris version: 2.0.0
The text was updated successfully, but these errors were encountered: