Closed keyurgarsondiya closed 7 months ago
Any solution yet
I had the same issue when I was trying to upgrade my RN version and add this package. My solution was to follow their documentation and made a minor change in my code:
ImageEditor.cropImage(uri, cropData).then(url => { console.log("Cropped image uri", url); })
as @ARXII-13 mentioned you @keyurgarsondiya need to wait a promise result
Bug
Environment info:
Android
My Code:
Library version: Latest Version (npm install @react-native-community/image-editor --save)
However in the image editor call to crop image the inner console log is not printing only so actually not going inside only. I have checked the image uri is being received correctly. Please help me to solve this.