I have a "hard to read" crashlytics log in a real Xamarin iOS application. This problem affects almost 80% of users, and I'm struggling to decrypt it.
Please view gist log
I uploaded the dSYM file to the Crashlytics dashboard, but the log remains the same. Is this log type normal for a Xamarin application?
I don’t even know which application source file is crashing.
I have the following code in AppDelegate.cs:
override public bool FinishedLaunching (UIApplication application, NSDictionary launchOptions){
Setup.EnableCrashReporting (() => {
var crashlytics = Crashlytics.SharedInstance;
crashlytics.DebugMode = true;
Crashlytics.StartWithAPIKey ("my_key");
Fabric.With (new NSObject[]{ crashlytics });
AppDomain.CurrentDomain.UnhandledException += AppDomain_CurrentDomain_UnhandledException;
TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException;
}, Path.GetFileNameWithoutExtension (typeof(AppDelegate).Module.Name));
}
and the following methods:
void TaskScheduler_UnobservedTaskException (object sender, UnobservedTaskExceptionEventArgs e)
{
var ex = e.Exception;
Setup.CaptureManagedInfo(ex);
Setup.CaptureStackFrames(ex);
Setup.ThrowExceptionAsNative(ex);
}
void AppDomain_CurrentDomain_UnhandledException (object sender, UnhandledExceptionEventArgs e)
{
Setup.CaptureManagedInfo(e.ExceptionObject);
Setup.CaptureStackFrames(e.ExceptionObject);
Setup.ThrowExceptionAsNative(e.ExceptionObject);
}
Did I miss something in the Fabric configuration here?
source
share