Email SignIn in Android App with help of FireBase



project Link - CLICKME
Email SignIn with help of FireBase




          what is firebase Auth?
Almost every app collects data of the user to give them access to use their app.there
are several reasons to collect data and creating user account one of the main reason to differentiate them and to give them access to what data they use they can save it.
so almost every have had different types of login. Some common examples of login are
login with facebook,loginwithG+, email login, signup with email, twitter login. So there are many auth providers in Android.
Firebase Auth is an Auth provider API by which you can set authentication in Android App by various Auth provides like facebook, twitter, G+, Gmail, email, GitHub.

email auth-
email auth in firebase by which you can set user login with the help of their email as
user write their email in firebase and click create an account then it sends a mail on your email to verify account and if you click on verify then account successfully verified.
Email Authentication is fully secured and all security feature provided by firebase.you can go on firebase doc  to view more about these methods in detail and you can customize it UI by your own way


            1. create 4 empty activity of name given below-

              1.MainActivity   (already made when creating a new project)
        2.LoginActivity
        3.RegisterActivity
        4.ForgetAndChangePasswordActivity  
 
      now their xml file also made

    
  * Then connect app with firebase and go to firebase console 
   and on email Signin
 
 
         2 now copy paste all xml and java code

                MainActivity.java 



                   LoginActivity.java


                            RegisterActivity.java


 
 
          forgetandchangepasswordactivity.java
      

                activity_forget_and_change_password.xml


             activity_login.xml






                           activity_main.xml





            activity_register.xmls


  
         AT LAST
   add values>colour.xml
    <color name="white">#ffffff</color>
 
 
and
build.grade(module app)
in dependency add-
       compile 'com.android.support:design:24.0.0' 

 

Post a Comment

10 Comments

  1. thanks alot for this info
    would like to know how to create a user profile

    ReplyDelete
  2. An ever increasing number of individuals are pulled in to these catching diversions every day. neko atsume tips

    ReplyDelete
  3. This is genuinely an awesome read for me. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome! Nights At Freddy'S 2 Mod Apk

    ReplyDelete
  4. We are the highly skillful team of Digital Advertising experts who promise to improve the reputation of your brand within a committed time. www.digiorbite.com

    ReplyDelete
  5. Thanks for sharing the useful blog about Email sign-in in Android App with the help of Firebase through your Examples and Source Code.

    Android App Development Company in Coimbatore

    ReplyDelete
  6. Thanks for sharing great post. I really like this post.

    Web Design Company in Anand

    ReplyDelete
  7. WOW wonderful this helped me alot in my project

    ReplyDelete
  8. please tel me about textlayout and where lable file created

    ReplyDelete
  9. Great tutorials, i follow this one, but its crashes all the times.
    I can't registrate, or forgottpassword.
    Please help.

    ReplyDelete