GMImagePicker.Xamarin icon indicating copy to clipboard operation
GMImagePicker.Xamarin copied to clipboard

Crash when take a picture from Camera.

Open yyuzyk opened this issue 4 years ago • 1 comments

When take a picture from Camera - crash: Xamarin.iOS: Received unhandled ObjectiveC exception: NSInternalInconsistencyException threading violation: expected the main thread

I've tried put code inside InvokeOnMainThread and DispatchQueue.MainQueue.DispatchAsync - didn't help.

yyuzyk avatar Feb 19 '20 14:02 yyuzyk

Hi @yyuzyk - I'm catching up on my backlog, sorry for my late response...

Have you been able to resolve this? I tested this with the reference application that is included in this project and I'm not getting this exception when taking a picture. So I'm guessing it's something in the setup of your app. I think we need more context to assess what was happening. Is it a Forms app or plain Xamarin.iOS?

roycornelissen avatar Sep 23 '20 05:09 roycornelissen