Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting image through imagepicker and passing it to the Path of photoEditor but shows black Screen #228

Open
saadahmad551 opened this issue Aug 2, 2023 · 2 comments

Comments

@saadahmad551
Copy link

Help would be appreciated

@alihussainkabri
Copy link

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]
})

@ItxAltaf
Copy link

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);

    }
  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants