// // 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) { Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MTU0ODY4QDMxMzcyZTMzMmUzMEU4QWhNRUEwN05VM2cwaTFzV1RSWk1oemxOYklnbTA4SHpsc3hHTFZiNW89"); Google.MobileAds.MobileAds.Configure("ca-app-pub-9800707284712065~3426477994"); global::Xamarin.Forms.Forms.Init(); SfCardLayoutRenderer.Init(); SfChartRenderer.Init(); SfSwitchRenderer.Init(); SfTextInputLayoutRenderer.Init(); SfImageEditorRenderer.Init(); SfKanbanRenderer.Init(); SfDigitalGaugeRenderer.Init(); SfNavigationDrawerRenderer.Init(); SfPopupLayoutRenderer.Init(); SfLinearProgressBarRenderer.Init(); SfNumericUpDownRenderer.Init(); SfExpanderRenderer.Init(); SfRatingRenderer.Init(); SfCheckBoxRenderer.Init(); SfListViewRenderer.Init(); SfBadgeViewRenderer.Init(); SfBusyIndicatorRenderer.Init(); SfComboBoxRenderer.Init(); SfCalendarRenderer.Init(); SfButtonRenderer.Init(); SfCardViewRenderer.Init(); SfBorderRenderer.Init(); LoadApplication(new App(new iOSInitializer())); 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(); global::Xamarin.Forms.FormsMaterial.Init(); SfMaskedEditRenderer.Init(); new SfNumericTextBoxRenderer(); new SfComboBoxRenderer(); SfTextInputLayoutRenderer.Init(); SfShimmerRenderer.Init(); SfNumericUpDownRenderer.Init(); new Syncfusion.SfBusyIndicator.XForms.iOS.SfBusyIndicatorRenderer(); Syncfusion.XForms.iOS.EffectsView.SfEffectsViewRenderer.Init(); Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init(); Syncfusion.XForms.iOS.Expander.SfExpanderRenderer.Init(); Sharpnado.MaterialFrame.iOS.iOSMaterialFrameRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfSegmentedControlRenderer.Init(); LoadApplication(new App()); //initialize current one. Plugin.InAppBilling.InAppBillingImplementation.OnShouldAddStorePayment = OnShouldAddStorePayment; var current = Plugin.InAppBilling.CrossInAppBilling.Current; 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(); SfNumericUpDownRenderer.Init(); 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.SetFlags("CollectionView_Experimental"); global::Xamarin.Forms.Forms.Init(); SfPickerRenderer.Init(); SfComboBoxRenderer.Init(); SfRadioButtonRenderer.Init(); SfButtonRenderer.Init(); SfNumericUpDownRenderer.Init(); 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(); SfChartRenderer.Init(); SfNumericUpDownRenderer.Init(); SfRadioButtonRenderer.Init(); SfCheckBoxRenderer.Init(); SfButtonRenderer.Init(); LoadApplication(new App(new iOSInitializer())); 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) { //await CrossMedia.Current.Initialize(); global::Xamarin.Forms.Forms.Init(); SfCardViewRenderer.Init(); SfListViewRenderer.Init(); SfGradientViewRenderer.Init(); SfChartRenderer.Init(); SfAvatarViewRenderer.Init(); SfBorderRenderer.Init(); SfButtonRenderer.Init(); SfNavigationDrawerRenderer.Init(); SfScheduleRenderer.Init(); SfDatePickerRenderer.Init(); SfComboBoxRenderer.Init(); SfBusyIndicatorRenderer.Init(); SfNavigationDrawerRenderer.Init(); SfNumericTextBoxRenderer.Init(); SfNumericUpDownRenderer.Init(); SfMapsRenderer.Init(); SfTabViewRenderer.Init(); SfCarouselRenderer.Init(); SfTextInputLayoutRenderer.Init(); SfTreeViewRenderer.Init(); SfBadgeViewRenderer.Init(); SfCheckBoxRenderer.Init(); SfTimePickerRenderer.Init(); InitializeNLog(); 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(); LoadApplication(new App()); Syncfusion.ListView.XForms.iOS.SfListViewRenderer.Init(); SampleBrowser.Core.iOS.CoreSampleBrowser.Init(UIScreen.MainScreen.Bounds, app.StatusBarFrame.Size.Height); SfButtonRenderer.Init(); SfTextInputLayoutRenderer.Init(); SfMaskedEditRenderer.Init(); SfNumericTextBoxRenderer.Init(); SfNumericUpDownRenderer.Init(); SfAutoCompleteRenderer.Init(); SfComboBoxRenderer.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.Init(); SfNumericUpDownRenderer.Init(); SfDataGridRenderer.Init(); SfComboBoxRenderer.Init(); SfPickerRenderer.Init(); Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense( "MTk0MDUyQDMxMzcyZTM0MmUzMEQwczdzaGFzZ3pqN25QamprWVRQc3Zyb0xLMDlVMEdGYVJnYkQzc3NxZmM9"); SfAutoCompleteRenderer.Init(); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); LoadApplication(new App(new iOSInitializer())); 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) { new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer(); global::Xamarin.Forms.Forms.Init(); SfNumericUpDownRenderer.Init(); Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfSegmentedControlRenderer.Init(); // Add the below line for using SfBorder. Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init(); new SfRatingRenderer(); 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) { //Log.Logger = new LoggerConfiguration().Enrich.FromLogContext().WriteTo.NSLog(outputTemplate: // "[{Level}] ({SourceContext}.{Method}) {Message}{NewLine}{Exception}").CreateLogger(); Log.Logger = new Serilog.LoggerConfiguration().Enrich.WithThreadId().Enrich.WithCaller(). WriteTo.NSLog(outputTemplate: "[{Level:u3} {ThreadId}]{Caller}: {Message:j}").CreateLogger(); Log.Information("In AppDelegate; Logger created"); Rg.Plugins.Popup.Popup.Init(); global::Xamarin.Forms.Forms.Init(); global::Xamarin.Forms.FormsMaterial.Init(); KeyboardOverlap.Forms.Plugin.iOSUnified.KeyboardOverlapRenderer.Init(); SfListViewRenderer.Init(); SfNumericUpDownRenderer.Init(); SfCheckBoxRenderer.Init(); 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) { SQLitePCL.Batteries_V2.Init(); // TODO(jakemco): do we even need this? global::Xamarin.Forms.Forms.Init(); SfListViewRenderer.Init(); CarouselViewRenderer.Init(); new Syncfusion.SfNavigationDrawer.XForms.iOS.SfNavigationDrawerRenderer(); SfNumericUpDownRenderer.Init(); // Old verions of the app stored the DB in a different spot, fix it up here MoveLegacyDB(); Console.WriteLine("START"); LoadApplication(new KTApp()); 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) { if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0)) { // Ask the user for permission to get notifications on iOS 10.0+ UNUserNotificationCenter.Current.RequestAuthorization( UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound, (approved, error) => { }); // Watch for notifications while app is active UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate(); } else if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0)) { // Ask the user for permission to get notifications on iOS 8.0+ var settings = UIUserNotificationSettings.GetSettingsForTypes( UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound, new NSSet()); UIApplication.SharedApplication.RegisterUserNotificationSettings(settings); } global::Xamarin.Forms.Forms.Init(); AnimationViewRenderer.Init(); ZXing.Net.Mobile.Forms.iOS.Platform.Init(); SfChartRenderer.Init(); SfListViewRenderer.Init(); SfButtonRenderer.Init(); SfCheckBoxRenderer.Init(); SfRadioButtonRenderer.Init(); SfPdfDocumentViewRenderer.Init(); SfNumericUpDownRenderer.Init(); SfTabViewRenderer.Init(); SfPickerRenderer.Init(); SfLinearProgressBarRenderer.Init(); SfCircularProgressBarRenderer.Init(); CachedImageRenderer.Init(); SfDataFormRenderer.Init(); 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.Init(); SfNumericUpDownRenderer.Init(); App shoppingApp = new App(); shoppingApp.OnUseCustomTheme += (s, a) => { UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false); var prop = typeof(Color).GetRuntimeProperty(nameof(Color.Accent)); var setter = prop?.SetMethod; // Invoke the setter method of the Color.Accent property to overwrite it with the custom accent color setter?.Invoke(Color.Accent, new object[] { (Color)Xamarin.Forms.Application.Current.Resources["appAccentColor"] }); }; LoadApplication(shoppingApp); 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(); global::Xamarin.Forms.FormsMaterial.Init(); SfMaskedEditRenderer.Init(); new SfNumericTextBoxRenderer(); new SfComboBoxRenderer(); SfTextInputLayoutRenderer.Init(); SfShimmerRenderer.Init(); SfNumericUpDownRenderer.Init(); new Syncfusion.SfBusyIndicator.XForms.iOS.SfBusyIndicatorRenderer(); Syncfusion.XForms.iOS.EffectsView.SfEffectsViewRenderer.Init(); Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init(); Syncfusion.XForms.iOS.Expander.SfExpanderRenderer.Init(); Sharpnado.MaterialFrame.iOS.iOSMaterialFrameRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfSegmentedControlRenderer.Init(); 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) { //Chips Syncfusion.XForms.iOS.Buttons.SfChipGroupRenderer.Init(); //Radio Button Syncfusion.XForms.iOS.Buttons.SfRadioButtonRenderer.Init(); //Popup Layout Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init(); //Picker SfPickerRenderer.Init(); //Range slider new SfRangeSliderRenderer(); //Combo box new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer(); //Mased Edit SfMaskedEditRenderer.Init(); //Numeric Text Box new SfNumericTextBoxRenderer(); //Numeric Up down SfNumericUpDownRenderer.Init(); //Load Sf List view SfListViewRenderer.Init(); SfEffectsViewRenderer.Init(); //Initialize only when effects view is added to Listview. //Progress Bars Syncfusion.XForms.iOS.ProgressBar.SfLinearProgressBarRenderer.Init(); Syncfusion.XForms.iOS.ProgressBar.SfCircularProgressBarRenderer.Init(); //Backdrop Page SfBackdropPageRenderer.Init(); //Load gradience Syncfusion.XForms.iOS.Graphics.SfGradientViewRenderer.Init(); //Border control Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init(); //Load input fields Syncfusion.XForms.iOS.TextInputLayout.SfTextInputLayoutRenderer.Init(); //Load Charts Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer.Init(); //Switch Syncfusion.XForms.iOS.Buttons.SfSwitchRenderer.Init(); //Chips Syncfusion.XForms.iOS.Buttons.SfChipRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfChipGroupRenderer.Init(); //Navigation drawer #pragma warning disable RECS0026 // Possible unassigned object created by 'new' new Syncfusion.SfNavigationDrawer.XForms.iOS.SfNavigationDrawerRenderer(); #pragma warning restore RECS0026 // Possible unassigned object created by 'new' global::Xamarin.Forms.Forms.Init(); //Busy Indicator new SfBusyIndicatorRenderer(); LoadApplication(new App()); //Load buttons Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfButtonRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfCheckBoxRenderer.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.Init(); Core.Init(); CachedImageRenderer.Init(); SfGradientViewRenderer.Init(); SfChartRenderer.Init(); SfSunburstChartRenderer.Init(); SfPickerRenderer.Init(); SfLinearProgressBarRenderer.Init(); SfCircularProgressBarRenderer.Init(); SfNumericTextBoxRenderer.Init(); SfNumericUpDownRenderer.Init(); SfRatingRenderer.Init(); SfPullToRefreshRenderer.Init(); SfListViewRenderer.Init(); SfBarcodeRenderer.Init(); SfMaskedEditRenderer.Init(); SfPopupLayoutRenderer.Init(); SfTabViewRenderer.Init(); SfCheckBoxRenderer.Init(); SfTextInputLayoutRenderer.Init(); SfButtonRenderer.Init(); SfBorderRenderer.Init(); SfCardViewRenderer.Init(); 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(); Core.Init(); SfGradientViewRenderer.Init(); SfChartRenderer.Init(); SfSunburstChartRenderer.Init(); SfImageEditorRenderer.Init(); SfDataGridRenderer.Init(); SfPickerRenderer.Init(); SfPdfDocumentViewRenderer.Init(); SfRangeSliderRenderer.Init(); SfLinearProgressBarRenderer.Init(); SfCircularProgressBarRenderer.Init(); SfCalendarRenderer.Init(); SfCarouselRenderer.Init(); SfRotatorRenderer.Init(); SfAutoCompleteRenderer.Init(); SfBusyIndicatorRenderer.Init(); SfNavigationDrawerRenderer.Init(); SfNumericTextBoxRenderer.Init(); SfNumericUpDownRenderer.Init(); SfRatingRenderer.Init(); SfMapsRenderer.Init(); SfTreeMapRenderer.Init(); SfPullToRefreshRenderer.Init(); SfListViewRenderer.Init(); SfRangeNavigatorRenderer.Init(); SfDataFormRenderer.Init(); SfMaskedEditRenderer.Init(); SfPopupLayoutRenderer.Init(); SfTabViewRenderer.Init(); SfCheckBoxRenderer.Init(); SfRadioButtonRenderer.Init(); SfSegmentedControlRenderer.Init(); SfComboBoxRenderer.Init(); SfTextInputLayoutRenderer.Init(); SfTreeViewRenderer.Init(); SfButtonRenderer.Init(); SfBorderRenderer.Init(); SfBadgeViewRenderer.Init(); SfExpanderRenderer.Init(); SfCardViewRenderer.Init(); SfCardLayoutRenderer.Init(); SfAccordionRenderer.Init(); SfSwitchRenderer.Init(); SfRichTextEditorRenderer.Init(); SfShimmerRenderer.Init(); SfAvatarViewRenderer.Init(); SfTimePickerRenderer.Init(); SfDatePickerRenderer.Init(); SfChatRenderer.Init(); 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(); 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)); }
// // 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)); }