Exemplo n.º 1
0
        private async void Register_Clicked(object sender, EventArgs e)
        {
            spnrlogin.IsVisible = spnrlogin.IsRunning = true;
            FirebaseAuthentication fbaObj = new FirebaseAuthentication();
            string errMsg = await fbaObj.HandleFirebaseAuthentication(false, txtEmailID.Text, txtPassword.Text);

            spnrlogin.IsVisible = spnrlogin.IsRunning = false;

            if (string.IsNullOrEmpty(errMsg))
            {
                await Navigation.PushAsync(new Home(), true);
            }
            else
            {
                await DisplayAlert("Oops!!", errMsg, "OK");
            }
        }
Exemplo n.º 2
0
 public Controller()
 {
     this.firebaseAutentication = new FirebaseAuthentication();
 }