iOS
Calling ImagePikcer.openCropper displays the image specified in the path property to allow the user to specify the area to be cropped to.
Image flashes on the screen and then disappears.
Call ImagePicker.openPicker({ mediaType: 'phot', writeTempfile: true, includeExif: true })
Within step #1's then statement, call ImagePicker.openCropper({ path: (image as PickerImage).path, width: 400, height: 400, writeTempFile: true, includeExif: true })
No errors are presented, the image just pops up and then disappears
Same here, with openCamera and openPicker, in iOS only.
The call is made in a plain page with nothing tricky or fancy.
@leelandclay Did you find any solution or cause to this ?
@dragma for me, the issue was that I was closing the modal too soon. I was calling open Picker and in the then block I closed the modal and called open Cropper. Moving the close modal command down to the then block of the open Cropper allowed it to stay open.
@leelandclay genius ! That was it for me too. Thanks a lot !
Most helpful comment
@dragma for me, the issue was that I was closing the modal too soon. I was calling open Picker and in the then block I closed the modal and called open Cropper. Moving the close modal command down to the then block of the open Cropper allowed it to stay open.