public App() { InitializeComponent(); Authenticator = Ioc.Resolve <IAuthenticate>(); //Authenticator = DependencyService.Get<IAuthenticate>(); MainPage = Ioc.Resolve <IViewResolver>().ResolveView <MainPageViewModel>(); MainPage.BindingContext = Ioc.Resolve <MainPageViewModel>(); Ioc.Resolve <INavigator>().Navigation = MainPage.Navigation; AppCenter.Start("android=70d18fca-e15e-47dd-aac6-c07748c9c3f2;", typeof(Analytics), typeof(Crashes), typeof(Distribute)); Plugin.Iconize.Iconize .With(new Plugin.Iconize.Fonts.FontAwesomeBrandsModule()) .With(new Plugin.Iconize.Fonts.FontAwesomeRegularModule()) .With(new Plugin.Iconize.Fonts.FontAwesomeSolidModule()); //initialise background jobs. JobBuilder.ScheduleJobs(); }