ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.13k stars 1.56k forks source link

ImagePicker.openPicker not working on Samsung Galaxy #1927

Open johndoetester79 opened 1 year ago

johndoetester79 commented 1 year ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

Should open storage for choosing files from internal / external storage

Actual behaviour

Not opening the storage

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

ejain commented 1 year ago

Is this on Android 13, and does the error state that the "android.permission.READ_MEDIA_IMAGES" permission is missing?

hoangtam101 commented 1 year ago

I think you miss the line code in AndroidManifest <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />

I check it still works on Android 13. Thanks and regards,

steve-smith93 commented 1 year ago

Yes i have missed above line of code in AndroidManifest. After adding the same the feature is working fine now.

Siliconvelly commented 1 year ago

thanks buddy well. it is working for android 13 and api >= 33 devices now.

ayoubshah2720 commented 1 year ago

Add these permissions and it will work image