-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Always return Granted for Read-Write Storage permissions on Android #23909
Conversation
I know this has new APIs but it seems that this is important/blocking enough to bring this back to .NET 8 servicing? |
Will there be an expectation to support mapping to the new more granular Android permission?
Quote from this article: |
Yeah as mentioned in the opening post, I think people should be able to manage on their own by implementing these permissions if they need them right now while we get to it. There is this issue to track the implementation of the new media permissions: #12857. This just focusses on unblocking the missing |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Description of Change
The
android.permission.READ_EXTERNAL_STORAGE
andandroid.permission.WRITE_EXTERNAL_STORAGE
permissions are no longer available on Android 13 (API 33) and up. This PR changes the current .NET MAUI implementation to not change anything for < API 33, and always returns granted for API 33+.If you want to access specific media files, you now need to request specific permissions for that. This PR don't implement those yet. For the time being you can implement those manually if you need them, following this documentation here: https://learn.microsoft.com/dotnet/maui/platform-integration/appmodel/permissions?tabs=android#extending-permissions.
Issues Fixed
Fixes #14729