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"); } }
public Controller() { this.firebaseAutentication = new FirebaseAuthentication(); }