Пример #1
0
        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);
        }
Пример #2
0
 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);
        }
Пример #4
0
 void InitCrashReporting()
 {
     CrashReporting.Init("dac0461d-78c6-453e-893f-3495b4994a9d");
 }
Пример #5
0
 /// <summary>
 /// Unity callback. Called on object instantiation.
 /// </summary>
 void Awake()
 {
     CrashReporting.Init(_unityProjectID);
 }
Пример #6
0
 void Awake()
 {
     CrashReporting.Init("UPID goes here");
 }
Пример #7
0
 private void Awake()
 {
     CrashReporting.Init("8d9b4183-a378-4c53-b66a-b5ac3d9a531a", MyApplicationPlugin.get_version(), string.Empty);
 }
Пример #8
0
 protected virtual void InitCrashReporting()
 {
                 #if API_CRASH_UNITY
     CrashReporting.Init(Application.cloudProjectId);
                 #endif
 }