Open ManalLiaquat opened 4 years ago
I've the same problem
react-native ^ 6.9.0 react-native-image-crop-picker^0.26.1 Getting Error: { "framesToPop": 1, "nativeStackAndroid": [], "userInfo": null, "code": "E_NO_IMAGE_DATA_FOUND" } ImagePicker.opencropper function is not giving the .then(image =>{}) result How do I solve this error?
for me ImagePicker.openCamera method is not giving the result on then
I had the same problem and found that when setting state before using ImagePicker.openCropper
, It's not showing up on rerender
Check if there is any setState before using it
I have the same problem, the "openCropper" method always returns a lower height than the one I set.
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
I am using both platforms.
Expected behaviour
It should crop the image in dimension what I pass.
Actual behaviour
I want to crop the image (of any dimension) into dimension 320100 but it is returning the resultant image with different dimensions like: 319100 when I zoom the image in cropper or tilt the image in cropper.
Steps to reproduce
Attachments
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate