Xamarin.iOS unhandled crash

103 views Asked by At

I have a weird situation. Application crashes after 5-7 minutes usage without any logs. Application crashes only on a real device. I have integrated HockeyApp but there no crash report after that crashes and no logs in debug console.

Clean and rebuild doesn't work.

Looks like memory leak, but I can't manage it.

How can I catch those crashes?

1

There are 1 answers

1
Ausländer On

Try this implement method write log to file and read

AndroidEnvironment.UnhandledExceptionRaiser +=  HandleAndroidException;

For IOS

AppDomain.CurrentDomain.UnhandledException += (sender, args) => {
        //todo
    };