Image picker causes app crash


App crashes after opening the image library and after the camera also.

I tried to use imagepicker like this:

let result = await ImagePicker.launchCameraAsync({
  allowsEditing: true,
  aspect: [4, 3],
  quality: 0.4,
  base64: false,
  exif: false,

if (!result.cancelled) {
  this.props.navigation.navigate("UploadImage", { image: result })

it works perfectly in android. But in IOS it opens the image library and close the library and crash. whats wrong with this?


Hello! Can you send us the logs for the crash?