Android Firebase User Email Registration Authentication Tutorial

Hello Guys this is another one tutorial regarding to Firebase . As we all know that using firebase we can do many things in the area of Android Application development. Now with Firebase User Registration Authentication method we can give the facility to our app user to automatic authenticate and register with our app. There is no need to purchase any extra cost web hosting for it and also no server side coding required. Because as we all know Firebase do the rest. So here is the complete step by step tutorial for Android Firebase User Email Registration Authentication Tutorial.

10. Here you go now your google-services.json file has been successfully generated. Hit the Download google-services.json button to download this file physically into your computer.

11. Next step is to add google-services.json inside your project. So open your project and put( Copy ) google-services.json file inside YourProjectName/app folder. For example my firebase project name is Firebase-AndroidJSon.com then my app folder located is Firebase-AndroidJSon.com/app . Now copy the google-services.json file into app folder like i did in below screenshot.

// Adding click listener to Sign Up Button.
SignUp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
// Calling method to check EditText is empty or no status.
CheckEditTextIsEmptyOrNot();
// If EditText is true then this block with execute.
if(EditTextStatus){
// If EditText is not empty than UserRegistrationFunction method will call.
UserRegistrationFunction();
}
// If EditText is false then this block with execute.
else {
Toast.makeText(MainActivity.this, "Please fill all form fields.", Toast.LENGTH_LONG).show();
}
}
});