Exemple #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 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));
        }
 //
 // 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());
     CardsViewRenderer.Preserve();
     return(base.FinishedLaunching(app, options));
 }
Exemple #3
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);

            Popup.Init(this, savedInstanceState);
            Config.Init(this, savedInstanceState);
            CrossCurrentActivity.Current.Init(this, savedInstanceState);
            CrossFingerprint.SetCurrentActivityResolver(() => CrossCurrentActivity.Current.Activity);

            UserDialogs.Init(this);

            PullToRefreshLayoutRenderer.Init();

            CachedImageRenderer.Init(true);

            Platform.Init(this, savedInstanceState);
            Forms.Init(this, savedInstanceState);
            Xamarin.FormsMaps.Init(this, savedInstanceState);
            CardsViewRenderer.Preserve();
            RoundedBoxViewRenderer.Init();
            LoadApplication(new App());
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            Window.SetBackgroundDrawable(new Android.Graphics.Drawables.ColorDrawable()
            {
                Color = Android.Graphics.Color.White
            });
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;
            Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
            base.OnCreate(savedInstanceState);
            App.ScreenHeight = (int)(Resources.DisplayMetrics.HeightPixels / Resources.DisplayMetrics.Density);
            App.ScreenWidth  = (int)(Resources.DisplayMetrics.WidthPixels / Resources.DisplayMetrics.Density);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            CachedImageRenderer.Init(true);
            CardsViewRenderer.Preserve();

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

            ImageService.Instance.Initialize(config);
            UserDialogs.Init(this);
            Xamarin.FormsGoogleMaps.Init(this, savedInstanceState);

            NotificationCenter.CreateNotificationChannel();
            LoadApplication(new App(new AndroidInitializer()));
            NotificationCenter.NotifyNotificationTapped(Intent);
        }
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental");
            global::Xamarin.Forms.Forms.Init();
            Xamarin.FormsMaps.Init();
            ImageCircleRenderer.Init();
            Stormlion.PhotoBrowser.iOS.Platform.Init();
            DependencyService.Register <IMediaPickerService, MediaPickerService>();
            DependencyService.Register <INotificationBadge, NotificationBadgeImplement>();
            DependencyService.Register <IToastMessage, ToastMessage>();
            DependencyService.Register <OpenAppiOS>();
            DependencyService.Register <IAppVersionAndBuild>();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();

            // cards view
            CardsViewRenderer.Preserve();

            // fb share
            Plugin.Share.ShareImplementation.ExcludedUIActivityTypes.Clear();

            //gg login
            global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.Init();

            //fb login
            FacebookClientManager.Initialize(app, options);
            LoadApplication(new App());

            // firebase notification.
            FirebasePushNotificationManager.Initialize(options, true);
            FirebasePushNotificationManager.CurrentNotificationPresentationOption = UNNotificationPresentationOptions.Alert;
            return(base.FinishedLaunching(app, options));
        }
        protected async override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;


            base.OnCreate(savedInstanceState);

            AppCenter.Start("e9f66abb-0a9e-43a0-9a0d-611b39961fc2",
                            typeof(Analytics), typeof(Crashes), typeof(Push));


            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);


            await CrossMedia.Current.Initialize();

            CrossCurrentActivity.Current.Init(this, savedInstanceState);

            UserDialogs.Init(this);

            ImageCircleRenderer.Init();

            CardsViewRenderer.Preserve();

            LoadApplication(new App());
        }
Exemple #7
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);

            // initialisation des composants
            Instance = this;

            Rg.Plugins.Popup.Popup.Init(this, savedInstanceState);

            CrossCurrentActivity.Current.Init(this, savedInstanceState);
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            Forms.SetFlags("CollectionView_Experimental");

            //test


            Forms.Init(this, savedInstanceState);
            AiForms.Renderers.Droid.SettingsViewInit.Init(); // need to write here
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer: true);
            CachedImageRenderer.InitImageViewHandler();

            FormsMaterial.Init(this, savedInstanceState);
            Xamarin.FormsMaps.Init(this, savedInstanceState);

            // initialisation des composants


            CardsViewRenderer.Preserve();
            ImageCircleRenderer.Init();
            // fin d'initialisation
            LoadApplication(new App());
        }
Exemple #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)
        {
            //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));
        }
Exemple #9
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);

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

            ImageService.Instance.Initialize(config);


            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

            CachedImageRenderer.Init(true);
            CachedImageRenderer.InitImageViewHandler();

            CardsViewRenderer.Preserve();

            LoadApplication(new App());
        }
Exemple #10
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            DependencyService.Register <ChromeCustomTabsBrowser>();

            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);
            Forms.SetFlags("Shell_Experimental", "Visual_Experimental",
                           "CollectionView_Experimental", "FastRenderers_Experimental");
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            Forms.Init(this, savedInstanceState);
            Xamarin.FormsGoogleMaps.Init(this, savedInstanceState);  // https://github.com/amay077/Xamarin.Forms.GoogleMaps/blob/master/README.md
            CrossCurrentActivity.Current.Init(this, savedInstanceState);
            //Android.Glide.Forms.Init(); // https://github.com/jonathanpeppers/glidex
            CachedImageRenderer
            .Init(enableFastRenderer: true);                                // See: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API
            CachedImageRenderer
            .InitImageViewHandler();                                        // See: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API
            FFImageLoading.ImageService.Instance.Initialize(new Configuration());
            CardsViewRenderer.Preserve();                                   // See: https://github.com/AndreiMisiukevich/CardView
            OxyPlot.Xamarin.Forms.Platform.Android.PlotViewRenderer.Init(); // See: https://oxyplot.readthedocs.io/en/master/getting-started/hello-xamarin-forms.html
            LoadApplication(new App());

            if (IsPlayServiceAvailable() == false)
            {
                throw new Exception("This device does not have Google Play Services and cannot receive push notifications.");
            }

            CreateNotificationChannel();
        }
Exemple #11
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);

            #region Initializing Packages

            UserDialogs.Init(this);
            CarouselViewRenderer.Init();
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

            CrossCurrentActivity.Current.Init(this, savedInstanceState);
            UserDialogs.Init(this);
            Rg.Plugins.Popup.Popup.Init(this, savedInstanceState);
            Plugin.InputKit.Platforms.Droid.Config.Init(this, savedInstanceState);

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);
            Plugin.CurrentActivity.CrossCurrentActivity.Current.Activity = this;
            CardsViewRenderer.Preserve();
            #endregion

            #region
            //To set Status Bar Color :
            Window.AddFlags(WindowManagerFlags.Fullscreen);
            Window.ClearFlags(WindowManagerFlags.ForceNotFullscreen);
            Window.SetStatusBarColor(Android.Graphics.Color.ParseColor("#0984e3"));
            #endregion

            LoadApplication(new App());
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;
            SetTheme(Resource.Style.MainTheme);

            base.OnCreate(savedInstanceState);
            Forms.SetFlags("CarouselView_Experimental");
            Forms.SetFlags("SwipeView_Experimental");



            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            IconEntryRenderer.Init();
            CardsViewRenderer.Preserve();
            AnimationViewRenderer.Init();
            ImageCircleRenderer.Init();
            CachedImageRenderer.Init(true);
            SharpnadoInitializer.Initialize();
            CrossCurrentActivity.Current.Init(this, savedInstanceState);


            LoadApplication(new App(new AndroidInitialize()));
        }
Exemple #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 app, NSDictionary options)
        {
            App.ScreenHeight = UIScreen.MainScreen.Bounds.Height;
            App.ScreenWidth  = UIScreen.MainScreen.Bounds.Width;

            Forms.SetFlags("CollectionView_Experimental");
            Forms.Init();
            CachedImageRenderer.Init();
            CardsViewRenderer.Preserve();

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

            Accessibility.SetAccessibility(UIAccessibility.IsVoiceOverRunning, false);
            NSNotificationCenter.DefaultCenter.AddObserver(UIView.VoiceOverStatusDidChangeNotification, notification =>
            {
                Accessibility.SetAccessibility(UIAccessibility.IsVoiceOverRunning);
            });

            LoadApplication(new App());

            UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate();

            // start background task
            UIApplication.SharedApplication.SetMinimumBackgroundFetchInterval(Config.DownloadInterval / 1000f);

            // reset our badge
            UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;

            CheckPermissions();

            return(base.FinishedLaunching(app, options));
        }
Exemple #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)
        {
            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));
        }
Exemple #15
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;
        }
Exemple #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 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));
        }
Exemple #17
0
        static void Main(string[] args)
        {
            var app = new Program();

            Forms.Init(app, true);
            CachedImageRenderer.Init(app);
            CardsViewRenderer.Preserve();
            app.Run(args);
        }
Exemple #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());
     CardsViewRenderer.Preserve();
     ImageCircleRenderer.Init();
     MobileAds.Configure("ca-app-pub-8359860011604747~6496691983");
     return(base.FinishedLaunching(app, options));
 }
Exemple #19
0
 protected override void OnCreate(Bundle savedInstanceState)
 {
     TabLayoutResource = Resource.Layout.Tabbar;
     ToolbarResource   = Resource.Layout.Toolbar;
     CardsViewRenderer.Preserve();
     base.OnCreate(savedInstanceState);
     global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
     LoadApplication(new App());
 }
Exemple #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)
        {
            global::Xamarin.Forms.Forms.Init();
            ImageCircleRenderer.Init();
            CardsViewRenderer.Preserve();
            Xamarin.FormsGoogleMaps.Init(Constants.GoogleMapsApiKey);
            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)
        {
            global::Xamarin.Forms.Forms.Init();
            CarouselViewRenderer.Init();
            CardsViewRenderer.Preserve();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            LoadApplication(new App(new iOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }
Exemple #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)
        {
            global::Xamarin.Forms.Forms.Init();
            UITabBar.Appearance.SelectedImageTintColor = UIColor.FromRGB(1, 180, 228);
            CachedImageRenderer.Init();
            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)
        {
            Forms.SetFlags("CarouselView_Experimental");
            global::Xamarin.Forms.Forms.Init();
            CardsViewRenderer.Preserve();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #24
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            if (Window == null)
            {
                Window = new UIWindow(frame: UIScreen.MainScreen.Bounds);
                var initialViewController = new SplashViewController();
                Window.RootViewController = initialViewController;
                Window.MakeKeyAndVisible();

                return(true);
            }
            else
            {
                global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental", "Expander_Experimental");
                HtmlLabelRenderer.Initialize();

                new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer();

                global::Xamarin.Forms.Forms.Init();
                global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.Init();
                //Xamarin.FormsMaps.Init();

                ZXing.Net.Mobile.Forms.iOS.Platform.Init();
                var ignore = typeof(SvgCachedImage);

                CachedImageRenderer.Init(); // Initializing FFImageLoading

                Stormlion.PhotoBrowser.iOS.Platform.Init();
                CarouselViewRenderer.Init(); // Initializing CarouselView
                new SfRotatorRenderer();
                Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
                Syncfusion.XForms.iOS.BadgeView.SfBadgeViewRenderer.Init();
                AnimationViewRenderer.Init();

                var platformConfig = new PlatformConfig
                {
                    ImageFactory = new CachingImageFactory()
                };
                Xamarin.FormsGoogleMaps.Init(GlobalSettings.GoogleMapsApiKey, platformConfig);

                //ButtonCircleRenderer.Init();

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

                CardsViewRenderer.Preserve();
                TouchEffectPreserver.Preserve();
                LoadApplication(new App());

                Plugin.Segmented.Control.iOS.SegmentedControlRenderer.Initialize();

                FirebasePushNotificationManager.Initialize(options, true);

                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.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental");
            global::Xamarin.Forms.Forms.Init();
            CardsViewRenderer.Preserve();
            ImageCircleRenderer.Init();
            FlexButton.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
Exemple #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)
        {
            Rg.Plugins.Popup.Popup.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental"); // Carouselview
            global::Xamarin.Forms.Forms.Init();
            CardsViewRenderer.Preserve();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);
            Forms.SetFlags("CarouselView_Experimental");
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            CardsViewRenderer.Preserve();
            LoadApplication(new App());
        }
        //
        // 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));
        }
        //
        // 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();
            CardsViewRenderer.Preserve();
            global::Xamarin.Forms.Forms.Init();
            XF.Material.iOS.Material.Init();
            SharpnadoInitializer.Initialize();
            LoadApplication(new App(new iOSInitializer()));

            AnimationViewRenderer.Init();
            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.SetFlags(new[] { "CarouselView_Experimental", "IndicatorView_Experimental" });
            CarouselViewRenderer.Init();
            global::Xamarin.Forms.Forms.Init();
            //Xamarin.FormsMaps.Init();
            CachedImageRenderer.Init();
            CardsViewRenderer.Preserve();
            LoadApplication(new App(new OAuth2Service()));

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