shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Images not displaying even after giving permission #90

Closed veerareddyvishal144 closed 3 years ago

veerareddyvishal144 commented 3 years ago

When I open the picker the images are not displaying. However the count of images and directory structure is visible.

veerareddyvishal144 commented 3 years ago

on Android 10

PatelDhrupal commented 3 years ago

Any solution?

PatelDhrupal commented 3 years ago

u need to implement https://developer.android.com/training/data-storage#scoped-storage

PatelDhrupal commented 3 years ago

https://stackoverflow.com/questions/60010006/bitmapfactory-unable-to-decode-stream-java-io-filenotfoundexceptionopen-faile

pramodkumar005 commented 3 years ago

I had similar problem and this is because on Android 10, they introduced the concept of "Scoped Storage" Quick fix : Add -- android:requestLegacyExternalStorage="true" --- in AndroidManifest.xml in application block

liukefu2050 commented 3 years ago

It was resolved in version 1.0.3