How to use this lib with react-native-image-crop-picker or react-native-image-picker?
I want to use this library as editor of a photo taken by react-native-image-crop-picker or react-native-image-picker.
But when I put the result (uri) to path of this lib. It got blank and in onDone, the value still the same as before.
I have same question did you fix this issue yet or not @abdoerrahiem
react-native-image-picker로 가져온 uri를 아래처럼 바꾼후에 해보세요
uri?.replace('file:///', '');
You should use the value of path (after received image from ImagePicker) as below:
const imagePath = image.path || image.uri;
const path = imagePath.replace("file://", "");
can you tell how to use with image-crop-picker that is used above code also
not working for me too.
It worked for me.
const imagePath = image.path; const path1 = imagePath.replace("file://", " ");
And give path: path1 It will work
The image quality is very low compared to the original image. Any idea
@prscX I have done the same but for ios, it shows and then hides right after that. Any idea will be appreciated.