react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
[Error: Cannot find image data]
Version
Tell us which versions you are using:
- react-native-image-crop-picker v0.35.1
- react-native v0.62.2
Platform
- Android
Steps to reproduce
-
Open picker with image .jpg
-
Change size
-
catch => console.log() // [Error: Cannot find image data]
try adding android:requestLegacyExternalStorage="true"
to your android manifest in the application section
https://github.com/ivpusic/react-native-image-crop-picker/issues/1304#issuecomment-639246786
facing same issue on ios
facing same issue on ios
solved, forgot to add keys in info.plist
Hello @Shahrukh0396 , Today I faced the same issue on ios, how did you solve it? Thank you
which key you added in info.list
A simple solution to fix 'cannot find image data' when using cropping, Go here for more information
This issue also happens on react-native-image-crop-picker v0.40.0 react-native v0.72.4