zoontek / zoontek/react-native-permissions

Permission Issue When Using Limited Gallery Access on Android 14

Open
#959 3 comments 0 reactions 1 assignee View on GitHub

@zoontek is already working on this.

Since Jul 1, 2025.

feature request
Dominant language
Objective-C++
Stars
4.4k
Forks
844
Avg merge
11d 18h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.