Esempio n. 1
0
 protected override void OnStart()
 {
     if (FirebaseService.Instance.LoginWithUserSettings(UserSettings.GetEmail(), UserSettings.GetPassword()))
     {
         MainPage = new View.MainMasterDetailPage();
     }
     else
     {
         MainPage = new View.LoginPage();
     }
 }
Esempio n. 2
0
        private void CheckAuthToken()
        {
            var firebaseAuthToken = UserSettings.GetFirebaseAuthToken();

            if (firebaseAuthToken != null)
            {
                MainPage = new View.MainMasterDetailPage();
            }
            else
            {
                MainPage = new View.LoginPage();
            }
        }