storage constant
Permission
const storage
Permission for accessing external storage.
Depending on the platform and version, the requirements are slightly different:
Android:
- On Android 13 (API 33) and above, this permission is deprecated and
always returns
PermissionStatus.denied
. Instead usePermission.photos
,Permission.video
,Permission.audio
orPermission.manageExternalStorage
. For more information see our FAQ. - Below Android 13 (API 33), the
READ_EXTERNAL_STORAGE
andWRITE_EXTERNAL_STORAGE
permissions are requested (depending on the definitions in the AndroidManifest.xml) file.
iOS:
- Access to folders like
Documents
orDownloads
. Implicitly granted.
Implementation
static const storage = Permission._(15);