Skip to content

Permission Issue When Using Limited Gallery Access on Android 14 #959

@sumit-007

Description

@sumit-007

Why it is needed?

When requesting gallery access (READ_MEDIA_IMAGES) on Android 14+, if the user selects "Limited Access" and chooses specific images, the request function still returns the permission status as denied instead of indicating that limited access was granted.

Possible implementation

This feature would add support for returning a limited permission status (e.g. RESULTS.LIMITED) when the user grants partial access to selected photos.

Code sample

import { PERMISSIONS, request, RESULTS } from 'react-native-permissions';

async function requestGalleryPermission() {
  const result = await request(
    Platform.select({
      ios: PERMISSIONS.IOS.PHOTO_LIBRARY,
      android: PERMISSIONS.ANDROID.READ_MEDIA_IMAGES,
    })
  );

  console.log('Permission result:', result);
}


Permission result: denied

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions