readMediaImages constant

AndroidPermissionDef const readMediaImages

android.permission.READ_MEDIA_IMAGES

Required to read image files from external storage. Runtime permission: true Since SDK: 33 Group: photos Legacy mapping: READ_EXTERNAL_STORAGE / WRITE_EXTERNAL_STORAGE on pre-Android 13

Implementation

static const readMediaImages = AndroidPermissionDef(
  'android.permission.READ_MEDIA_IMAGES',
  sinceSDK: 33,
  runtime: true,
  group: 'photos',
  keywords: {'images', 'media', 'storage', 'gallery'},
  legacyKeys: {
    'android.permission.READ_EXTERNAL_STORAGE': 32,
    'android.permission.WRITE_EXTERNAL_STORAGE': 29,
  },
  docNotes: {
    'Required to read image files from external storage',
    'On Pre-Android 13 devices, this permission is mapped to READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE',
  },
);