public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // Override point for customization after application launch. // If not required for your application you can safely delete this method CrashReporting.Configure(); App.Configure(); return(true); }
public static void RegisterUnhandledExceptions(this UIApplicationDelegate app, Action <Exception> action) { CrashReporting.HookCrashReporterWithMono(() => { AppDomain.CurrentDomain.UnhandledException += (s, e) => { var ex = e.ExceptionObject as Exception; action.Invoke(ex); }; }); }
void BtnCrash_TouchUpInside(object sender, EventArgs e) { if (SwtLog.On) { CrashReporting.Log(TxtLog.Text); } // Create a Crash // Please, go to https://components.xamarin.com/gettingstarted/firebaseioscrashreporting // and follow instructions. var crash = new NSObject(); crash.PerformSelector(new Selector("doesNotRecognizeSelector"), crash, 0); }
void InitCrashReporting() { CrashReporting.Init("dac0461d-78c6-453e-893f-3495b4994a9d"); }
/// <summary> /// Unity callback. Called on object instantiation. /// </summary> void Awake() { CrashReporting.Init(_unityProjectID); }
void Awake() { CrashReporting.Init("UPID goes here"); }
private void Awake() { CrashReporting.Init("8d9b4183-a378-4c53-b66a-b5ac3d9a531a", MyApplicationPlugin.get_version(), string.Empty); }
protected virtual void InitCrashReporting() { #if API_CRASH_UNITY CrashReporting.Init(Application.cloudProjectId); #endif }