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 use Permission.photos, Permission.video, Permission.audio or Permission.manageExternalStorage. For more information see our FAQ.
  • Below Android 13 (API 33), the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions are requested (depending on the definitions in the AndroidManifest.xml) file.

iOS:

  • Access to folders like Documents or Downloads. Implicitly granted.

Implementation

static const storage = Permission._(15);