Sorry to bother you, but how to show a photo correctly after choosing it?
I guess it is \
Error: Unknown named module: '/Users//Library/Developer/CoreSimulator/Devices/CC1CF2B6-289F-44D6-9186-86B96F299049/data/Containers/Data/Application/66E21296-E77B-4D76-89B5-631FDF4614F1/tmp/react-native-image-crop-picker/8F5F5C62-E1AB-4C8B-86F8-2E11F0E39B14.jpg'*
...
ImagePicker.openPicker({
width: 300,
height: 400,
cropping: true
})
.then(image => {
this.setState({ image: image });
})
...
render(){
return(
<Image source={require(this.state.image.path)} />;
)
}
Did I figure it wrong?
dont require it, provide object with {uri} to source instead
Most helpful comment
dont require it, provide object with {uri} to source instead