Firebase Email & Password Authentication
Welcome to codingbihar.com. Today we will learn to create a firebase authentication using email password for our android app. For this tutorial we are using the latest Android Studio Iguana a stable version so I recommend you to use same or later version for better understanding.
What do we need?
1. Go to firebase console and login the email which you use to sign in with android studio.
2. Create a project with a name you wish.
3. Open the android studio and create a new project and then add firebase project with android app. You need to install some dependencies also.
How to add firebase project with android app?
There are two ways
1. Firebase assistant
Go to Tools>>Firebase>>Authentication>>Connect to firebase and then click on Add the Firebase SDK to your app
2. Firebase console
Search Firebase in the browser and click the official link then on the top right side click on Go to console.
Create a new project
If you need google analytics for this project you can enable it but in my case I don't need and then click on create project
Its processing
Click on continue
Click on Android as we are creating Android App
Here is New Window where we can use authentication
Click on Authentication
Click on Get started
Click on Email/Password
Enable Email/Password and Click on Save
Now We can use Email/Password Authentication in our Project
Click on User there is no any user
Now we are ready to use Firebase Email/Password authentication in our Android App. To be continue.... in the 2 Part.