// // 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(); FormsPlugin.Iconize.iOS.IconControls.Init(); Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.FontAwesomeModule()) .With(new Plugin.Iconize.Fonts.MaterialModule()); var manager = BITHockeyManager.SharedHockeyManager; manager.Configure("68bc18fcb44a43a3978f485db8f2fe09"); manager.StartManager(); manager.Authenticator.AuthenticateInstallation(); global::Xamarin.Forms.Forms.Init(); CarouselViewRenderer.Init(); CachedImageRenderer.Init(); LoadApplication(new App()); AnimationViewRenderer.Init(); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); CachedImageRenderer.Init(); Xamarin.Forms.Forms.Init(this, savedInstanceState); App.Init(new Pages.CameraPageHelperAndroid(), new Model.FileHelperAndroid(), new SuperNotesWiFi3D.Pages.StyleHelper(), new Model.FacebookApiClientAndroid(), new Model.PDFHelperAndroid(), new Model.EMailHelperAndroid(), new Model.TestHelperAndroid()); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; Forms.SetFlags(new string[] { "Brush_Experimental", "SwipeView_Experimental", "CarouseView_Experimental", "IndicatorView_Experimental" }); base.OnCreate(savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); global::Xamarin.Forms.FormsMaterial.Init(this, savedInstanceState); Xamarin.Essentials.Platform.Init(Application); ZXing.Net.Mobile.Forms.Android.Platform.Init(); Rg.Plugins.Popup.Popup.Init(this); CachedImageRenderer.Init(true); ImageCircleRenderer.Init(); CrossCurrentActivity.Current.Init(this, savedInstanceState); CrossFingerprint.SetCurrentActivityResolver(() => CrossCurrentActivity.Current.Activity); CarouselView.FormsPlugin.Android.CarouselViewRenderer.Init(); var ignore = typeof(SvgCachedImage); LoadApplication(new App()); }
protected override void OnCreate(Bundle bundle) { //TabLayoutResource = Resource.Layout.Tabbar; //ToolbarResource = Resource.Layout.Toolbar; base.Window.RequestFeature(WindowFeatures.ActionBar); base.SetTheme(Resource.Style.MainTheme); FormsAppCompatActivity.ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); CachedImageRenderer.Init(false); var ignore = typeof(SvgCachedImage); DependencyService.Register <ToastNotificatorImplementation>(); // Register your dependency ToastNotificatorImplementation.Init(this); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { Window.AddFlags(WindowManagerFlags.DrawsSystemBarBackgrounds); base.OnCreate(savedInstanceState); Xamarin.Forms.Forms.Init(this, savedInstanceState); Syncfusion.XForms.Android.Core.Core.Init(this); // FFImageLoading library CachedImageRenderer.Init(true); this.LoadApplication(new App()); // Change the status bar color this.SetStatusBarColor(Android.Graphics.Color.Argb(255, 0, 0, 0)); // Enable scrolling to the page when the keyboard is enabled Xamarin.Forms.Application.Current.On <Xamarin.Forms.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize); }
// // 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(); CachedImageRenderer.Init(); var xamApp = new App(); MobileCore core = MobileCoreIOS.Init(xamApp.GetType().Assembly); if (SilentlyRun(() => AuthService.InitializeService())) { // Authentication service available var authConfig = AuthenticationConfig.Builder.RedirectUri("org.aerogear.mobile.example:/callback").Build(); var authService = MobileCore.Instance.GetService <IAuthService>(); authService.Configure(authConfig); } SecurityService.InitializeService(); ImageCircleRenderer.Init(); LoadApplication(xamApp); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { Invoker = this; TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; //base.Window.RequestFeature(WindowFeatures.ActionBar); //base.SetTheme(Resource.Style.MainTheme); base.Window.RequestFeature(WindowFeatures.ActionBar); // Name of the MainActivity theme you had there before. // Or you can use global::Android.Resource.Style.ThemeHoloLight base.SetTheme(Resource.Style.MainTheme); base.OnCreate(savedInstanceState); global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental"); Rg.Plugins.Popup.Popup.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CardsViewRenderer.Preserve(); CachedImageRenderer.Init(true); LoadApplication(new App()); Window.SetStatusBarColor(Android.Graphics.Color.Argb(255, 0, 0, 0)); //here }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); CachedImageRenderer.Init(); // Code for starting up the Xamarin Test Cloud Agent #if ENABLE_TEST_CLOUD Xamarin.Calabash.Start(); #endif var manager = BITHockeyManager.SharedHockeyManager; manager.Configure("5f78cdcad3b9495c9721ebcf1b3d097a"); manager.StartManager(); manager.Authenticator.AuthenticateInstallation(); // This line is obsolete in crash only builds App.ScreenWidth = (double)(UIScreen.MainScreen.Bounds.Width); App.ScreenHeight = (double)(UIScreen.MainScreen.Bounds.Height); 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) { CachedImageRenderer.Init(); CarouselViewRenderer.Init(); Xamarin.FormsGoogleMaps.Init("api_key_here"); InitChartView(); InitXamanimation(); global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); base.FinishedLaunching(app, options); //Custom app UINavigationBar.Appearance.SetBackgroundImage(new UIImage(), UIBarMetrics.Default); UINavigationBar.Appearance.ShadowImage = new UIImage(); UINavigationBar.Appearance.BackgroundColor = UIColor.Clear; UINavigationBar.Appearance.TintColor = UIColor.White; UINavigationBar.Appearance.BarTintColor = UIColor.Clear; UINavigationBar.Appearance.Translucent = true; return(true); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); var toolbar = FindViewById <Android.Support.V7.Widget.Toolbar>(Resource.Id.toolbar); if (toolbar != null) { SetSupportActionBar(toolbar); SupportActionBar.Title = "Hello from Appcompat Toolbar"; } CrossCurrentActivity.Current.Init(this, savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); UserDialogs.Init(this); CachedImageRenderer.Init(true); CachedImageRenderer.InitImageViewHandler(); LoadApplication(new App(contactsService)); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); #region CONFIG STARTS // Code for FFImageLoading CachedImageRenderer.Init(); // Code for GoogleMaps Xamarin.FormsGoogleMaps.Init(this, savedInstanceState); #endregion CONFIG ENDS LoadApplication(new App()); }
// // 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(); CachedImageRenderer.Init(); LoadApplication(new App()); //Console.WriteLine("Family Names"); //foreach (var familyNames in UIFont.FamilyNames) { // Console.WriteLine($"Font Family Name {familyNames}"); //} //foreach (var familyNames in UIFont.FamilyNames.Where(f => f.StartsWith("Font Awesome")).OrderBy(c => c).ToList()) { // Console.WriteLine(" * " + familyNames); // foreach (var familyName in UIFont.FontNamesForFamilyName(familyNames).OrderBy(c => c).ToList()) { // Console.WriteLine(" *-- " + familyName); // } //} return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); CachedImageRenderer.Init(true); //var config = new FFImageLoading.Config.Configuration() //{ // VerboseLogging = false, // VerbosePerformanceLogging = false, // VerboseMemoryCacheLogging = false, // VerboseLoadingCancelledLogging = false, // Logger = new CustomLogger(), //}; //ImageService.Instance.Initialize(config); CrossCurrentActivity.Current.Init(this, bundle); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); Forms.SetFlags("SwipeView_Experimental"); CachedImageRenderer.Init(true); Rg.Plugins.Popup.Popup.Init(this, savedInstanceState); AppCenter.Start("f38a5d72-667c-4eeb-8a2c-1c534ccd9b3e", typeof(Analytics), typeof(Crashes)); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CardsViewRenderer.Preserve(); LoadApplication(new App()); TouchEffect.Android.TouchEffectPreserver.Preserve(); Lottie.Forms.Droid.AnimationViewRenderer.Init(); XF.Material.Droid.Material.Init(this, savedInstanceState); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); UserDialogs.Init(this); CachedImageRenderer.Init(true); ViewModelLocator.Instance.Register <IOperatingSystemVersionProvider, OperatingSystemVersionProvider>(); LoadApplication(new App()); //LoadApplication(UXDivers.Gorilla.Droid.Player.CreateApplication( // this, // new UXDivers.Gorilla.Config("Good Gorilla") // )); Console.Write("Loading passed"); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); CrossCurrentActivity.Current.Init(this, bundle); CachedImageRenderer.Init(true); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App(new AndroidInitializer())); var layout = FindViewById <LinearLayout>(Resource.Id.toolbar_button_layout); var button = new Button(this); var layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.WrapContent); button.LayoutParameters = layoutParams; // layout.AddView(button); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); Instance = this; Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); FormsGoogleMaps.Init(this, savedInstanceState); // Google map. FormsGoogleMapsBindings.Init(); PayCardsRecognizerService.Initialize(this); CachedImageRenderer.Init(false); UserDialogs.Init(this); Effects.Init(); LoadApplication(new App()); }
// // 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(); SfExpanderRenderer.Init(); SfCheckBoxRenderer.Init(); Core.Init(); SfSegmentedControlRenderer.Init(); SfRotatorRenderer.Init(); SfRatingRenderer.Init(); SfComboBoxRenderer.Init(); SfListViewRenderer.Init(); CachedImageRenderer.Init(); SfBadgeViewRenderer.Init(); SfGradientViewRenderer.Init(); SfBorderRenderer.Init(); SfButtonRenderer.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); pushMesseges.Configure(); CachedImageRenderer.Init(); LoadApplication(application: new Yakutia.App()); if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0)) { var authOptions = UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound; UNUserNotificationCenter.Current.RequestAuthorization(authOptions, (granted, error) => { Console.WriteLine(granted); }); } UIApplication.SharedApplication.RegisterForRemoteNotifications(); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle savedInstanceState) { CrossCurrentActivity.Current.Init(this, savedInstanceState); DependencyService.Register <IParentWindowLocatorService, AndroidParentWindowLocatorService>(); TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental"); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CachedImageRenderer.Init(true); CachedImageRenderer.InitImageViewHandler(); LoadApplication(new App()); }
public override void OnCreate() { base.OnCreate(); //If debug you should reset the token each time. #if DEBUG FirebasePushNotificationManager.Initialize(this, true); #else FirebasePushNotificationManager.Initialize(this, false); #endif FirebasePushNotificationManager.NotificationContentTitleKey = "donaNotificationTitle"; FirebasePushNotificationManager.NotificationContentTextKey = "donaNotificationMessage"; RegisterActivityLifecycleCallbacks(this); CurrentPlatform.Init(); CachedImageRenderer.Init(); UserDialogs.Init(this); DependencyService.Register <INetworkInformation, NetworkInformation>(); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); 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); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); if (!GetString(Resource.String.google_app_id).Equals("1:799235809725:android:d40b68b2638551f5")) { throw new SystemException("Invalid Json file"); } GetTokenFcm(); CachedImageRenderer.Init(); }
/// <summary> /// Invoked when the application is launched normally by the end user. Other entry points /// will be used such as when the application is launched to open a specific file. /// </summary> /// <param name="e">Details about the launch request and process.</param> protected override void OnLaunched(LaunchActivatedEventArgs e) { Frame rootFrame = Window.Current.Content as Frame; // Do not repeat app initialization when the Window already has content, // just ensure that the window is active if (rootFrame == null) { // Create a Frame to act as the navigation context and navigate to the first page rootFrame = new Frame(); rootFrame.NavigationFailed += OnNavigationFailed; var assembliesToInclude = new List <Assembly>() { typeof(CachedImage).GetTypeInfo().Assembly, typeof(CachedImageRenderer).GetTypeInfo().Assembly }; CachedImageRenderer.Init(); Xamarin.Forms.Forms.Init(e, assembliesToInclude); if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) { //TODO: Load state from previously suspended application } // Place the frame in the current Window Window.Current.Content = rootFrame; } if (rootFrame.Content == null) { // When the navigation stack isn't restored navigate to the first page, // configuring the new page by passing required information as a navigation // parameter rootFrame.Navigate(typeof(MainPage), e.Arguments); } // Ensure the current window is active Window.Current.Activate(); }
protected override void OnCreate(Bundle savedInstanceState) { if (ContextCompat.CheckSelfPermission(this, Manifest.Permission.ReadExternalStorage) == (int)Permission.Granted) { // We have permission, go ahead and use the camera. } else { ActivityCompat.RequestPermissions(this, new System.String[] { Manifest.Permission.ReadExternalStorage }, 1); } if (ContextCompat.CheckSelfPermission(this, Manifest.Permission.WriteExternalStorage) == (int)Permission.Granted) { // We have permission, go ahead and use the camera. } else { ActivityCompat.RequestPermissions(this, new System.String[] { Manifest.Permission.WriteExternalStorage }, 1); } TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; CommonAPI.Instance = new DroidCommonAPI(); base.OnCreate(savedInstanceState); AppProvider.DefaultSuperPath = Path.Combine(Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryPictures).AbsolutePath, "KoromoCopy"); UserDialogs.Init(this); CrossCurrentActivity.Current.Init(Application); CachedImageRenderer.Init(true); XamEffects.Droid.Effects.Init(); Xamarin.Essentials.Platform.Init(this, savedInstanceState); Xamarin.Forms.Forms.SetFlags("UseLegacyRenderers"); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); global::Xamarin.Forms.FormsMaterial.Init(this, savedInstanceState); LoadApplication(new App()); //YoutubeDL.test_run(); }
//FirebaseAuth mAuth = FirebaseAuth.getInstance(); protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); Plugin.CurrentActivity.CrossCurrentActivity.Current.Init(this, bundle); Xfx.XfxControls.Init(); UserDialogs.Init(this); ImageCircleRenderer.Init(); Forms.SetFlags("FastRenderers_Experimental"); FacebookSdk.SdkInitialize(this); Rg.Plugins.Popup.Popup.Init(this, bundle); global::Xamarin.Forms.Forms.Init(this, bundle); DependencyService.Register <ToastNotification>(); // Register your dependency ToastNotification.Init(this); CachedImageRenderer.Init(enableFastRenderer: true); //CarouselView.FormsPlugin.Android.CarouselViewRenderer.Init(); DependencyService.Register <IGoogleManager, GoogleManager>(); DependencyService.Register <IFacebookManager, FacebookManager>(); FirebaseApp.InitializeApp(this); FormsMaps.Init(this, bundle); LoadApplication(new App()); ////FirebasePushNotificationManager.ProcessIntent(this, Intent); CheckForGoogleServices(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; var start = DateTime.Now; var prepopulated = "cards.db.cache"; var realmDB = "cards.db"; var documentsPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); var finalPath = Path.Combine(documentsPath, realmDB); bool toReplace = !File.Exists(finalPath) || ConfigurationManager.DatabaseVersion != ConfigurationManager.CurrentDatabaseVersion; if (toReplace) { using (var db = Assets.Open(prepopulated)) using (var dest = File.Create(finalPath)) { db.CopyTo(dest); } } CarouselViewRenderer.Init(); CachedImageRenderer.Init(false); //Forms.SetFlags("FastRenderers_Experimental"); #if !DEBUG AppCenter.Start("7cd326d7-e39b-4243-9a5a-1e3da85441fd", typeof(Analytics), typeof(Crashes)); #endif Forms.Init(this, bundle); UserDialogs.Init(this); LoadApplication(new App()); XFGloss.Droid.Library.Init(this, bundle); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { #if ENABLE_TEST_CLOUD Xamarin.Calabash.Start(); #endif UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB(28, 43, 67); //bar background UINavigationBar.Appearance.TintColor = UIColor.White; //Tint color of button items UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes() { //Font = UIFont.FromName("HelveticaNeue-Light", (nfloat)20f), TextColor = UIColor.White }); UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false); UITabBar.Appearance.TintColor = UIColor.FromRGB(28, 43, 67); UIView statusBar = UIApplication.SharedApplication.ValueForKey(new NSString("statusBar")) as UIView; if (statusBar.RespondsToSelector(new ObjCRuntime.Selector("setBackgroundColor:"))) { statusBar.BackgroundColor = UIColor.FromRGB(28, 43, 67); } global::Xamarin.Forms.Forms.Init(); global::Xamarin.FormsMaps.Init(); Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); CachedImageRenderer.Init(); if (!string.IsNullOrEmpty(appCenterKey)) { AppCenter.Start(appCenterKey, typeof(Analytics), typeof(Crashes)); } 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); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); CachedImageRenderer.Init(true); ImageCircleRenderer.Init(); //UserDialogs.Init(this); Instance = this; var app = new App(); MobileCoreAndroid.Init(app.GetType().Assembly, ApplicationContext); IAuthService authService = AuthService.InitializeService(); var authConfig = AuthenticationConfig.Builder.RedirectUri("org.aerogear.mobile.example:/callback").Build(); authService.Configure(authConfig); LoadApplication(app); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); #region FFImageLoadingConfig CachedImageRenderer.Init(true); var config = new FFImageLoading.Config.Configuration() { VerboseLogging = false, VerbosePerformanceLogging = false, VerboseMemoryCacheLogging = false, VerboseLoadingCancelledLogging = false }; ImageService.Instance.Initialize(config); #endregion global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }