Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow limit access Gallery #132

Open
konrad-thoc opened this issue Oct 8, 2024 · 3 comments
Open

Allow limit access Gallery #132

konrad-thoc opened this issue Oct 8, 2024 · 3 comments

Comments

@konrad-thoc
Copy link

konrad-thoc commented Oct 8, 2024

When a user selects the option to limit access to galleries and chooses the photos of interest, they encounter a DeniedAlwaysException error, even though the user should get granted access.

image

@hyak4j
Copy link

hyak4j commented Dec 12, 2024

I have a same question. Although the user allow limited access of photos, the granted is still false. The ask permission process do one more time and get DeniedAlwaysException.

val granted = permissionController.isPermissionGranted(Permission.GALLERY)

@Kronos1993
Copy link

Im having the same problem in android flavor in a CMP. In iOS is working fine.

@Kronos1993
Copy link

Kronos1993 commented Jan 25, 2025

I found my error today. it was my manifest permission. Try add this to use gallery:

<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/> <uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/> <uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants