We rely on Input.location.Start to trigger the permission popup for Permission.FineLocation, but Android 12 now requires to ask for Permission.CoarseLocation and both at the same time, I can’t find a way to solve this and still rely on Input.location.Start to trigger the popup.
You can manually request the permission using Permission.RequestUserPermission API (read more https://docs.unity3d.com/Manual/android-RequestingPermissions.html ). However this Android 12 requirement for location permissions is something we have to fix for Input.location.Start as well. Could you submit a bug report so it gets tracked?
Done.
any news on that?? We have major issues in our location-based app
We have this bug report Unity Issue Tracker - [Android] Input.location.Start doesn't update on android 12 and it is actively being worked on.
1 Like