Esempio 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)
 {
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App(new iOSInitializer()));
     ProgressRingRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
Esempio 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)
 {
     ButtonCircle.FormsPlugin.iOS.ButtonCircleRenderer.Init();
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App());
     ProgressRingRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
Esempio n. 3
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            LoadApplication(new App());

            ProgressRingRenderer.Init(); // forAndreasHennig/ProgressRingPlugin

            return(base.FinishedLaunching(app, options));
        }
Esempio 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();
            ProgressRingRenderer.Init();
            Xamarin.FormsGoogleMaps.Init(AppConstants.GoogleMapsApiKey);

            LoadApplication(new App());

            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)
        {
            global::Xamarin.Forms.Forms.Init();
            global::ZXing.Net.Mobile.Forms.iOS.Platform.Init();

            Xam.Plugin.iOS.PopupEffect.Init();
            ButtonCircleRenderer.Init();
            ProgressRingRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Esempio 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)
        {
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            global::Xamarin.Forms.Forms.Init();
            global::Xamarin.Forms.FormsMaterial.Init();
            CardsViewRenderer.Preserve();

            CachedImageRenderer.InitImageSourceHandler();
            LoadApplication(new App());
            ProgressRingRenderer.Init();
            return(base.FinishedLaunching(app, options));
        }
Esempio 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)
        {
            global::Xamarin.Forms.Forms.Init();
            ProgressRingRenderer.Init();
            Xamarin.FormsGoogleMaps.Init("AIzaSyAxNB86HG1M0oxI5_kAb64LkNKxrgflhCY");
            Xamarin.FormsGoogleMapsBindings.Init();


            Xamarin.FormsMaps.Init();

            Plugin.MaterialDesignControls.iOS.Renderer.Init();

            LoadApplication(new App());

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

            CachedImageRenderer.Init();

            var xfApplication = new App();

#if DEBUG
            HotReloader.Current.Start(xfApplication, 4291);
#endif
            LoadApplication(xfApplication);
            ProgressRingRenderer.Init();

            return(base.FinishedLaunching(app, options));
        }
Esempio n. 9
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();
            var imageButtonRenderer = new XLabs.Forms.Controls.ImageButtonRenderer();
            var isr = new XLabs.Forms.Controls.ImageSourceConverter();
            var igr = new XLabs.Forms.Controls.ImageGalleryRenderer();
            var pgr = new ProgressRingRenderer();

            ButtonCircle.FormsPlugin.iOS.ButtonCircleRenderer.Init();

            LoadApplication(new App());
            ProgressRingRenderer.Init();
            Xamarin.FormsMaps.Init();
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();
            return(base.FinishedLaunching(app, options));
        }
Esempio n. 10
0
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            ZXing.Net.Mobile.Forms.iOS.Platform.Init();

            XFGloss.iOS.Library.Init();
            XamEffects.iOS.Effects.Init();
            RoundedBoxViewRenderer.Init();
            ProgressRingRenderer.Init();
            Xamarin.FormsMaps.Init();
            Xamarin.FormsGoogleMaps.Init("AIzaSyDnC69vNlEd0nv9-nnI5NDFY2zj6WChPOw");
            Stormlion.PhotoBrowser.iOS.Platform.Init();

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

            RegisterServiceContainers();

            //Countly initialization
            var config = new CountlyConfig()
            {
                AppKey = Config.CountlyAppKey,
                Host   = Config.CountlyServerURL,
                //EnableDebug = true,
                Features = new NSObject[] { CountlySDK.Constants.CLYCrashReporting }
            };

            Countly.SharedInstance().StartWithConfig(config);
            Countly.SharedInstance().BeginSession();

            LoadApplication(new App());

            uiApplication.SetStatusBarStyle(UIStatusBarStyle.BlackOpaque, false);

            uiApplication.SetMinimumBackgroundFetchInterval(3600);

            if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
            {
                var notificationSettings = UIUserNotificationSettings.GetSettingsForTypes(
                    UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound, null
                    );

                uiApplication.RegisterUserNotificationSettings(notificationSettings);
            }

            RegisterRemoteNotifications();

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
Esempio n. 11
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Settings.AppID       = "1840011542984981";
            Settings.DisplayName = "Xama­r­i­n­F­o­r­m­s­N­a­t­i­v­e­L­ogin";

            Rox.VideoIos.Init();

            HtmlLabelRenderer.Initialize();

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

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

            TintedImageRenderer.Init();

            CrossMediaManager.Current = new MediaManagerImplementation();

            ProgressRingRenderer.Init();

            CarouselViewRenderer.Init();

            SfPickerRenderer.Init();

            Akavache.BlobCache.ApplicationName = "Medit";

            AnimationViewRenderer.Init();

            CachedImageRenderer.Init();

            LoadApplication(new App());

            ApplicationDelegate.SharedInstance.FinishedLaunching(app, options);

            UITabBar.Appearance.TintColor = ((Xamarin.Forms.Color)Xamarin.Forms.Application.Current.Resources["primaryDark"]).ToUIColor();
            UITabBar.Appearance.SelectedImageTintColor = ((Xamarin.Forms.Color)Xamarin.Forms.Application.Current.Resources["primaryDark"]).ToUIColor();
            UISwitch.Appearance.OnTintColor            = ((Xamarin.Forms.Color)Xamarin.Forms.Application.Current.Resources["primary"]).ToUIColor();

            //UINavigationBar.Appearance.TintColor = ((Xamarin.Forms.Color)Xamarin.Forms.Application.Current.Resources["primaryDark"]).ToUIColor(); //Tint color of button items
            //UIBarButtonItem.Appearance.TintColor = ((Xamarin.Forms.Color)Xamarin.Forms.Application.Current.Resources["primaryDark"]).ToUIColor(); //Tint color of button items

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

            UIApplication.SharedApplication.StatusBarHidden = false;

            return(result);
        }