public override bool FinishedLaunching(UIApplication app, NSDictionary options) { FirebasePushNotificationManager.Initialize(options, true); global::Xamarin.Forms.Forms.Init(); KeyboardOverlap.Forms.Plugin.iOSUnified.KeyboardOverlapRenderer.Init(); global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.Init(); FormsMaps.Init(); FFImageLoading.Forms.Touch.CachedImageRenderer.Init(); var dummy = new FFImageLoading.Forms.Touch.CachedImageRenderer(); var ignore = new FFImageLoading.Transformations.CircleTransformation(); App.ScreenHeight = (int)UIScreen.MainScreen.Bounds.Height; App.ScreenWidht = (int)UIScreen.MainScreen.Bounds.Width; // KeyboardOverlapRenderer.Init(); LoadApplication(new App()); var manager = BITHockeyManager.SharedHockeyManager; manager.Configure("440c8d3c2763449c86a17a06d73c26e6"); //TODO: CAMBIAR manager.StartManager(); InitNotifiactions(app, options); return(base.FinishedLaunching(app, options)); }
public override bool OpenUrl(UIApplication application, NSUrl receivedurl, string sourceApplication, NSObject annotation) { AsNumAssemblyHelper.HoldAssembly(); global::Xamarin.Forms.Forms.Init(); FloatingActionButtonRenderer.InitRenderer(); OxyPlot.Xamarin.Forms.Platform.iOS.PlotViewRenderer.Init(); DependencyService.Register <ToastNotification>(); Plugin.Toasts.ToastNotification.Init(); //global::Xamarin.FormsMaps.Init(); FormsPlugin.Iconize.iOS.IconControls.Init(); var dummy = new FFImageLoading.Forms.Touch.CachedImageRenderer(); FFImageLoading.Forms.Touch.CachedImageRenderer.Init(); FormsPlugin.Iconize.iOS.IconControls.Init(); Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.FontAwesomeModule()); Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.IoniconsModule()); ShapeRenderer.Init(); ImageCircleRenderer.Init(); string url = receivedurl.ToString(); //string[] values = Intent.DataString.ToString().Split('/'); // string inttype = values[values.Length - 1]; string integrationtype = url.Trim().Contains("google_fit") ? "2" : "1"; string integration = url.Substring(url.IndexOf("code=") + 4 + 1); //LoadApplication(new App(integrationtype, integration)); LoadApplication(new App(integrationtype, integration)); /* now store the url somewhere in the app’s context. The url is in the url NSUrl object. The data is in url.Host if the link as a scheme as superduperapp://something_interesting */ return(true); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); Xamarin.FormsMaps.Init(); TKCustomMapRenderer.InitMapRenderer(); LoadApplication(new App()); FFImageLoading.Forms.Touch.CachedImageRenderer.Init(); var dummy = new FFImageLoading.Forms.Touch.CachedImageRenderer(); var ignore = new FFImageLoading.Transformations.CircleTransformation(); 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) { AsNumAssemblyHelper.HoldAssembly(); global::Xamarin.Forms.Forms.Init(); FloatingActionButtonRenderer.InitRenderer(); OxyPlot.Xamarin.Forms.Platform.iOS.PlotViewRenderer.Init(); DependencyService.Register <ToastNotification>(); Plugin.Toasts.ToastNotification.Init(); //global::Xamarin.FormsMaps.Init(); FormsPlugin.Iconize.iOS.IconControls.Init(); var dummy = new FFImageLoading.Forms.Touch.CachedImageRenderer(); FFImageLoading.Forms.Touch.CachedImageRenderer.Init(); FormsPlugin.Iconize.iOS.IconControls.Init(); Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.FontAwesomeModule()); Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.IoniconsModule()); ShapeRenderer.Init(); ImageCircleRenderer.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }