Closed AlanFloyd closed 2 years ago
Hi AlanFloyd,
If you are using MediaPicker, i think the workaround is to put some delay between picking a picture and the ImageCropper like this
var file = await MediaPicker.PickPhotoAsync(); await Task.Delay(2000); await ImageCropper.Current.Crop(new CropSettings() etc .....
I think the issue who is calling the OnActivityResult firstly with resultCode
I have seen that after a couple of times, the controls stops working on Android. Using the debugger, the last statement executed is the "await ImageCropper.Current.Crop(new CropSettings()", but there is no reply to IsFaulted, IsCanceled or IsCompleted. Here the code:
Any idea what could be wrong in my code?
Dietmar