Skip to content

App hangs when cancelling use of the cropper #2020

@cashtotalszero

Description

@cashtotalszero

Version

  • react-native-image-crop-picker v0.40.2
  • react-native v0.72.9

Platform

  • iOS

Expected behaviour

App should close the camera/cropper when cancelled

Actual behaviour

The app hangs when cancelling at the point of cropping

Steps to reproduce

  1. Open camera
  2. Take a picture
  3. Press "Use picture"
  4. Press "Cancel" on the cropper

Code setup:

await ImagePicker.openCamera({
    mediaType: 'photo',
    includeBase64: true,
    width: 1800,
    height: 2400,
    cropping: true,
    forceJpg: true,
    freeStyleCropEnabled: true,
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions