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

READ_MEDIA_VIDEO and READ_MEDIA_IMAGES permissions #103

Open
shtolik opened this issue Oct 10, 2024 · 0 comments
Open

READ_MEDIA_VIDEO and READ_MEDIA_IMAGES permissions #103

shtolik opened this issue Oct 10, 2024 · 0 comments

Comments

@shtolik
Copy link
Contributor

shtolik commented Oct 10, 2024

When uploading app to Play Store it now pushes for removal of READ_MEDIA_IMAGES (and READ_MEDIA_VIDEO) permissions to use default system image picker. Developer needs to declare the need for the permission and peekaboo includes READ_MEDIA_IMAGES by default in the library package.

Could the library switch to give an option to use default image picker for the rememberImagePickerLauncher on android?

I am using rememberImagePickerLauncher in my app, but i may be forced to use some other approach for gallery.

Permission can be removed by using smth like this but then predictably peekaboo image picker shows no images in the list and actually then it still allowing to pick image with rememberImagePickerLauncher. Is that permission only really needed for PeekabooGalleryView in a sample app? Then it's better to remove it from peekaboo UI manifest and add it to sample/android/manifest together with READ_MEDIA_VISUAL_USER_SELECTED

   <uses-permission
          android:name="android.permission.READ_MEDIA_IMAGES"
          tools:node="remove" />
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

1 participant