Firebase Authentication Tutorial [ Updated ] Check it now : bit.ly/2WUGhEo
@senju316 жыл бұрын
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
@senju316 жыл бұрын
I'll add more to this soon.
@senju316 жыл бұрын
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.
@spacebar49925 жыл бұрын
can i make a query inside the onComplete method ? there are different kind of users for my application thank you.
@bhavyajain26364 жыл бұрын
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
@zenxd49937 жыл бұрын
Hey guys.. i want to thank u all from simplified coding ..u guys helps me alot in my project! Thank you so much !! 😊
@Adycter4 жыл бұрын
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
@mohammedshamim35756 жыл бұрын
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); :)
@SimplifiedCoding6 жыл бұрын
You can get the source code from this GitHub repository Source Code: github.com/probelalkhan/firebase-authentication-tutorial
@developerpoint32107 жыл бұрын
Great tutorial ! Do series on firebase recyclerview in details it's not on KZbin pls...
@Ash-qs3vr6 жыл бұрын
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
@yasirrasheed30824 жыл бұрын
Thank You So Much For This Video .... It Helps me A Lot In My Final Year Project ... Thank You Once Again.
@YADA700736 жыл бұрын
I learn alot from your tutorials. Thank you very much bro.
@cyclotech69894 жыл бұрын
Unable to navigate to other activity after pressing login also showing no errors in logcat and ide
@ioannisvasileiou92646 жыл бұрын
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
@shivanisrivastav43915 жыл бұрын
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?
@harsh21146 жыл бұрын
Great! If I want to add username also then will it possible ?? because createUserWithEmailAndPassword has only two parameters
@princekumarsingh26054 жыл бұрын
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?
@deven55787 жыл бұрын
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
@Dilshan1535 жыл бұрын
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?
@shailendramandal22936 жыл бұрын
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.
@tuitioneercalendar7146 жыл бұрын
This is the best tutorial so far! Thanks a lot..subscribed and liked your video
@sleepywolf92996 жыл бұрын
sir, is this using sharedpreference?? so you dont need to login everytime the apps killed
@lostexecutable46434 жыл бұрын
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);
@visheshtiwari64056 жыл бұрын
After successful signup how can you send to profile activity ? That will send to login activity ,and user already login then what ?
@Hildreim6 жыл бұрын
AMAZING explanation, thank you so much !
@bootavo7 жыл бұрын
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-rv7sw4 жыл бұрын
Thank You So Much Sir
@raghavagarwal67347 жыл бұрын
Great work.Please release your videos a bit faster rand waiting to see your videos on login with Facebook and google.
@MohammedAbdulatef6 жыл бұрын
is it possible to sign up with three texts { email, pass, and phone number }
@RaviKumar-wy3vs6 жыл бұрын
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?
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
@ridhammodh26014 жыл бұрын
Best explanation! Thank you!!
@jaydipkalkani18947 жыл бұрын
You are doing great work!! Keep it up!!
@Manishkumar-we9qb6 жыл бұрын
You are grate sir... I am waiting for your more videos...
@ragavendravignesh10286 жыл бұрын
when i clicked sign up button it displays a toast message "User registered successfully" but the data is not added to the database
@hughjass60006 жыл бұрын
Hi, just want to know if there is any reason you didn't use authstatelistener. Is there any difference?
@SimplifiedCoding6 жыл бұрын
+dylan villarruel i will use it in coming videos
@AbdulRehman-gn9yd7 жыл бұрын
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?
@greenmarcaugusto87476 жыл бұрын
Everytime I click the sign-up Textview the application goes crush like it is stopped why is that so ? Plsss help
@Onlawngkri7 жыл бұрын
Sir, make video of when user has Login he can send and received notification
@mdsahil36575 жыл бұрын
Very helpful
@shakilanaz72446 жыл бұрын
my app keeps stopping....what to do???.....
@samirakouk19836 жыл бұрын
thank u sooo much you're such amazing ,we are waiting for moore videos
@prasannavenkatesh42775 жыл бұрын
very useful sir!.
@sagarghare98297 жыл бұрын
heelo belal where is third video based on what you said last some minutes of 2 nd video.
@SimplifiedCoding7 жыл бұрын
+Sagar Ghare i am in holiday.. out of town.. will upload it after 2 days
@sagarghare98297 жыл бұрын
ok ..enjoy!!!
@aditisharma83986 жыл бұрын
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..?
@SimplifiedCoding6 жыл бұрын
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); Use this
@aditisharma83986 жыл бұрын
Yes it worked Thanks!
@christopherteddymienarto91155 жыл бұрын
Thank you it works!
@bryanltobing4 жыл бұрын
i was search for this question . thanks
@burakinal52126 жыл бұрын
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
@SimplifiedCoding6 жыл бұрын
+Burak İNAL check the reason for the crash in the log
@adarshaadi37096 жыл бұрын
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
@gowent6 жыл бұрын
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.
@victoraguilar25526 жыл бұрын
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);
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-kf8ff5 жыл бұрын
sir thanks kese kahu many many more thanks sir ji
@jonsnow97586 жыл бұрын
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.
@shaybismut25305 жыл бұрын
i have the same problem you fund solution?
@vbvgtm6 жыл бұрын
thanks a lot sir...
@TasbeehSarhanb6 жыл бұрын
Great Job !
@syedzakriya20087 жыл бұрын
Do we have a forgot Password feature on Firebase Auth?
Check the updated tutorial here Firebase Authentication Tutorial for Android - [ FREE COURSE ]: kzbin.info/aero/PLk7v1Z2rk4hhUCFBSnVTECda_MdTp3GnQ
@christophervradis72856 жыл бұрын
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.
@christophervradis72856 жыл бұрын
Consider it solved i just saw your another video about getting data, you are just a god in this, keep it up.
@shahidkhan-yt9bh7 жыл бұрын
Great Work
@ronanmacfhlannchadha77746 жыл бұрын
How can we allow the user to change the email or password?
@SimplifiedCoding6 жыл бұрын
+Ronan Mac Fhlannchadha yes.. we do this in next videos..
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
@sazzadhossainnirjhor55826 жыл бұрын
very informative ... thanx
@deeproy72926 жыл бұрын
thank you
@RankOoze6 жыл бұрын
Sir it showing an message while clicking on Login button i.e. "Your email id is already in use by another account"
@SimplifiedCoding6 жыл бұрын
+Santosh_blog that means the email is already registered
@RankOoze6 жыл бұрын
but it has to show the profile activity but it is showing "Your email id is already in use by another account"
@SimplifiedCoding6 жыл бұрын
+Santosh_blog make sure you are in login screen not in registration screen
@RankOoze6 жыл бұрын
Simplified Coding give ur email id i will send u the code
@RankOoze6 жыл бұрын
is logout action is needed
@patrickdadon57946 жыл бұрын
WHen i try login it keeps saying the app has stopped working?
@willydonald65286 жыл бұрын
me too
@samirakouk19836 жыл бұрын
me too
@goodpoison98616 жыл бұрын
same here, is there a solution for this matter?
@manavale1326 жыл бұрын
In your AndroidManifest.xml file you have to add in
@chaplawd94716 жыл бұрын
what does this do ?
@baharl29816 жыл бұрын
log in part starts at 4:08
@vinaykumarnagarjuna24527 жыл бұрын
Hi sir, Greetings for the day, Kindly post more videos we are waiting for more videos....thank you
@SimplifiedCoding7 жыл бұрын
+Vinay Kumar Nagarjuna yeah recorded the next part.. will upload it tonight..
@ajit19016 жыл бұрын
gr8
@senju316 жыл бұрын
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.
@miftahabdulrahman9556 жыл бұрын
Mine is showing an error message,, please can you send me the code at (miftahabdul99@gmail.com) .. Thanks in advance
@1234567cube6 жыл бұрын
ascout168@gmail.com
@dodgywarden87886 жыл бұрын
Shubhammadhavi9@gmail.com
@Rv-ko1bj6 жыл бұрын
ravin23@live.co.uk
@ridzuanroslan38336 жыл бұрын
thanks for the 1st source code. it woks :D . please send this one to me at irridzuan12@gmail.com . really appreciate it
@omarcode62456 жыл бұрын
hello great tutorial ! is necessary use FLAG_ACTIVITY_CLEAR_TOP . greetings from Perú
@learnuptech17237 жыл бұрын
i am thankfull to you if u can give me good reply? :)
@GHTAY-hs8mp4 жыл бұрын
Once click in log in the app crash. And the intent is not working for the previous video.
@GHTAY-hs8mp4 жыл бұрын
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-hs8mp4 жыл бұрын
Problem solved now because I less put on clicklistener