react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
App hangs when cancelling use of the cropper
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
- Open camera
- Take a picture
- Press "Use picture"
- Press "Cancel" on the cropper
Code setup:
await ImagePicker.openCamera({
mediaType: 'photo',
includeBase64: true,
width: 1800,
height: 2400,
cropping: true,
forceJpg: true,
freeStyleCropEnabled: true,
})
Oh, it looks like this Pull Request is a fix:
https://github.com/ivpusic/react-native-image-crop-picker/pull/1884
Are there any plans to merge/release that soon?