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

Use new storage permissions on Android >13 #2834

Merged

Conversation

tomasMizera
Copy link
Collaborator

@tomasMizera tomasMizera commented Oct 5, 2023

Android introduced a new set of storage permission types.
From API level 33 (Android version 13.0), we can not request READ_EXTERNAL_STORAGE to get photos from the gallery, but READ_MEDIA_IMAGES instead.

Fixes the issue that user can not pick image from gallery on android >13 (CU-862keem0n)

See https://developer.android.com/reference/android/Manifest.permission#READ_EXTERNAL_STORAGE

@tomasMizera tomasMizera merged commit 869e92e into master Oct 5, 2023
10 checks passed
@tomasMizera tomasMizera deleted the Cant-use-gallery-for-picking-photos_CU-862keem0n branch October 5, 2023 13:39
@jozef-budac
Copy link

Verified on Android 13, that gallery can be used again.

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

Successfully merging this pull request may close these issues.

None yet

4 participants