manageExternalStorage constant
Permission for accessing the device's external storage.
Android 11+ (API 30+)
Allows an application a broad access to external storage in scoped storage.
You should request the Manage External Storage permission only when your app cannot effectively make use of the more privacy-friendly APIs. For more information: https://developer.android.com/training/data-storage/manage-all-files
When the privacy-friendly APIs (i.e. Storage Access Framework
or the MediaStore APIs)
is all your app needs, the PermissionGroup.storage
are the only
permissions you need to request.
If the usage of the Manage External Storage permission is needed, you have to fill out the Permission Declaration Form upon submitting your app to the Google Play Store. More details can be found here: https://support.google.com/googleplay/android-developer/answer/9214102#zippy=
Implementation
static const manageExternalStorage = Permission._(22);