I am trying to enable automatic (no user prompt) submission of hockey app crash reports on Xamarin.Forms (Android and iOS):
I have this for Android in MainActivity.cs:
var customCrashListener = new CustomCrashListener();
CrashManager.Register(this, "appId", customCrashListener);
where CustomCrashListener is:
class CustomCrashListener : CrashManagerListener
{
public bool ShouldAutoUploadCrashes()
{
return true;
}
}
This isn't sending any crash reports and HockeyApp with Xamarin documentation is thin. I am also trying to get this work on iOS.