react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

READ_MEDIA_IMAGES constraint

Open levepic opened this issue 10 months ago • 4 comments

Google Play requires most of the apps to remove READ_MEDIA_IMAGES permission. How can we handle this? Can the image picker and cropper be separated to handle the issue? Use the android picker to pick the image and send it to the cropper? Link: https://support.google.com/googleplay/android-developer/answer/14115180?hl=en&sjid=7992067041913061591-EU

levepic avatar Apr 09 '24 12:04 levepic

I was wondering the same thing. But I did a couple of tests without the READ_MEDIA_IMAGES permission and it seems to be working fine. Is this actually required?

williamgurzoni avatar Aug 13 '24 02:08 williamgurzoni

Finally I have added https://react-native-documents.github.io/docs/public/document-picker and then pass the uri to crop-picker. Still to be tested.

levepic avatar Aug 13 '24 08:08 levepic

You got a solution? Google is now demanding an explanation as to why this permission is in the app.

android.permission.READ_MEDIA_IMAGES

You can only use these permissions if your app is a gallery app, or if its core functionality is editing, managing, and maintaining photos. Otherwise, you must migrate to the Android photo picker, or a photo picker of your choice.

astrahov avatar Sep 18 '24 04:09 astrahov

I've created a pull request for this: https://github.com/ivpusic/react-native-image-crop-picker/pull/2093

Pauligrinder avatar Sep 26 '24 10:09 Pauligrinder