photos constant

Permission const photos

Permission for accessing the device's photos.

Photos can be read and added. If you only want to read them, you can use the photos permission instead (iOS only).

Depending on the platform and version, the requirements are slightly different:

Android:

  • When running on Android 13 (API 33) and above: Read image files from external storage
  • When running below Android 13 (API 33): Nothing

iOS:

  • When running Photos (iOS 14+ read & write access level)

Implementation

static const photos = Permission._(9);