// // 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) { // define useragent android like //string userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0"; //// set default useragent //NSDictionary dictionary = NSDictionary.FromObjectAndKey(NSObject.FromObject(userAgent), NSObject.FromObject("UserAgent")); //NSUserDefaults.StandardUserDefaults.RegisterDefaults(dictionary); //NSUserDefaults.StandardUserDefaults.RegisterDefaults(new NSDictionary("UserAgent", //"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A")); global::Xamarin.Forms.Forms.SetFlags("IndicatorView_Experimental"); global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental"); Forms.SetFlags("IndicatorView_Experimental"); global::Xamarin.Forms.Forms.Init(); global::Xamarin.Forms.FormsMaterial.Init(); Plugin.InputKit.Platforms.iOS.Config.Init(); Xamarin.FormsMaps.Init(); Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init(); SfCalendarRenderer.Init(); SfPickerRenderer.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(); LoadApplication(new App()); SfCalendarRenderer.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(); SfDataGridRenderer.Init(); SfChatRenderer.Init(); SfDatePickerRenderer.Init(); SfCheckBoxRenderer.Init(); SfBusyIndicatorRenderer.Init(); SfAccordionRenderer.Init(); SfListViewRenderer.Init(); SfCarouselRenderer.Init(); SfCalendarRenderer.Init(); CurrentPlatform.Init(); string dbname = "workbook.sqlite"; string folderPath = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "..", "Library"); string fullPath = Path.Combine(folderPath, dbname); LoadApplication(new App(fullPath)); 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) { // 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(); SfTextInputLayoutRenderer.Init(); SfAvatarViewRenderer.Init(); SfSegmentedControlRenderer.Init(); SfRadioButtonRenderer.Init(); Core.Init(); SfComboBoxRenderer.Init(); SfCalendarRenderer.Init(); SfCardViewRenderer.Init(); SfListViewRenderer.Init(); SfRatingRenderer.Init(); SfGradientViewRenderer.Init(); SfBorderRenderer.Init(); SfButtonRenderer.Init(); SfPdfDocumentViewRenderer.Init(); SfRangeSliderRenderer.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) { 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 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)); }
// // 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(); SfCalendarRenderer.Init(); LoadApplication(new App()); UINavigationBar.Appearance.BarTintColor = UIColor.SystemBlueColor; UINavigationBar.Appearance.TintColor = UIColor.Black; UITableView.Appearance.BackgroundColor = UIColor.SystemGray4Color; 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(); Rg.Plugins.Popup.Popup.Init(); CarouselViewRenderer.Init(); XamEffects.iOS.Effects.Init(); SfCalendarRenderer.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) { Rg.Plugins.Popup.Popup.Init(); TopTabbedRenderer.Init(); new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer(); global::Xamarin.Forms.Forms.Init(); SfCalendarRenderer.Init(); SfTreeViewRenderer.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) { //Xamarin Forms Extended Controls //XfxControls.Init(); global::Xamarin.Forms.Forms.Init(); //SfCalendar SfCalendarRenderer.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) { Rg.Plugins.Popup.Popup.Init(); global::Xamarin.Forms.Forms.Init(); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); FFImageLoading.Forms.Platform.CachedImageRenderer.InitImageSourceHandler(); new Syncfusion.XForms.iOS.ComboBox.SfComboBoxRenderer(); SfCalendarRenderer.Init(); global::Xamarin.Forms.FormsMaterial.Init(); Xamarin.FormsMaps.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(); SfCalendarRenderer.Init(); CarouselViewRenderer.Init(); ImageCircleRenderer.Init(); CachedImageRenderer.Init(); new SfCalendarRenderer(); 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("CollectionView_Experimental"); global::Xamarin.Forms.Forms.Init(); SfEffectsViewRenderer.Init(); this.LoadApplication(new App()); SfButtonRenderer.Init(); SfCheckBoxRenderer.Init(); SfDatePickerRenderer.Init(); SfBorderRenderer.Init(); SfGradientViewRenderer.Init(); SfListViewRenderer.Init(); SfRatingRenderer.Init(); SfRotatorRenderer.Init(); SfComboBoxRenderer.Init(); SfRadioButtonRenderer.Init(); SfPopupLayoutRenderer.Init(); SfExpanderRenderer.Init(); SfCardViewRenderer.Init(); SfBadgeViewRenderer.Init(); SfSegmentedControlRenderer.Init(); Core.Init(); SfMapsRenderer.Init(); SfTabViewRenderer.Init(); SfCalendarRenderer.Init(); SfLinearProgressBarRenderer.Init(); SfChartRenderer.Init(); SfGaugeRenderer.Init(); ////UIView statusBar = UIApplication.SharedApplication.ValueForKey(new NSString("statusBar")) as UIView; ////if (statusBar.RespondsToSelector(new ObjCRuntime.Selector("setBackgroundColor:"))) ////{ //// statusBar.BackgroundColor = Color.FromHex("#e83f94").ToUIColor(); //// statusBar.TintColor = UIColor.White; ////} var result = base.FinishedLaunching(app, options); var safeAreInset = UIApplication.SharedApplication.KeyWindow.SafeAreaInsets; if (safeAreInset.Top > 0) { AppSettings.Instance.IsSafeAreaEnabled = true; AppSettings.Instance.SafeAreaHeight = safeAreInset.Top; } return(result); }
// // 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(); //Settings.AppId = "1659227674127381"; //Settings.DisplayName = "Busy Bee"; SfCalendarRenderer.Init(); SfScheduleRenderer.Init(); global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.Init(); LoadApplication(new App()); FacebookClientManager.Initialize(app, options); 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(); SfComboBoxRenderer.Init(); SfCalendarRenderer.Init(); SfCardViewRenderer.Init(); SfRatingRenderer.Init(); SfAvatarViewRenderer.Init(); SfBadgeViewRenderer.Init(); SfBorderRenderer.Init(); SfListViewRenderer.Init(); SfButtonRenderer.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) { Xamarin.Calabash.Start(); global::Xamarin.Forms.Forms.Init(); SvgImageRenderer.Init(); new SfNumericTextBoxRenderer(); LoadApplication(new App()); SfButtonRenderer.Init(); Syncfusion.XForms.iOS.Border.SfBorderRenderer.Init(); Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init(); SfCalendarRenderer.Init(); SfListViewRenderer.Init(); SfDataFormRenderer.Init(); SfPickerRenderer.Init(); SfTextInputLayoutRenderer.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("CollectionView_Experimental"); global::Xamarin.Forms.Forms.SetFlags("Expander_Experimental"); global::Xamarin.Forms.Forms.SetFlags("Shapes_Experimental"); global::Xamarin.Forms.Forms.Init(); SfCalendarRenderer.Init(); //Syncfusion.XForms.iOS.Accordion.SfAccordionRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfCheckBoxRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfButtonRenderer.Init(); Syncfusion.XForms.iOS.Buttons.SfRadioButtonRenderer.Init(); Syncfusion.XForms.iOS.Expander.SfExpanderRenderer.Init(); LoadApplication(new App()); Notification.iOSNotificationService.InitNotification(app, options); 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(); SfRichTextEditorIOS.Init(); SfTextInputLayoutRenderer.Init(); SfDataFormRenderer.Init(); SfCheckBoxRenderer.Init(); SfRotatorRenderer.Init(); SfRangeSliderRenderer.Init(); SfRatingRenderer.Init(); SfComboBoxRenderer.Init(); SfCalendarRenderer.Init(); SfGradientViewRenderer.Init(); SfBorderRenderer.Init(); SfButtonRenderer.Init(); SfBusyIndicatorRenderer.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(); SfComboBoxRenderer.Init(); SfMapsRenderer.Init(); SfCalendarRenderer.Init(); SfRotatorRenderer.Init(); SfRatingRenderer.Init(); SfBorderRenderer.Init(); SfListViewRenderer.Init(); SfParallaxViewRenderer.Init(); SfButtonRenderer.Init(); AppCenter.Start("982cfe2f-ac1f-4aa1-925c-a5bc8fd892a5", typeof(Analytics), typeof(Crashes)); LoadApplication(new App()); var result = base.FinishedLaunching(app, options); return(result); }
// // 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.FormsMaps.Init(); global::Xamarin.Forms.Forms.Init(); SfChartRenderer.Init(); SfRotatorRenderer.Init(); SfCardLayoutRenderer.Init(); SfCalendarRenderer.Init(); SfCardViewRenderer.Init(); Core.Init(); SfGradientViewRenderer.Init(); SfListViewRenderer.Init(); SfRatingRenderer.Init(); SfBorderRenderer.Init(); SfButtonRenderer.Init(); SfComboBoxRenderer.Init(); SfDatePickerRenderer.Init(); Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init(); global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.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) { Material.Init(); if (options != null) { if (options.ContainsKey(UIApplication.LaunchOptionsRemoteNotificationKey)) { NSDictionary userInfo = (NSDictionary)options[UIApplication.LaunchOptionsRemoteNotificationKey]; if (userInfo != null) { RecieveNotification(userInfo); //CrossBadge.Current.SetBadge(SJMC.Helpers.Settings.NotificationBadageCount); } //DidReceiveRemoteNotification(app, userInfo, null); } } 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); Xamarin.Forms.Forms.SetFlags("CarouselView_Experimental"); Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental"); global::Xamarin.Forms.Forms.Init(); // Add Pop up Rg.Plugins.Popup.Popup.Init(); Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MTU2NjkwQDMxMzcyZTMzMmUzMEMydm9JYmZXaEZlQllmK0dHbnp1azc5MXVTcVhaUlp6OXBOb2xWZm9URXM9"); Syncfusion.SfPdfViewer.XForms.iOS.SfPdfDocumentViewRenderer.Init(); Syncfusion.SfRangeSlider.XForms.iOS.SfRangeSliderRenderer.Init(); SfCalendarRenderer.Init(); new SfRatingRenderer(); Xamarin.FormsGoogleMaps.Init("AIzaSyDZJDdRcGq2OvtQHO4pjLVCOJHLCw463qw"); Xamarin.FormsMaps.Init(); FormsVideoPlayer.Init(); new SfTabViewRenderer(); // FirebasePushNotificationManager.Initialize(options, new NotificationUserCategory[] //{ //new NotificationUserCategory("message",new List<NotificationUserAction> { //new NotificationUserAction("Reply","Reply",NotificationActionType.Foreground) //}), //new NotificationUserCategory("request",new List<NotificationUserAction> { //new NotificationUserAction("Accept","Accept"), //new NotificationUserAction("Reject","Reject",NotificationActionType.Destructive) //}) //},true); // if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0)) // { // var authOptions = UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound; // UNUserNotificationCenter.Current.RequestAuthorization(authOptions, (granted, error) => // { // Console.WriteLine(granted); // }); // UNUserNotificationCenter.Current.Delegate = new MyNotificationCenterDelegate(); // } // else // { // // iOS 9 <= // var allNotificationTypes = UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound; // var settings = UIUserNotificationSettings.GetSettingsForTypes(allNotificationTypes, null); // UIApplication.SharedApplication.RegisterUserNotificationSettings(settings); // } InitPushNotification(); //hamad //CrossBadge.Current.SetBadge(SJMC.Helpers.Settings.NotificationBadageCount); 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)); }
// // 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(); SfMapsRenderer.Init(); Core.Init(); SfRotatorRenderer.Init(); SfGradientViewRenderer.Init(); SfExpanderRenderer.Init(); SfCheckBoxRenderer.Init(); SfComboBoxRenderer.Init(); SfTabViewRenderer.Init(); SfPdfDocumentViewRenderer.Init(); SfRangeSliderRenderer.Init(); SfScheduleRenderer.Init(); SfCalendarRenderer.Init(); SfAutoCompleteRenderer.Init(); SfBusyIndicatorRenderer.Init(); SfRatingRenderer.Init(); SfPullToRefreshRenderer.Init(); SfListViewRenderer.Init(); SfButtonRenderer.Init(); SfBorderRenderer.Init(); SfBadgeViewRenderer.Init(); SfCardViewRenderer.Init(); SfCardLayoutRenderer.Init(); SfAccordionRenderer.Init(); SfShimmerRenderer.Init(); SfAvatarViewRenderer.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }