How to get image url from rct-image store? I cropped the image using ImageEditingManager and it returned me rct-image-store: // 0. Now I need to upload this image to the server. How to get the image url so that it can be downloaded?
Here is the code I used
ImageEditingManager.cropImage( photoURI, transformData, (croppedImageURI) => { console.log('crop success', croppedImageURI); }, (cropError) => console.log('cropMyError', cropError) ); }, (error) => undefined, );
croppedImageURI is registered as
RCT-image-store: // 0
How to get the url of this image so that I can upload it to api server?
react-native
Aakash sigdel
source share