Esempio n. 1
0
 public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
 {
     AppCenter.LogLevel = LogLevel.Verbose;
     AppCenter.SetLogUrl("https://in-integration.dev.avalanch.es");
     if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
     {
         UNUserNotificationCenter.Current.Delegate = new PushDelegate();
     }
     Push.PushNotificationReceived += (sender, e) =>
     {
         string message = "";
         if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
         {
             message += _didTapNotification ? "Tapped notification\n" : "Received in foreground\n";
         }
         message += e.Message ?? "";
         if (e.CustomData?.Count > 0)
         {
             message += (e.Message?.Length > 0 ? "\n" : "") + "Custom data = {" + string.Join(",", e.CustomData.Select(kv => kv.Key + "=" + kv.Value)) + "}";
         }
         var alertController = UIAlertController.Create(e.Title, message, UIAlertControllerStyle.Alert);
         alertController.AddAction(UIAlertAction.Create("OK", UIAlertActionStyle.Default, null));
         Window.RootViewController.PresentViewController(alertController, true, null);
         _didTapNotification = false;
     };
     Distribute.SetInstallUrl("http://install.appcenter-int.trafficmanager.net");
     Distribute.SetApiUrl("https://appcenter-int.trafficmanager.net/api/v0.1");
     Distribute.DontCheckForUpdatesInDebug();
     AppCenter.Start("e94aaff4-e80d-4fee-9a5f-a84eb6e688fc", typeof(Analytics), typeof(Crashes), typeof(Distribute), typeof(Push));
     return(true);
 }
Esempio n. 2
0
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            global::Xamarin.Forms.Forms.Init();
            global::FFImageLoading.Forms.Touch.CachedImageRenderer.Init();
            global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()
            {
                Logger = new Services.DebugLogger()
            });
#if (IncludeBarcodeService)
            global::ZXing.Net.Mobile.Forms.iOS.Platform.Init();
#endif
#if (UseMobileCenter)
            Distribute.DontCheckForUpdatesInDebug();
#endif

//-:cnd:noEmit
            // Code for starting up the Xamarin Test Cloud Agent
#if DEBUG
            Xamarin.Calabash.Start();
#endif
//+:cnd:noEmit
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Esempio n. 3
0
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            global::Xamarin.Forms.Forms.Init();
            Naxam.Effects.Platform.iOS.ViewStyleEffect.Init();
            global::Rg.Plugins.Popup.Popup.Init();
            global::FFImageLoading.Forms.Touch.CachedImageRenderer.Init();
            global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()
            {
                Logger = new Valuta.Services.DebugLogger()
            });
            Distribute.DontCheckForUpdatesInDebug();
            var plz    = new CircleTransformation();
            var linker = typeof(SvgCachedImage);

            RestClient.Init(new iOSMessageHandlerFactory());

            // Code for starting up the Xamarin Test Cloud Agent
#if DEBUG
            Xamarin.Calabash.Start();
#endif
            try
            {
                LoadApplication(new App(new iOSInitializer()));

                return(base.FinishedLaunching(uiApplication, launchOptions));
            }
            catch (Exception e)
            {
                Debug.WriteLine(e.ToString());
                return(base.FinishedLaunching(uiApplication, launchOptions));
            }
        }
Esempio n. 4
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            AuthenticationProviders = new List <MobileServiceAuthenticationProvider>
            {
                MobileServiceAuthenticationProvider.Facebook,
                //MobileServiceAuthenticationProvider.MicrosoftAccount,
                //MobileServiceAuthenticationProvider.Google,
                //MobileServiceAuthenticationProvider.Twitter
            };

            UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(250, 168, 25);

            // Initialize Xamarin.Forms and its Plugins
            global::Xamarin.Forms.Forms.Init();
            CachedImageRenderer.Init();
            var ignore = typeof(CropTransformation);

            AnimationViewRenderer.Init();
            CarouselViewRenderer.Init();

            // Initialize Azure Mobile App Client for the current platform
            CurrentPlatform.Init();

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


            // Disable Visual Studio App Center updates when in Debug Mode
            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App(this));

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 5
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Forms.Forms.SetFlags("RadioButton_Experimental");

            global::Xamarin.Forms.Forms.Init();
            global::Xamarin.Forms.FormsMaterial.Init();

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()
            {
                Logger = new Covid19Radar.Services.DebugLogger()
            });
            Distribute.DontCheckForUpdatesInDebug();

            Plugin.LocalNotification.NotificationCenter.AskPermission();

            LoadApplication(new App(new iOSInitializer()));

#if ENABLE_TEST_CLOUD
            // requires Xamarin Test Cloud Agent
            Xamarin.Calabash.Start();
#endif

            UIApplication.SharedApplication.SetMinimumBackgroundFetchInterval(UIApplication.BackgroundFetchIntervalMinimum);
            return(base.FinishedLaunching(app, options));
        }
Esempio n. 6
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            SemaphoreSlim s = new SemaphoreSlim(0, 1);

            Crashes.FailedToSendErrorReport += (o, e) => s.Release();
            Crashes.SentErrorReport         += (o, e) => s.Release();
            AppCenter.Start("f1388e2a-caa8-4130-b09a-94ad36ea0e87", typeof(Analytics), typeof(Crashes), typeof(Distribute));
            Distribute.DontCheckForUpdatesInDebug();
            AppDomain.CurrentDomain.UnhandledException += (o, e) => Console.WriteLine("Exception Raised{0}----------------{0}{1}", Environment.NewLine, e.ExceptionObject);
            Window = new UIWindow(UIScreen.MainScreen.Bounds);

            Distribute.ReleaseAvailable = OnReleaseAvailable;

            if (Crashes.HasCrashedInLastSessionAsync().Result)
            {
                var sc = new SplashController();
                Window.RootViewController = sc;
                Window.MakeKeyAndVisible();
                Task.Run(async() =>
                {
                    await s.WaitAsync(10000);
                    BeginInvokeOnMainThread(StartMvvMxForms);
                });
            }
            else
            {
                StartMvvMxForms();
            }
            return(true);
        }
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            //AnimationViewRenderer.Init();
            FormsMaps.Init();
            CachedImageRenderer.Init();
            CarouselViewRenderer.Init();

            // Configure App Center
            Distribute.DontCheckForUpdatesInDebug();

            //HACK to get the linker to behave
            var ignore = new CircleTransformation();



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

            var formsApp = new App();

            UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);

            UITabBar.Appearance.BarTintColor = ((Color)formsApp.Resources["BackgroundColor"]).ToUIColor();;
            UITabBar.Appearance.TintColor    = ((Color)formsApp.Resources["AccentColor"]).ToUIColor();

            LoadApplication(formsApp);

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 8
0
        public static async void Run()
        {
            CrossVersionTracking.Current.Track();

            // Crashes.GetErrorAttachment = (report) => ErrorAttachment.AttachmentWithText (CrossVersionTracking.Current.ToString ());
#if __IOS__
            Distribute.DontCheckForUpdatesInDebug();
#endif

            if (!string.IsNullOrEmpty(PrivateKeys.MobileCenter.AppSecret))
            {
                AppCenter.Start(PrivateKeys.MobileCenter.AppSecret,
                                typeof(Analytics),
                                typeof(Crashes),
                                typeof(Distribute));
            }

            // JsonHttpClient.GlobalHttpMessageHandlerFactory = () => new NativeMessageHandler ();

            Settings.RegisterDefaultSettings();
            Settings.SetUomDefaults(CrossVersionTracking.Current.IsFirstLaunchEver);

            var appcenterInstallId = await AppCenter.GetInstallIdAsync();

            Settings.UserReferenceKey = appcenterInstallId?.ToString("N");

#if __ANDROID__
            Settings.VersionNumber = CrossVersionTracking.Current.CurrentVersion;

            Settings.BuildNumber = CrossVersionTracking.Current.CurrentBuild;

            Settings.RandomBackgrounds |= CrossVersionTracking.Current.IsFirstLaunchEver;
#endif
        }
Esempio n. 9
0
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            global::Xamarin.Forms.Forms.Init();
            global::Rg.Plugins.Popup.Popup.Init();
            global::FFImageLoading.Forms.Touch.CachedImageRenderer.Init();
            global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()
            {
                Logger = new Landers.ThreeDCost.Services.DebugLogger()
            });
            SQLitePCL.Batteries_V2.Init();
            SQLitePCL.raw.FreezeProvider();
            global::ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            Distribute.DontCheckForUpdatesInDebug();

            SfPickerRenderer.Init();
            SfDataFormRenderer.Init();
            //EntryLineRenderer.Init();
            Toolkit.Init();
            // Code for starting up the Xamarin Test Cloud Agent
#if DEBUG
            Xamarin.Calabash.Start();
#endif
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Esempio n. 10
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Forms.Init();
            CarouselViewRenderer.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            Xamarin.FormsMaps.Init();
            Rg.Plugins.Popup.Popup.Init();
            TintedImageRenderer.Init();
            UIApplication.SharedApplication.SetMinimumBackgroundFetchInterval(UIApplication.BackgroundFetchIntervalMinimum);

            Distribute.DontCheckForUpdatesInDebug();
            //AppCenter.Start("{Your Xamarin iOS App Secret}", typeof(Distribute));

            try
            {
                LoadApplication(new App(new IOSInitializer()));
            }
            catch (Exception ex)
            {
                Crashes.TrackError(ex);
            }
            WireUpLongRunningTask();

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 11
0
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Forms.Device.SetFlags(new string[] {
                "AppTheme_Experimental",
                "MediaElement_Experimental",
                "RadioButton_Experimental",
                "Shell_UWP_Experimental"
            });

            global::Xamarin.Forms.Forms.Init();

            AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException;
            TaskScheduler.UnobservedTaskException      += TaskSchedulerOnUnobservedTaskException;

            Distribute.DontCheckForUpdatesInDebug();

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();

            CachedImageRenderer.InitImageSourceHandler();

            //GrampsView.UserControls.iOS.Renderers.BorderlessEntryRenderer.Init();

            LoadApplication(new App(new IOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 12
0
 //
 // This method is invoked when the application has loaded and is ready to run. In this
 // method you should instantiate the window, load the UI into it and then make the window
 // visible.
 //
 // You have 17 seconds to return from this method, or iOS will terminate your application.
 //
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App(new iOSInitializer()));
     Distribute.DontCheckForUpdatesInDebug();
     return(base.FinishedLaunching(app, options));
 }
Esempio n. 13
0
 public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
 {
     Xamarin.Forms.Forms.Init();
     Distribute.DontCheckForUpdatesInDebug();
     LoadApplication(new App());
     return(base.FinishedLaunching(uiApplication, launchOptions));
 }
Esempio n. 14
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            // to avoid linking issues:
            var ignore = typeof(SvgCachedImage);

            VideoPlayerKit.Init();
            PullToRefreshLayoutRenderer.Init();

            global::Xamarin.Forms.Forms.Init();

            App.ScreenWidth  = UIScreen.MainScreen.Bounds.Width;
            App.ScreenHeight = UIScreen.MainScreen.Bounds.Height;

            //UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB(24, 150, 188);
            UIColor accentColor = UIColor.FromRGB(24, 150, 188);

            UINavigationBar.Appearance.TintColor = accentColor;
            UISwitch.Appearance.OnTintColor      = accentColor;

            UITextAttributes textAttributes = null;

            if (UIDevice.CurrentDevice.CheckSystemVersion(9, 0))
            {
                textAttributes = new UITextAttributes()
                {
                    Font            = UIFont.FromName("SanFrancisco", (nfloat)20f),
                    TextShadowColor = UIColor.Clear,
                };
            }
            else
            {
                textAttributes = new UITextAttributes()
                {
                    Font            = UIFont.FromName("HelveticaNeue-Light", (nfloat)20f),
                    TextShadowColor = UIColor.Clear,
                };
            }

            UINavigationBar.Appearance.SetTitleTextAttributes(textAttributes);

            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App(new IModule[] { new PlatformContainerModule() }));

            if (options != null && options.ContainsKey(UIApplication.LaunchOptionsLocationKey))
            {
                Log.Info("LaunchOptions contains locationkey");
            }

            if (App.TabiConfig.Notifications.Enabled)
            {
                UIApplication.SharedApplication.RegisterForRemoteNotifications();
            }

            UNUserNotificationCenter.Current.RemoveDeliveredNotifications(new string[] { "termination" });

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 15
0
 /// <inheritdoc/>
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     Forms.SetFlags("CollectionView_Experimental");
     Forms.Init();
     Distribute.DontCheckForUpdatesInDebug();
     this.LoadApplication(new App());
     return(base.FinishedLaunching(app, options));
 }
Esempio n. 16
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Forms.Init();

            Distribute.DontCheckForUpdatesInDebug();
            LoadApplication(formsApp ??= new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 17
0
 public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
 {
     Xamarin.Forms.Forms.Init();
     Distribute.DontCheckForUpdatesInDebug();
     MSAnalytics.SetDelegate(new AnalyticsDelegate());
     LoadApplication(new App());
     UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
     return(base.FinishedLaunching(uiApplication, launchOptions));
 }
Esempio n. 18
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App());

            Distribute.DontCheckForUpdatesInDebug();
            AppCenter.Start("b5a3b0ff-3c82-4c71-bb15-97e8758f4549", typeof(Analytics), typeof(Crashes), typeof(Distribute));

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 19
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            Xamarin.FormsMaps.Init();
            Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
            Distribute.DontCheckForUpdatesInDebug();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 20
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            CachedImageRenderer.Init();
            Plugin.InputKit.Platforms.iOS.Config.Init();
            global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental");
            global::Xamarin.Forms.Forms.Init();
            Distribute.DontCheckForUpdatesInDebug();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Forms.Forms.Init();
            Xamarin.Forms.DependencyService.Register <DrawingRectangle>();

            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 22
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Calabash.Start();
            global::Xamarin.Forms.Forms.Init();

            // Make iOS happy in Debug
            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 23
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
            // This should come before AppCenter.Start() is called
            // Avoid duplicate event registration:

            // AppCenter.start after
            Distribute.DontCheckForUpdatesInDebug();
            AppCenter.Start("8db87aa0-1bc5-4031-923c-6756f5301c54", typeof(Analytics), typeof(Crashes), typeof(Push), typeof(Distribute));

            return(true);
        }
Esempio n. 24
0
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
#if DEBUG
            Xamarin.Calabash.Start();
#endif

            global::Xamarin.Forms.Forms.Init();
            EntryCustomReturn.Forms.Plugin.iOS.CustomReturnEntryRenderer.Init();
            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App());

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Esempio n. 25
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

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

            Distribute.DontCheckForUpdatesInDebug();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 26
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
#if DEBUG
            CoreSettings.CurrentBuid = "dev";
#elif QA
            CoreSettings.CurrentBuid = "qa";
#elif RELEASE
            CoreSettings.CurrentBuid = "prod";
#endif
            global::Xamarin.Forms.Forms.Init();
            Distribute.DontCheckForUpdatesInDebug();
            LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
Esempio n. 27
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
#if SKIP_MATERIAL // We can't use Material with iOS Hot Restart as the static linker does not run
            App.PreferredVisual = Xamarin.Forms.VisualMarker.Default;
#endif

            Xamarin.Forms.Forms.Init();
            Xamarin.Forms.FormsMaterial.Init();

            Distribute.DontCheckForUpdatesInDebug();
            LoadApplication(formsApp ??= new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 28
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            global::Rg.Plugins.Popup.Popup.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            global::FFImageLoading.ImageService.Instance.Initialize(new FFImageLoading.Config.Configuration()
            {
                Logger = new Covid19Radar.Services.DebugLogger()
            });
            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App(new iOSInitializer()));
            return(base.FinishedLaunching(app, options));
        }
Esempio n. 29
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
#if ENABLE_TEST_CLOUD
            global::Xamarin.Calabash.Start();
#endif
            Distribute.DontCheckForUpdatesInDebug();
            Distribute.UpdateTrack = UpdateTrack.Private;
            Microsoft.AppCenter.AppCenter.Start("1cbe5106-e6e8-4c76-93b6-77c3bdc4d332",
                                                typeof(Analytics), typeof(Crashes), typeof(Distribute));
            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 30
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            App.ScreenWidth  = (double)UIScreen.MainScreen.Bounds.Width;
            App.ScreenHeight = (double)UIScreen.MainScreen.Bounds.Height;

            Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();

            Distribute.DontCheckForUpdatesInDebug();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }