The current architecture is limiting and requires a number of changes to support the way android does batches of permissions now. There is a couple of things to discuss here as the issue is bigger as it includes issues with LocationAlways as well. I've got this fixed up in Shiny, so I can bring it here. Reproduction Sorry about that, I forgot all about this. Affected Devices: All devices running Android 12.Nuget Packages: Xamarin.Essentials, Xamarin.Forms.Platform Target Frameworks: API Level 30.Returns PermissionStatus.Denied Basic Information Returns PermissionStatus.Granted Actual Behavior Select "While using the app" or "Only this time".Tap the "Request Location Permission" button.Run the Android application on an Android 12 device or emulator. It should return PermissionStatus.Granted Steps to Reproduce On an Android 12 device or emulator, the Permissions.RequestAsync() call returns PermissionStatus.Denied when user selects "Approximate" location.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |