// // 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(); StatesButtonRenderer.Init(); Distribute.DontCheckForUpdatesInDebug(); LoadApplication(new App(new iOSInitializer())); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); StatesButtonRenderer.Init(); LoadApplication(new App()); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); StatesButtonRenderer.Init(); 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); if (Intent.Extras != null) { foreach (var key in Intent.Extras.KeySet()) { if (key != null) { var value = Intent.Extras.GetString(key); Log.Debug(TAG, "Key: {0} Value: {1}", key, value); } } } CreateNotificationChannel(); UserDialogs.Init(this); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); StatesButtonRenderer.Init(); Distribute.SetEnabledForDebuggableBuild(true); LoadApplication(new App(new AndroidInitializer())); IsPlayServicesAvailable(); Task.Run(() => { FirebaseInstanceId.Instance.DeleteInstanceId(); Console.WriteLine($"Force token: {FirebaseInstanceId.Instance.Token}"); }); }