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)
        {
            global::Xamarin.Forms.Forms.Init();
            XamEffects.iOS.Effects.Init();
            SfPopupLayoutRenderer.Init();
            SfButtonRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            new SfBusyIndicatorRenderer();
            Syncfusion.SfDataGrid.XForms.iOS.SfDataGridRenderer.Init();
            ResourceHelper temp = new ResourceHelper();

            SfPopupLayoutRenderer.Init();
            SfListViewRenderer.Init();
            Rg.Plugins.Popup.Popup.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            SfListViewRenderer.Init();
            SfRadialMenuRenderer.Init();
            ImageCircleRenderer.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            Xamarin.FormsGoogleMaps.Init(Variables.mapsAPIKEY);
            SfPopupLayoutRenderer.Init();
            Syncfusion.XForms.iOS.Cards.SfCardViewRenderer.Init();
            new Syncfusion.SfNavigationDrawer.XForms.iOS.SfNavigationDrawerRenderer();
            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();
            //UIApplication.CheckForIllegalCrossThreadCalls = false;
            // Add FFLoadingImage
            CachedImageRenderer.Init();
            var config = new FFImageLoading.Config.Configuration()
            {
                VerboseLogging                 = false,
                VerbosePerformanceLogging      = false,
                VerboseMemoryCacheLogging      = false,
                VerboseLoadingCancelledLogging = false,
                Logger = new CustomLogger(),
            };

            ImageService.Instance.Initialize(config);
            FloatingActionButtonRenderer.InitRenderer();
            new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer();
            new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer();
            new SfNumericTextBoxRenderer();
            Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            SfButtonRenderer.Init();
            Rg.Plugins.Popup.Popup.Init();
            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            Xamarin.FormsGoogleMaps.Init(EnvironmentConf.GoogleMapsApiKey);
            LoadApplication(new App());
            SfRadioButtonRenderer.Init();
            SfRadialMenuRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            CrossFirebasePushNotification.Current.Subscribe("Products");
            FirebasePushNotificationManager.Initialize(options, true);
            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 applicatiosn.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer();
            global::Xamarin.Forms.Forms.Init();
            Xamarin.FormsMaps.Init();
            AppCenter.Start("ios=aa6903ad-9ec2-4ed5-b067-bde25d4aa602;" + "android=57c9b3f5-30f0-42aa-92cd-76394490bb70", typeof(Analytics), typeof(Crashes), typeof(Auth), typeof(Data));
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MTk4MTMzQDMxMzcyZTM0MmUzMEtnZWV6UEplVUIrUms0ZmFpWGRUdXVMcERjNEpxQU16bkNrV1hQL2FqMXM9");
            SfListViewRenderer.Init();
            SfEffectsViewRenderer.Init();
            SfRadialMenuRenderer.Init();
            Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            Syncfusion.XForms.iOS.Graphics.SfGradientViewRenderer.Init();
            Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init();
            Syncfusion.XForms.iOS.Buttons.SfButtonRenderer.Init();


            string fileName     = "user.db3";
            string folderPath   = Path.Combine(Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "..", "Library");
            string completePath = Path.Combine(folderPath, fileName);

            LoadApplication(new App(completePath));

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 4
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
            Window = new UIWindow(UIScreen.MainScreen.Bounds);

            // If you have defined a root view controller, set it here:
            // Window.RootViewController = myViewController;

            Forms.Init();

            //Initialize all the custom renderers
            new SfRotatorRenderer();
            AnimationViewRenderer.Init();
            ImageCircleRenderer.Init();
            SfListViewRenderer.Init();
            SfRadialMenuRenderer.Init();
            VideoViewRenderer.Init();

            LoadApplication(new App(new IociOSModule()));

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

            var result = base.FinishedLaunching(application, launchOptions);

            application.KeyWindow.TintColor = Helper.ToUIColor("15C44B");

            return(result);
        }
Ejemplo 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();
            SfRadialMenuRenderer.Init();
            SfCircularProgressBarRenderer.Init();
            new SfBusyIndicatorRenderer();
            ImageCircleRenderer.Init();
            LoadApplication(new App());


            return(base.FinishedLaunching(app, options));
        }
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();
            FormsMaps.Init();
            new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer();
            var renderer = new TKCustomMapRenderer();
            var temp     = new ResourceHelper();
            var db       = new RealmDataBase();

            Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init();
            Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init();
            SfRadialMenuRenderer.Init();
            if (db.FirstRun())
            {
                LoadApplication(new App(temp.Process(), temp.GetParsedVenuesWithSubjects()));
            }
            else
            {
                LoadApplication(new App());
            }
            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 uiApplication, NSDictionary launchOptions)
        {
            Rg.Plugins.Popup.Popup.Init();

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

            SfDataGridRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRadialMenuRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfDataFormRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfButtonRenderer.Init();

            SfAccordionRenderer.Init();

            CachedImageRenderer.Init();

            SfListViewRenderer.Init();

            ZXing.Net.Mobile.Forms.iOS.Platform.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }
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();

            SfChartRenderer.Init();


            SfSunburstChartRenderer.Init();


            SfImageEditorRenderer.Init();


            SfDataGridRenderer.Init();


            SfPickerRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfGaugeRenderer.Init();


            SfDigitalGaugeRenderer.Init();


            SfLinearGaugeRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfCarouselRenderer.Init();


            SfRotatorRenderer.Init();


            SfAutoCompleteRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRadialMenuRenderer.Init();


            SfRatingRenderer.Init();


            SfMapsRenderer.Init();


            SfTreeMapRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfListViewRenderer.Init();


            SfKanbanRenderer.Init();


            SfRangeNavigatorRenderer.Init();


            SfSparklineRenderer.Init();


            SfBarcodeRenderer.Init();


            SfDataFormRenderer.Init();


            SfMaskedEditRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfDiagramRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfSegmentedControlRenderer.Init();


            SfComboBoxRenderer.Init();

            LoadApplication(new FormsApp());

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