/// <summary> /// Gets the application page. /// </summary> public void GetToApplication() { if (DeviceIsShared) { CredentialsManager.DeleteSystemCredentials(); CredentialsManager.DeleteCredentials(); } if (GeofenceManager == null) { GeofenceManager = new GeofenceManager(); } if (ImageHelper != null) { ImageHelper.CheckForImageToUpload(); NetworkManager.AddNetworkStateListener(ImageHelper); } ActionManager.GetActionList(); LocationManager = new LocationManager(); NavBar = new PheidiTabbedPage(); if (LocalisationEnabled) { LocationManager.StartLocalisation(); } if (MainPage == null) { MainPage = new NavigationPage(new SystemLoginPage()); } MainPage.Navigation.PushAsync(NavBar); }