-1

I have integrated 'Carshlytics' in a 'Xamarin-Android' project, I followed all steps given here but its not giving crash reports. I have configured same account with native Android and I got this working but it's not working with 'Xamarin-Android'.

Please suggest me the right path for this.

Thank You.

Ashish Tiwari
  • 2,168
  • 4
  • 30
  • 54

1 Answers1

1

You could read the document about Xamarin.Android architecture :

Xamarin.Android applications run within the Mono execution environment. This execution environment runs side-by-side with the Android Runtime (ART) virtual machine.

If the exception happened in ART, the Carshlytics should be work, but if it happened in mono, the Carshlytics will not work.

You could try to add these handlers for exceptions :

AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException;
TaskScheduler.UnobservedTaskException += TaskSchedulerOnUnobservedTaskException;
AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironmentOnUnhandledException;
York Shen
  • 9,014
  • 1
  • 16
  • 40