#2 Firebase Authentication Tutorial - User Login

  Рет қаралды 57,546

Simplified Coding

Simplified Coding

Күн бұрын

Пікірлер: 112
@SimplifiedCoding
@SimplifiedCoding 5 жыл бұрын
Firebase Authentication Tutorial [ Updated ] Check it now : bit.ly/2WUGhEo
@senju31
@senju31 6 жыл бұрын
Breakdown of Video (Update!): 0:24 secs-Number of users registered in your application via Firebase 1:04-2:59 secs-If the user is already registered then how do you show the error message that this user is already registered 3:29- SignUpActivity code (some of it is viewable at this point) 3:32-4:03-Test Code/Run Emulator Again to test "You are already registered" feature 4:14-4:31-Login (part) inside MainActivity 4:33-case 4:48-Method(private void userLogin) 4:55-5:12-FirebaseAuth Object & Initialization 5:42-6:44-Copy and Paste Validation Section from SignUpActivity to MainActivity (specifically under private void userLogin) 6:16-Initialize Progress Bar 6:44-Validation is done 7:13-7:34-addOnCompleteListener 7:35-8:18-If & Else Statement 8:18-8:38New Activity Created (ProfileActivity) 8:45-9:17-Open Intent(inside MainActivity) 9:38-Explanation for the usage of FLAG 10:54-11:14-Delete Code under if statement and replace that code, through copying and pasting with intent code under if statement in MainActivity 11:14-Run Emulator Again
@senju31
@senju31 6 жыл бұрын
I'll add more to this soon.
@senju31
@senju31 6 жыл бұрын
It worked for me. I appreciate your work and effort. The watching of a tutorial is much easier and digestible than all the information across Google's various pages and instructions.
@spacebar4992
@spacebar4992 5 жыл бұрын
can i make a query inside the onComplete method ? there are different kind of users for my application thank you.
@bhavyajain2636
@bhavyajain2636 4 жыл бұрын
in the starting for what conditions else inside else will occur or if it occur what will be the toast message and how we can add forget password authentication thing
@zenxd4993
@zenxd4993 7 жыл бұрын
Hey guys.. i want to thank u all from simplified coding ..u guys helps me alot in my project! Thank you so much !! 😊
@Adycter
@Adycter 4 жыл бұрын
Hello my friend, do u know how to login using custom username? so I can register with username, email and password. I still find any way to do it
@mohammedshamim3575
@mohammedshamim3575 6 жыл бұрын
Hello Belal Vai... For clearing the Login page or Sign Up page from the Top of the Stack you have to use - intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); :)
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
You can get the source code from this GitHub repository Source Code: github.com/probelalkhan/firebase-authentication-tutorial
@developerpoint3210
@developerpoint3210 7 жыл бұрын
Great tutorial ! Do series on firebase recyclerview in details it's not on KZbin pls...
@Ash-qs3vr
@Ash-qs3vr 6 жыл бұрын
sir.. the flag activity clear top is not working......if i press back button it goes to loin screen again.... i used the command properly... can u clear this doubt of mine..thanks.............. awesome vids...thnks fr the wonderful work
@yasirrasheed3082
@yasirrasheed3082 4 жыл бұрын
Thank You So Much For This Video .... It Helps me A Lot In My Final Year Project ... Thank You Once Again.
@YADA70073
@YADA70073 6 жыл бұрын
I learn alot from your tutorials. Thank you very much bro.
@cyclotech6989
@cyclotech6989 4 жыл бұрын
Unable to navigate to other activity after pressing login also showing no errors in logcat and ide
@ioannisvasileiou9264
@ioannisvasileiou9264 6 жыл бұрын
Hi my friend.. Great Course,congrats...i have question...if i add username editext in Signup activity and i want the user to login with it,which method do i have to use ? Thanks a lot
@shivanisrivastav4391
@shivanisrivastav4391 5 жыл бұрын
if user is registrar and signin sucessfully then after some time when user want to use the app they cannot see the login page they directly goes to the main activity,how i can do that?
@harsh2114
@harsh2114 6 жыл бұрын
Great! If I want to add username also then will it possible ?? because createUserWithEmailAndPassword has only two parameters
@princekumarsingh2605
@princekumarsingh2605 4 жыл бұрын
Sir every time I close the application and restart it login activity displays. What I want is if once logged in, directly the user information activity appears unless logged out. How can that be achieved?
@deven5578
@deven5578 7 жыл бұрын
simplified coding sir i want to ask you a question that i am a shayari app so with what procedure i can put the written shayaris in my app in android studio or simply how can we put the information in an informative app such as 500 facebook status app, hanuman chalisa etc. can you suggest any video of yours which can solve my problem. It will be very helpful for me. thanks
@Dilshan153
@Dilshan153 5 жыл бұрын
I just want to design a simple login page connecting to firebase which authenticates with email and password, does anyone have a link or source code that provides ONLY THE LOGIN PAGE?
@shailendramandal2293
@shailendramandal2293 6 жыл бұрын
Hello bro. I have done all your process as you shown in your video. When I type correct email id in sign in editbox then its ok. But when i type anything like (jdslfjkdljf) and after click in sign in then app crash. How can i fix it. please reply Or make a video on this topic please.
@tuitioneercalendar714
@tuitioneercalendar714 6 жыл бұрын
This is the best tutorial so far! Thanks a lot..subscribed and liked your video
@sleepywolf9299
@sleepywolf9299 6 жыл бұрын
sir, is this using sharedpreference?? so you dont need to login everytime the apps killed
@lostexecutable4643
@lostexecutable4643 4 жыл бұрын
The Activitys aren't cleared with intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK You should write this: intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
@visheshtiwari6405
@visheshtiwari6405 6 жыл бұрын
After successful signup how can you send to profile activity ? That will send to login activity ,and user already login then what ?
@Hildreim
@Hildreim 6 жыл бұрын
AMAZING explanation, thank you so much !
@bootavo
@bootavo 7 жыл бұрын
Hi, you have amazing tutorials, but firebase is common platform, maybe u can do tutorials about “Amazon SNS”, is very similar push notifications in firebase, regards
@saurabhmishra-rv7sw
@saurabhmishra-rv7sw 4 жыл бұрын
Thank You So Much Sir
@raghavagarwal6734
@raghavagarwal6734 7 жыл бұрын
Great work.Please release your videos a bit faster rand waiting to see your videos on login with Facebook and google.
@MohammedAbdulatef
@MohammedAbdulatef 6 жыл бұрын
is it possible to sign up with three texts { email, pass, and phone number }
@RaviKumar-wy3vs
@RaviKumar-wy3vs 6 жыл бұрын
Sir, what is the use of flag in it(FLAG_ACTIVITY_CLEAR_TOP) and also when we click back by android device button, it reach again login or signup activity from profile activity. Waht should i do?
@deeproy7292
@deeproy7292 6 жыл бұрын
developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP
@deeproy7292
@deeproy7292 6 жыл бұрын
you will know it's effect once you have put some chain of activities after profile activity and then moving to the profile activity from one of those chained activities...do tell me after implementing it...let me know how it works
@ridhammodh2601
@ridhammodh2601 4 жыл бұрын
Best explanation! Thank you!!
@jaydipkalkani1894
@jaydipkalkani1894 7 жыл бұрын
You are doing great work!! Keep it up!!
@Manishkumar-we9qb
@Manishkumar-we9qb 6 жыл бұрын
You are grate sir... I am waiting for your more videos...
@ragavendravignesh1028
@ragavendravignesh1028 6 жыл бұрын
when i clicked sign up button it displays a toast message "User registered successfully" but the data is not added to the database
@hughjass6000
@hughjass6000 6 жыл бұрын
Hi, just want to know if there is any reason you didn't use authstatelistener. Is there any difference?
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
+dylan villarruel i will use it in coming videos
@AbdulRehman-gn9yd
@AbdulRehman-gn9yd 7 жыл бұрын
thanks for the effort sir and please make a complete android project in this series with advance features such as admin panel module or client panel modules or shopping cart system like in ecommerce android app in firebase many of your tutorials contains basic crud operations not advance why?
@greenmarcaugusto8747
@greenmarcaugusto8747 6 жыл бұрын
Everytime I click the sign-up Textview the application goes crush like it is stopped why is that so ? Plsss help
@Onlawngkri
@Onlawngkri 7 жыл бұрын
Sir, make video of when user has Login he can send and received notification
@mdsahil3657
@mdsahil3657 5 жыл бұрын
Very helpful
@shakilanaz7244
@shakilanaz7244 6 жыл бұрын
my app keeps stopping....what to do???.....
@samirakouk1983
@samirakouk1983 6 жыл бұрын
thank u sooo much you're such amazing ,we are waiting for moore videos
@prasannavenkatesh4277
@prasannavenkatesh4277 5 жыл бұрын
very useful sir!.
@sagarghare9829
@sagarghare9829 7 жыл бұрын
heelo belal where is third video based on what you said last some minutes of 2 nd video.
@SimplifiedCoding
@SimplifiedCoding 7 жыл бұрын
+Sagar Ghare i am in holiday.. out of town.. will upload it after 2 days
@sagarghare9829
@sagarghare9829 7 жыл бұрын
ok ..enjoy!!!
@aditisharma8398
@aditisharma8398 6 жыл бұрын
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); I have written this statement, but still the top activities are not getting cleared and I'm getting the login screen back as I click the back button. Why so..?
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); Use this
@aditisharma8398
@aditisharma8398 6 жыл бұрын
Yes it worked Thanks!
@christopherteddymienarto9115
@christopherteddymienarto9115 5 жыл бұрын
Thank you it works!
@bryanltobing
@bryanltobing 4 жыл бұрын
i was search for this question . thanks
@burakinal5212
@burakinal5212 6 жыл бұрын
Sir, when I press the Singuptext from the login activity , ıt crash the app. Why it is happenning? Also when I enter the email and password "Your email id is already in use by another account" but I try the diffrent email that is not signup , ıt accepts and open the profile activity directly
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
+Burak İNAL check the reason for the crash in the log
@adarshaadi3709
@adarshaadi3709 6 жыл бұрын
Gradle sync failed (3s 973ms) im having this error . i done unchech offline work also in gradle.. still showing error i installed new gradle also still error
@gowent
@gowent 6 жыл бұрын
After Login the back button takes me back to the login page, as if the "intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);" is not working. waiting for a solution. Thanks man.
@victoraguilar2552
@victoraguilar2552 6 жыл бұрын
Hello, I'm doing it this way, and works for me, hope it does for you too. intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
@rishabhlingam1223
@rishabhlingam1223 4 жыл бұрын
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
@putrasinaga5401
@putrasinaga5401 5 жыл бұрын
when i run in my phone, and want to submit login by filling out email and password the App has stop can you help me?
@LaxmanKumar-kf8ff
@LaxmanKumar-kf8ff 5 жыл бұрын
sir thanks kese kahu many many more thanks sir ji
@jonsnow9758
@jonsnow9758 6 жыл бұрын
Whenever I'm trying to Sign In by putting existing user details its Failing to Sign In. But if I create user in Firebase console by using Add User and put those details for Sign In it works fine. Unable find out the ERROR.
@shaybismut2530
@shaybismut2530 5 жыл бұрын
i have the same problem you fund solution?
@vbvgtm
@vbvgtm 6 жыл бұрын
thanks a lot sir...
@TasbeehSarhanb
@TasbeehSarhanb 6 жыл бұрын
Great Job !
@syedzakriya2008
@syedzakriya2008 7 жыл бұрын
Do we have a forgot Password feature on Firebase Auth?
@chaplawd9471
@chaplawd9471 6 жыл бұрын
www.androidhive.info/2016/06/android-getting-started-firebase-simple-login-registration-auth/
@sidhantbidaliya1574
@sidhantbidaliya1574 4 жыл бұрын
fu*kin good explanation ... awesome
@SimplifiedCoding
@SimplifiedCoding 4 жыл бұрын
Check the updated tutorial here Firebase Authentication Tutorial for Android - [ FREE COURSE ]: kzbin.info/aero/PLk7v1Z2rk4hhUCFBSnVTECda_MdTp3GnQ
@christophervradis7285
@christophervradis7285 6 жыл бұрын
Hey man, first of all amazing series of videos. I have a question if you could help me cause i am struggling to find a solution. I am using firebase auth with custom user fields which i save into my db. My problem is with intents. Let's say i am in login screen i type something in email i type something in password, and i dont press login. If i click on register to move on the registration form, everything is fine BUT if i dont click the text to get me in login form, and i just press the back button of my android phone, i get back to login form and the text is still there. That's not much of a problem, my main problem is at login. When i login, i move to my activity, all good, but if i press the button of my android phone to go back, it gets me to login form, text is still there and progressive bar keeps spinning. How do I stop that? Thanks in advance ! =) P.s. if i click login again everything goes fine and i redirect to my activity, i just dont wanna see those texts and that bar spinning and spinning. Lova ya & subscribed.
@christophervradis7285
@christophervradis7285 6 жыл бұрын
Consider it solved i just saw your another video about getting data, you are just a god in this, keep it up.
@shahidkhan-yt9bh
@shahidkhan-yt9bh 7 жыл бұрын
Great Work
@ronanmacfhlannchadha7774
@ronanmacfhlannchadha7774 6 жыл бұрын
How can we allow the user to change the email or password?
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
+Ronan Mac Fhlannchadha yes.. we do this in next videos..
@chaplawd9471
@chaplawd9471 6 жыл бұрын
www.androidhive.info/2016/06/android-getting-started-firebase-simple-login-registration-auth/
@learnuptech1723
@learnuptech1723 7 жыл бұрын
thanks but can u tell how we can insert an image in firebase or inserting multiple images etc with making selecting file choosen options such as because i want to make a blood donation app in which donar and accepter has there profiles in profile they insert name email pass profile pics select country select blood group and verifcation is based on mobile phone number and after this the donor and accepter can communicate or find theri location by using google maps and the user can also search nearest donor of the blood he need etc????????? can u implment these features
@sazzadhossainnirjhor5582
@sazzadhossainnirjhor5582 6 жыл бұрын
very informative ... thanx
@deeproy7292
@deeproy7292 6 жыл бұрын
thank you
@RankOoze
@RankOoze 6 жыл бұрын
Sir it showing an message while clicking on Login button i.e. "Your email id is already in use by another account"
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
+Santosh_blog that means the email is already registered
@RankOoze
@RankOoze 6 жыл бұрын
but it has to show the profile activity but it is showing "Your email id is already in use by another account"
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
+Santosh_blog make sure you are in login screen not in registration screen
@RankOoze
@RankOoze 6 жыл бұрын
Simplified Coding give ur email id i will send u the code
@RankOoze
@RankOoze 6 жыл бұрын
is logout action is needed
@patrickdadon5794
@patrickdadon5794 6 жыл бұрын
WHen i try login it keeps saying the app has stopped working?
@willydonald6528
@willydonald6528 6 жыл бұрын
me too
@samirakouk1983
@samirakouk1983 6 жыл бұрын
me too
@goodpoison9861
@goodpoison9861 6 жыл бұрын
same here, is there a solution for this matter?
@manavale132
@manavale132 6 жыл бұрын
In your AndroidManifest.xml file you have to add in
@chaplawd9471
@chaplawd9471 6 жыл бұрын
what does this do ?
@baharl2981
@baharl2981 6 жыл бұрын
log in part starts at 4:08
@vinaykumarnagarjuna2452
@vinaykumarnagarjuna2452 7 жыл бұрын
Hi sir, Greetings for the day, Kindly post more videos we are waiting for more videos....thank you
@SimplifiedCoding
@SimplifiedCoding 7 жыл бұрын
+Vinay Kumar Nagarjuna yeah recorded the next part.. will upload it tonight..
@ajit1901
@ajit1901 6 жыл бұрын
gr8
@senju31
@senju31 6 жыл бұрын
If anyone wants the code from me on this video (I also have the code for the last video as well), just drop your email below.
@miftahabdulrahman955
@miftahabdulrahman955 6 жыл бұрын
Mine is showing an error message,, please can you send me the code at (miftahabdul99@gmail.com) .. Thanks in advance
@1234567cube
@1234567cube 6 жыл бұрын
ascout168@gmail.com
@dodgywarden8788
@dodgywarden8788 6 жыл бұрын
Shubhammadhavi9@gmail.com
@Rv-ko1bj
@Rv-ko1bj 6 жыл бұрын
ravin23@live.co.uk
@ridzuanroslan3833
@ridzuanroslan3833 6 жыл бұрын
thanks for the 1st source code. it woks :D . please send this one to me at irridzuan12@gmail.com . really appreciate it
@omarcode6245
@omarcode6245 6 жыл бұрын
hello great tutorial ! is necessary use FLAG_ACTIVITY_CLEAR_TOP . greetings from Perú
@learnuptech1723
@learnuptech1723 7 жыл бұрын
i am thankfull to you if u can give me good reply? :)
@GHTAY-hs8mp
@GHTAY-hs8mp 4 жыл бұрын
Once click in log in the app crash. And the intent is not working for the previous video.
@GHTAY-hs8mp
@GHTAY-hs8mp 4 жыл бұрын
Yeah. I found that the register page and log in page the Id need to be same then can work. Still intent not work when I click already have account in register page
@GHTAY-hs8mp
@GHTAY-hs8mp 4 жыл бұрын
Problem solved now because I less put on clicklistener
#3 Firebase Authentication Tutorial - Saving User Information
27:07
Simplified Coding
Рет қаралды 66 М.
#1 Firebase Authentication Tutorial - Creating User
22:25
Simplified Coding
Рет қаралды 181 М.
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 3,2 МЛН
Советский мультфильм про нашу жизнь !
13:49
Дедушка Аргентинца
Рет қаралды 6 МЛН
Вот что умеет SSH!!! Более 9 фичей!!!
21:51
Realtime User
Рет қаралды 38 М.
🔒📱 Authentication with Supabase • Flutter Tutorial
13:49
Mitch Koko
Рет қаралды 2,7 М.
Building a Mobile App in 2024: The BEST Technologies
13:31
Dan Ilies
Рет қаралды 91 М.
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 3,2 МЛН