How to make User Registration and Login with email and password in Android with Firebase


In this blog, I will tell how you can create mobile verification in Android with the help of Firebase.


1. Create a new Android Project.

2 .go to  firebase plugin by  tools>firebase>Authantication>
 *connect app to firebase
 *add firebase authantication




3.in app level grade import core dependency of firebase if missing-


4.create auth instance of firebase-

5. Now there are three methods for creating an account, verify email, sign in in firebase
these methods you can customize as u want.
 create account-
  verify user-
  sign in-
*create an account method called first of all to create an account.
*verification called to verify and it sends email to users email.
*after varification, u can check status and SignIn

6.check status if email verified or not-

7.if email verified then u can use a sigin function to login  hope this will helpful for
you.


                   Download Full project- CLICK HERE

Post a Comment

0 Comments