• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Firebase User Authentication not working properly

Resolved: Firebase User Authentication not working properly

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I’m still very new at this so apologize for any minor mistake I made
I’m trying to learn how to make a login system with email and password using Firebase but it doesn’t seem to work as intended. The code to check whether the email is empty, incorrect format, password length not matching the parameter is not working too. I double check my code before running and I’m not getting any result.
I already connect this app to Firebase and add Firebase Authentication SDK
Clicking the login button will not make any error as intended
loginPage.kt
}
homePage.kt
}
EditText for entering email (in login_page.xml)
For entering password (in login_page.xml)

Answer:

The password should always be greater than or equal to 6 and in your case, the condition is opposite. Fix it like this:
Update:
The issue is that you are using binding but not passing it in setContentView. Fix it like this:

If you have better answer, please add a comment about this, thank you!

android firebase-authentication
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Passing 2 functions in onChange in react

24/03/2023

Resolved: Why doesn’t stringstream consume output during hex formatting?

24/03/2023

Resolved: CMake path for python3 libraries doesn’t change (windows 10)

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.