Open saadahmad551 opened 11 months ago
edit story is a page where i have PhotoEDITOR places so you need to just split the url you got from image picker and pass to next page and use there
navigation.navigate('EditStory', { photo: var_image?.uri?.split('://')[1] })
use like this...
ImageCropPicker.openPicker(gStyles.imgPicker).then(image => { PhotoEditor.Edit({ path: image.path?.split('://')[1], hiddenControls:[ 'crop','save','clear'], onDone:(res)=>{ console.log('res', res) setFile(image);
}
});
Help would be appreciated