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

[Error: Cannot find image data]

Open ilya-raevskiy opened this issue 4 years ago • 7 comments

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

  1. Open picker with image .jpg

  2. Change size

  3. catch => console.log() // [Error: Cannot find image data]

ilya-raevskiy avatar Oct 27 '20 17:10 ilya-raevskiy

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

chhavi-khandelwal avatar Nov 10 '20 11:11 chhavi-khandelwal

facing same issue on ios

Shahrukh0396 avatar Mar 10 '21 12:03 Shahrukh0396

facing same issue on ios

solved, forgot to add keys in info.plist

Shahrukh0396 avatar Mar 10 '21 12:03 Shahrukh0396

Hello @Shahrukh0396 , Today I faced the same issue on ios, how did you solve it? Thank you

hanaechahid avatar Jun 18 '21 10:06 hanaechahid

which key you added in info.list

usharmaMobileDevTeam avatar Jul 14 '22 13:07 usharmaMobileDevTeam

A simple solution to fix 'cannot find image data' when using cropping, Go here for more information

wustzhy avatar Jan 16 '23 03:01 wustzhy

This issue also happens on react-native-image-crop-picker v0.40.0 react-native v0.72.4

anhduy5689h avatar Sep 14 '23 03:09 anhduy5689h