We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
For media management / gallery apps, the user should not see system pop up to confirm deletion of the media.
Describe the solution you'd like
Ability fetch the status and open Media management app settings so that user can toggle the permission for managing media.
Additional context
This permission is only available on Android 12 and above
Application will need to declare this permission in the Manifest.
<uses-permission android:name="android.permission.MANAGE_MEDIA">
To request the permission we need to invoke this intent with current package's name
https://developer.android.com/reference/android/provider/Settings#ACTION_REQUEST_MANAGE_MEDIA
We can fetch the permission status using this API
MediaStore.canManageMedia(ctx)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
For media management / gallery apps, the user should not see system pop up to confirm deletion of the media.
Describe the solution you'd like
Ability fetch the status and open Media management app settings so that user can toggle the permission for managing media.
Additional context
This permission is only available on Android 12 and above
Application will need to declare this permission in the Manifest.
To request the permission we need to invoke this intent with current package's name
We can fetch the permission status using this API
The text was updated successfully, but these errors were encountered: