Example #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            // Code for starting up the Xamarin Test Cloud Agent
                        #if ENABLE_TEST_CLOUD
            Xamarin.Calabash.Start();
                        #endif

            Insights.Initialize("4cdef01b1dc979920d5d485896d5fe50e9c752a6");
            Insights.Track("iOS/Start");

            Ubertesters.Shared.InitializeWithOptions(UbertestersOptions.ActivationModeWidget | UbertestersOptions.LockingModeDisableUbertesters);
            AppDomain.CurrentDomain.UnhandledException += (object sender, UnhandledExceptionEventArgs e) => {
                CrashHandler.PostCrash(e);
            };

            App.Version          = GetBuildNumber();
            App.ClipboardService = new ClipboardService();

            LoadApplication(new App());

            UIApplication.SharedApplication.IdleTimerDisabled = true;

            return(base.FinishedLaunching(app, options));
        }
Example #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Ubertesters.Shared.Initialize();
            AppDomain.CurrentDomain.UnhandledException += (object sender, UnhandledExceptionEventArgs e) => {
                CrashHandler.PostCrash(e);
            };

            return(true);
        }