Ejemplo n.º 1
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)
        {
            AppCenter.Start("b35173bd-3ad1-453f-844e-761dbf03645b",
                            typeof(Analytics), typeof(Crashes));

            #if DEBUG
            Xamarin.Calabash.Start();
            #endif

            Xamarin.Forms.Forms.Init();
            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();

            var config = new FFImageLoading.Config.Configuration()
            {
                VerboseLogging                 = true,
                VerbosePerformanceLogging      = true,
                VerboseMemoryCacheLogging      = true,
                VerboseLoadingCancelledLogging = true,
                ExecuteCallbacksOnUIThread     = true,
                HttpHeadersTimeout             = 5,
                HttpReadTimeout                = 5,
                Logger = new CustomLogger(),
            };
            ImageService.Instance.Initialize(config);

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 2
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();
            CachedImageRenderer.InitImageSourceHandler();

            var config = new FFImageLoading.Config.Configuration()
            {
                VerboseLogging                 = false,
                VerbosePerformanceLogging      = false,
                VerboseMemoryCacheLogging      = false,
                VerboseLoadingCancelledLogging = false,
                FadeAnimationEnabled           = true,
                FadeAnimationForCachedImages   = false,
                FadeAnimationDuration          = 250
            };

            ImageService.Instance.Initialize(config);


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

            CardsViewRenderer.Preserve();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 3
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));
        }
Ejemplo n.º 4
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();

            SfComboBoxRenderer.Init();
            SfNumericTextBoxRenderer.Init();
            Forms9Patch.iOS.Settings.Initialize(this);
            SfChartRenderer.Init();
            SfSegmentedControlRenderer.Init();
            SfListViewRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfMaskedEditRenderer.Init();

            Firebase.Core.App.Configure();

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

            DisplayCrashReport();

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

            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();

            //Thread.Sleep(2000);

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 5
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            Forms.SetFlags("CollectionView_Experimental");
            Forms.Init();
            Xamarin.FormsGoogleMaps.Init(SecretKeys.GoogleMapsIOSKey);
            CachedImageRenderer.Init();
            FFImageLoading.ImageService.Instance.Initialize(new Configuration());
            CachedImageRenderer.InitImageSourceHandler();
            CardsViewRenderer.Preserve();
            OxyPlot.Xamarin.Forms.Platform.iOS.PlotViewRenderer.Init();
            DependencyService.Register <ASWebAuthenticationSessionBrowser>();

            LoadApplication(new App());

            return(base.FinishedLaunching(application, launchOptions));

            //// create a new window instance based on the screen size
            //Window = new UIWindow(UIScreen.MainScreen.Bounds);
            //Window.RootViewController = new UIViewController();

            //// make the window visible
            //Window.MakeKeyAndVisible();

            //return true;
        }
Ejemplo n.º 6
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());
     CachedImageRenderer.InitImageSourceHandler();
     return(base.FinishedLaunching(app, options));
 }
Ejemplo n.º 7
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)
        {
            //initialize the shiny framework
            Shiny.iOSShinyHost.Init(new ServicesStartup());

            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();

            // Watch for notifications while the app is active
            UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate();

            //initialize the firebase sdk
            Firebase.Core.App.Configure();

            //intialize the ffimageloading framework
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();

            //intialize the cards view framework
            CardsViewRenderer.Preserve();

            //using the ffloading for the standard Xamarin.Forms.Image
            CachedImageRenderer.InitImageSourceHandler();

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

            //intialize the firebase push notification framework
            FirebasePushNotificationManager.Initialize(options, true);

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 8
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();

            Xamarin.FormsMaps.Init();

            var multiMediaPickerService = new MultiMediaPickerService();

            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();


            var config = new FFImageLoading.Config.Configuration()
            {
                VerboseLogging                 = false,
                VerbosePerformanceLogging      = false,
                VerboseMemoryCacheLogging      = false,
                VerboseLoadingCancelledLogging = false,
                //Logger = new CustomLogger(),
            };

            ImageService.Instance.Initialize(config);

            LoadApplication(new App(multiMediaPickerService));

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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();
            Xamarin.Forms.DependencyService.Register <DependencyServices.FileStore>();
            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();
            var config = new FFImageLoading.Config.Configuration()
            {
                VerboseLogging                 = false,
                VerbosePerformanceLogging      = false,
                VerboseMemoryCacheLogging      = false,
                VerboseLoadingCancelledLogging = false,
                Logger = new CustomLogger(),
            };

            //Essa seria outra opcao a considerar
            //var platformConfig = new PlatformConfig
            //{
            //    ImageFactory = new CachingImageFactory()
            //};
            ImageService.Instance.Initialize(config);
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Ejemplo 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 uiApplication, NSDictionary launchOptions)
        {
            // initialisation des composants
            Rg.Plugins.Popup.Popup.Init();
            Forms.SetFlags("CollectionView_Experimental");

            //test


            global::Xamarin.Forms.Forms.Init();
            // initialisation des composants
            AiForms.Renderers.iOS.SettingsViewInit.Init(); //need to write here
            SfCalendarRenderer.Init();

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();
            Xamarin.FormsMaps.Init();
            CardsViewRenderer.Preserve();
            ImageCircleRenderer.Init();
            FlexButton.Init();
            FormsMaterial.Init();
            // Fin initialisation des composants

            LoadApplication(new App());
            FloatingActionButtonRenderer.InitRenderer();
            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Ejemplo n.º 11
0
 public override void DidFinishLaunching(NSNotification notification)
 {
     Xamarin.Forms.Forms.Init();
     CachedImageRenderer.Init();
     CachedImageRenderer.InitImageSourceHandler();
     LoadApplication(new App());
     base.DidFinishLaunching(notification);
 }
Ejemplo n.º 12
0
 // This is the main entry point of the application.
 static void Main(string[] args)
 {
     // if you want to use a different Application Delegate class from "AppDelegate"
     // you can specify it here.
     CachedImageRenderer.Init();
     CachedImageRenderer.InitImageSourceHandler();
     UIApplication.Main(args, null, "AppDelegate");
 }
Ejemplo n.º 13
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 uiApplication, NSDictionary launchOptions)
        {
            // initialisation des composants
            Rg.Plugins.Popup.Popup.Init();
            Forms.SetFlags("CollectionView_Experimental");

            //test

            //For banner notification
            UNUserNotificationCenter.Current.Delegate = new iOSBannerNotification();
            //Ask user permission to display notification . its support for iOS 8

            // We have checked to see if the device is running iOS 8, if so we are required to ask for the user's permission to receive notifications
            if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
            {
                var notificationSettings = UIUserNotificationSettings.GetSettingsForTypes(
                    UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound, null
                    );

                UIApplication.SharedApplication.RegisterUserNotificationSettings(notificationSettings);
            }



            // check for a notification
            if (launchOptions != null)
            {
                if (launchOptions.ContainsKey(UIApplication.LaunchOptionsLocalNotificationKey))
                {
                    UILocalNotification localNotification = launchOptions[UIApplication.LaunchOptionsLocalNotificationKey] as UILocalNotification;
                    if (localNotification != null)
                    {
                        new UIAlertView(localNotification.AlertAction, localNotification.AlertBody, null, "OK", null).Show();
                        // reset our badge
                        UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
                    }
                }
            }


            global::Xamarin.Forms.Forms.Init();
            // initialisation des composants
            AiForms.Renderers.iOS.SettingsViewInit.Init(); //need to write here
            SfCalendarRenderer.Init();

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();
            Xamarin.FormsMaps.Init();
            CardsViewRenderer.Preserve();
            ImageCircleRenderer.Init();
            FlexButton.Init();
            FormsMaterial.Init();
            // Fin initialisation des composants

            LoadApplication(new App());
            FloatingActionButtonRenderer.InitRenderer();
            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Ejemplo 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)
 {
     global::Xamarin.Forms.Forms.Init();
     CachedImageRenderer.Init();
     CachedImageRenderer.InitImageSourceHandler();
     LoadApplication(new App());
     UITabBar.Appearance.SelectedImageTintColor = UIColor.Yellow;
     return(base.FinishedLaunching(app, options));
 }
Ejemplo n.º 15
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();
            Forms.Init();
            CachedImageRenderer.InitImageSourceHandler();
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 16
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.SetFlags("CollectionView_Experimental");
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            global::Xamarin.Forms.Forms.Init();
            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 17
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 uiApplication, NSDictionary launchOptions)
        {
            Forms.SetFlags("CollectionView_Experimental");
            Forms.Init();
            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Ejemplo n.º 18
0
 public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
 {
     Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
     FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
     global::Xamarin.Forms.Forms.Init();
     CachedImageRenderer.InitImageSourceHandler();
     ContextMenuViewRenderer.Preserve();
     LoadApplication(new App());
     return(base.FinishedLaunching(uiApplication, launchOptions));
 }
Ejemplo 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)
        {
            Forms.SetFlags("SwipeView_Experimental");
            Forms.Init();
            AnimationViewRenderer.Init();
            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Ejemplo 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)
        {
            Rg.Plugins.Popup.Popup.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();

            global::Xamarin.Forms.Forms.Init();
            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App());
            //AnimationViewRenderer.Init();

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 21
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();
            global::Xamarin.Forms.Forms.Init();
            global::Xamarin.Forms.FormsMaterial.Init();
            CardsViewRenderer.Preserve();
            CarouselViewRenderer.Init();

            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
Ejemplo 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)
        {
            Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
            Forms.SetFlags("CollectionView_Experimental");
            global::FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            global::Xamarin.Forms.Forms.Init();
            CachedImageRenderer.InitImageSourceHandler();
            CardsViewRenderer.Preserve();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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();
            CachedImageRenderer.InitImageSourceHandler();
            Forms9Patch.iOS.Settings.Initialize(this);
            var builder = new ContainerBuilder();

            builder.RegisterType <iOSPlatformProperties>().As <IPlatformProperties>();
            this.LoadApplication(new App(builder));

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 24
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();
            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App(new iOSInitializer()));

            var result = base.FinishedLaunching(app, options);

            app.KeyWindow.TintColor = UIColor.FromRGB(75, 55, 117);

            return(result);
        }
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Forms.Forms.Init();
            LoadApplication(new App());

            // Neccessary to call in every target in order to the functionality of the library "FFImageLoading".
            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();

            // Neccessary to call in every target in order to the functionality of the library "Lottie".
            AnimationViewRenderer.Init();

            return(base.FinishedLaunching(app, options));
        }
Ejemplo 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)
        {
            global::Xamarin.Forms.Forms.Init();

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

            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();

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

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 27
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.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();

            CachedImageRenderer.Init();
            CachedImageRenderer.InitImageSourceHandler();
            Rg.Plugins.Popup.Popup.Init();

            DependencyService.Register <iOSToast>();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        //
        // 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();
            Forms.SetFlags("CollectionView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            CachedImageRenderer.InitImageSourceHandler();
            UINavigationBar.Appearance.SetBackgroundImage(UIImage.FromFile("nav_background.png"), UIBarMetrics.Default);
            UITabBar.Appearance.BackgroundImage = new UIImage();
            UITabBar.Appearance.BackgroundColor = UIColor.FromRGB(39, 59, 81);
            AnimationViewRenderer.Init();
            CardsViewRenderer.Preserve();
            LoadApplication(new App());

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

            Rg.Plugins.Popup.Popup.Init();
            XF.Material.iOS.Material.Init();
            CachedImageRenderer.InitImageSourceHandler();
            CachedImageRenderer.Init();                                                     //Register for Cached Image Library
            Stormlion.PhotoBrowser.iOS.Platform.Init();
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; //Manage any Unhandled Exceptions
            ConfigureNotificationHubs();
            ConfigureFFImageLoader();
            InitializeAnyNotifications();

            LoadApplication(IoC.Get <App>());
            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 30
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();
            CachedImageRenderer.InitImageSourceHandler();

            Xamarin.Forms.Forms.SetFlags(
                new string[] {
                "SwipeView_Experimental", "RadioButton_Experimental"
            }
                );


            global::Xamarin.Forms.Forms.Init();
            global::Xamarin.Forms.FormsMaterial.Init();
            LoadApplication(new App());

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