Verify user Email Address | Firebase Email Authentication Tutorials | Android Studio | Part 4/4

  Рет қаралды 65,892

SmallAcademy

SmallAcademy

4 жыл бұрын

Learn How to verify the user email address, when new user signup in our android application. Send verify email to user email address with verification link and let the user verify email.
if the email is not verified we will display popup message to the user. and let them resend the verification link again from firebase.
Firebase Authentication System using Email:
• Login & Register Andro...
Email Authentication System Source code:
smallacademy.co/blog/android/...
Follow us :
Facebook: / smallacademy
Join Our Facebook Group:
/ 2422862671359127
Video Includes :
firebase phone authentication android tutorial,firebase android authentication tutorial,android studio tutorial - firebase authentication (2019 version),#1 firebase phone authentication android tutorial - sign in,Login & Register Using Firebase,Android Studio Authentication Tutorials,login and register android studio,login and register android studio firebase,firebase authentication android,firebase authentication tutorial,android studio tutorial for beginners
#firebase #androidstudio #verifyEmail

Пікірлер: 100
@RuiCoelhoFreestyle
@RuiCoelhoFreestyle 3 жыл бұрын
Thanks! your tutorials are really helpful
@hermespatrick
@hermespatrick 4 жыл бұрын
Sir, how to add for example "company" table associated to users? and maybe a spinner for registration? where the companies registered in the DB would be shown during registration? for exmaple User Patrick select from the spinner company "oracle" , thanks !
@samurbandy
@samurbandy 4 жыл бұрын
Love all ur video great job ton of thanks
@yasirnasir4522
@yasirnasir4522 4 жыл бұрын
tanks ir g..jazakAllah o khair
@Impromptu21
@Impromptu21 4 жыл бұрын
Bro what if i want user to go in next activity only if he verifies his email
@HinazukiKayo12
@HinazukiKayo12 3 жыл бұрын
It's not good to make this as part 4 when there's a past profile video you made but it's not part 3. You should have made this part 5 if you want to make part 4 as profile tutorial. It's confusing for beginners like me. And there are a lot of codes which has not been explained very well, there are a lot of shortcuts which maybe you expects viewers to understand it since it's a basic for you. I like your past tutorials better than your new one, I hope you don't make shortcuts and teach us the way you teach when you are not popular yet.
@safiaismail8806
@safiaismail8806 3 жыл бұрын
is there a way to make it so they cant log in until the email is verified?
@aradhanakailasam7683
@aradhanakailasam7683 4 жыл бұрын
Do you have a GPS location tutorial for the android studio
@shusmitadasgupta2463
@shusmitadasgupta2463 2 жыл бұрын
Sir, after clicking the source code link, it doesn't show any code but a webpage of small academy, where I can go some flight training page or something like that.. What would I do?
@arushisharma6001
@arushisharma6001 4 жыл бұрын
My app is running fine everything is working...I want to add one thing that I don't want the user to show any details without verification plz tell me how to hide the data of unverified user
@ooyen
@ooyen 3 жыл бұрын
help, when i change the textview and button to gone visibility, the textview and button run away from the layout.. how....what to do??
@EChhattisgarh
@EChhattisgarh 4 жыл бұрын
Hi, first of all, thanks for your videos. Can you help me to customize email verification mail that comes to our email id?
@Back2Pal
@Back2Pal 2 жыл бұрын
thanks for your nice tutorial. I want to add a test account for my firebase authentication and make it as verified email, I read about firebase admin sdk but I do't know how to use it. could you make a tutorial about it, and thanks
@RanjithKumar-qj9mn
@RanjithKumar-qj9mn 4 жыл бұрын
How often can i click on verify email button? I am not getting the toast message thanks in advance
@FilmsSaaveON
@FilmsSaaveON 3 жыл бұрын
is there a way to implement a method to prevent malicious user? like someone who run something to make 1000's of reads or writes??? :( thats the only consideration that i have before finish my app
@arifharsowiyono7242
@arifharsowiyono7242 4 жыл бұрын
hello ur tutorial is amazing, can you continue and make a tutorial how to upload picture on firebase storage?
@SmallAcademy
@SmallAcademy 4 жыл бұрын
that tutorial series is already on channel , please check the playlist
@MrSlypire
@MrSlypire 4 жыл бұрын
Please create next video on this project, instead of user confirming email address, make something like your account must be confirmed by administrator! thanks in advance
@abdullahnilam4002
@abdullahnilam4002 4 жыл бұрын
hi, why my apps did not log out after verify to open run the apps again?
@pratikdhoriyani5160
@pratikdhoriyani5160 4 жыл бұрын
Hello sir... I have a small problem... As learned from your beautiful video I have added the VERIFICATION PART in my project... So every user need to verify their email before login... But I want to add some user manually in Firebase ...and I did that also into my project and I successfully added that... BUT main problems is that when I try to LOGIN using that email I am having error message like "Please verify your email...".... But as I told you earlier I added user manually in Firebase so I didn't receive any verification email into that perticular account..... So is there any way to login using manually added users into my app... Please if it is available and if you have solution then please let me know because I need to complete my project as early as possible... THANK YOU IN ADVANCE 😊😊😊...
@abdullahnilam4002
@abdullahnilam4002 4 жыл бұрын
or how to make the text and button gone without closing apps?
@Ytec_Offical
@Ytec_Offical 2 жыл бұрын
How to fix the TAG in ( Log.d). Please tell me any answer
@adritarahmantory4897
@adritarahmantory4897 4 жыл бұрын
Thank u so much
@sswolfstag6889
@sswolfstag6889 3 жыл бұрын
im legit lost....and really need your help, i swear i cannot find the code from the minute mark of 03.14 in the line about user.ID = fAuth all the way down to document reference...i mean where is the video explaing how to do that part? i covered the whole 3 videos...part 1, part 2 and part 3 and was now on part 4 everything going fine until i see this code that you didnt show on the other 3 parts.......please help me out as i really need your help.....
@tasneemsf3421
@tasneemsf3421 4 жыл бұрын
why didnt you import picasso in video?.....As you have used in sourcecode
@satdevlpr
@satdevlpr 2 жыл бұрын
How about verifying Users with Admin?. after Admin verifies user account User can login. How to design this?
@shusmitadasgupta2463
@shusmitadasgupta2463 2 жыл бұрын
After login it is going to the register page.. again if I login, then app is not working.. what will I do?
@kirillisovich6265
@kirillisovich6265 3 жыл бұрын
Sorry man, i need this code 5:31 (documentReference.addSnapshotListener(this, and I don't know further), can you give this part? please
@malekguettiche5677
@malekguettiche5677 3 жыл бұрын
Hi, first of all, thanks for your videos I'm clicking on the verification links immediately after getting the verification mail, but still the answer is only: Try verifying your email again Your request to verify your email has expired or the link has already been used how to fix it?
@shoaibahmed9278
@shoaibahmed9278 3 жыл бұрын
Thanks bro
@rajshreepakhare438
@rajshreepakhare438 3 жыл бұрын
getting error like - java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.firebase.auth.UserInfo.isEmailVerified()' on a null object reference. how to fix it?
@kishanabhishek7724
@kishanabhishek7724 4 жыл бұрын
cannot resolve symbol "isEmailVerified" ?? How to solve this Error?
@deepamitchaudhary
@deepamitchaudhary 4 жыл бұрын
Please Please Please help Hi Sir, Actually, I have two apps in a single project, 1st is a customer app and 2nd one is company app, both apps share the same firebase database. And both the apps are identical in terms of login and registration, When started writing code for the 2nd app, that time I copied 1st project and modified all the activities(android java code) as per my needs. The issue I am facing is when customers register in the customer app and then the same login credentials are being used to login in company app without registering to it or vice-versa. I don't understand why this is happening. I saw one thing that for both the project SHA-1 key is the same after generating from the android studio. I want to restrict login to without registering to it for both the apps, the one should be able to login in the app in which he/she has registered, not in 2nd app where he/she haven't registered, Kindly help me so that I can move forward with my development. Thanks & Regards, Amit Chaudhary
@tanjimahmed7399
@tanjimahmed7399 3 жыл бұрын
Make an vedio how to resend verification mail
@danielsenik2432
@danielsenik2432 4 жыл бұрын
Great video, i want to make so that when somebody hasnt verified his email address for 3 days for example he gets deleted from the database, can you help me to do that ? thanks in advance !
@SmallAcademy
@SmallAcademy 4 жыл бұрын
It can be done but i am not sure exactly how, need to some research
@harindraprasadgupta976
@harindraprasadgupta976 4 жыл бұрын
Make video on rent app using firebase authentication
@dogukanisim9528
@dogukanisim9528 4 жыл бұрын
Can you make navigation drawer video ? material design
@SmallAcademy
@SmallAcademy 4 жыл бұрын
sure, i have already made one here : kzfaq.info/get/bejne/mdSoidWV38eomKs.html ( Note in this video old support library is used) , Watch this for Adding Navigation Drawer With Androidx ( New Version n Recommended) kzfaq.info/get/bejne/b9WnYLOZu5PToIU.html
@abdullahnilam4002
@abdullahnilam4002 4 жыл бұрын
hope you can reach my question
@poojaagrawal7621
@poojaagrawal7621 4 жыл бұрын
Sir, if i want to add more fields in the firebase store but not at the time of signup . How can it be done?
@SmallAcademy
@SmallAcademy 4 жыл бұрын
You can follow same procedure of creating reference to firebase collection and inserting data after the login is done in any other activity.
@cameronmcclymont9980
@cameronmcclymont9980 4 жыл бұрын
Hi, I'm having an issue where my app crashes if I login and logout twice in the same session. It says 'Attempt to invoke virtual method ...DocumentSnapshot.getString(java.lang.String) on a null object reference'. I think it's to do with userID being null when I assign it in MainActivity after logging out once. Then documentReference becomes null too which I use later on. Any help would be appreciated, thanks! Edit: it is something to do with the Firebase rules because when I change the read/write permission condition to 'if true' instead of 'if request.auth.uid != null', it works fine. Is there any other way to fix it though because I would still like some security! Thanks
@blehehecksheep7656
@blehehecksheep7656 3 жыл бұрын
Hi, I had the same problem last night. In MainActivity.java change the onEvent function adding the "if (e !=null)..." from the following code: documentReference.addSnapshotListener(this, new EventListener() { @Override public void onEvent(@Nullable DocumentSnapshot documentSnapshot, @Nullable FirebaseFirestoreException e) { if (e != null) { Log.d(TAG, "Failed to read data from Firestore.", e); return; } String emailValue = documentSnapshot.getString("email"); email.setText(emailValue); String ibanValue = documentSnapshot.getString("iban"); iban.setText(ibanValue); } }); The reason why we got this error is because the function gets called also when we logout but when we're logged out we don't have the permission to access Firestore and so it ends in error. I know this question is from 4 months ago but hopefully my answer will help some future viewers :)
@AzisMulki1007
@AzisMulki1007 3 жыл бұрын
@@blehehecksheep7656 thanks a lot dude, my problem solved now :)
@krishnabharati9108
@krishnabharati9108 4 жыл бұрын
Bro plz make next part after finishing note app
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Okay, what do you want me to do next ?
@syedwasay3087
@syedwasay3087 3 жыл бұрын
where is part 3 ?
@akhileshedd
@akhileshedd 4 жыл бұрын
Make next video please
@angoupanbalongjam730
@angoupanbalongjam730 4 жыл бұрын
I have a error in TAG ( Log.d). Can you please tell me why
@anthonyduriez9204
@anthonyduriez9204 3 жыл бұрын
If you still have the problem or for info just enter "TAG" instead of TAG
@itayhouri3926
@itayhouri3926 3 жыл бұрын
@@anthonyduriez9204 YOO thanks I had this problem too my friend. you helped me
@rihaworld9942
@rihaworld9942 4 жыл бұрын
I have written the same code but there is a issue that when I register the account I got a sign in but after this when I log in again it shows an invalid password and then I reset the password then I logged in. reason and solution plzz
@SmallAcademy
@SmallAcademy 4 жыл бұрын
please share the problem in our facebook group
@UGuyU_
@UGuyU_ 2 жыл бұрын
Hey how can I just send a mail from firebase saying hey Ronnie ,guy invite you to install this app ?
@SmallAcademy
@SmallAcademy 2 жыл бұрын
you cant do that.
@terecam
@terecam 4 жыл бұрын
i dont have FirebaseFirestore how to implementation, thanks a lot
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Please watch first part of the video from playlist
@jayeshdoshi8018
@jayeshdoshi8018 3 жыл бұрын
Go to Google search firebase. Com
@lioritach7119
@lioritach7119 4 жыл бұрын
Hi, can i get please the source code for this verify user email, at the link given was only login and registration
@SmallAcademy
@SmallAcademy 4 жыл бұрын
I will update it asap
@user-ru6cf4ud9v
@user-ru6cf4ud9v 4 жыл бұрын
can i make that link open activity in my app like if he click this link from gmail app it's open my home layout automatically and his name and other data show
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Yeah, you need to look it up in google for that
@user-ru6cf4ud9v
@user-ru6cf4ud9v 4 жыл бұрын
@@SmallAcademy i try to google it but i can't get any thing
@charlesngugi99
@charlesngugi99 4 жыл бұрын
my app closes after logging in, what might be the problem
@SmallAcademy
@SmallAcademy 4 жыл бұрын
You should check in logcat for error when app closes itself
@akhileshedd
@akhileshedd 4 жыл бұрын
Make for resetting password without sending email.. and deleting account for app
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Sure.
@nurulashajeffridin2056
@nurulashajeffridin2056 4 жыл бұрын
can i get the source code for this verify user email, at the link given was only login and registration.. please :)
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Okay
@aandi3673
@aandi3673 4 жыл бұрын
bro we want video on Fragmentation and Recycle-view too
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Okay
@aandi3673
@aandi3673 4 жыл бұрын
Thanks bro
@misterguard3247
@misterguard3247 4 жыл бұрын
how to make user keep logging in when closing the apps ?
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Watch the video on firebase email authentication from my channel page
@misterguard3247
@misterguard3247 4 жыл бұрын
@@SmallAcademy oky thanks
@bhaskarrock4450
@bhaskarrock4450 2 жыл бұрын
scource code
@HD-xk4xr
@HD-xk4xr 4 жыл бұрын
Hi, I have followed all your tutorials up till this one. However, on this tutorial my app runs crashes without USB connection. I have looked at the Logcat and the following error is showing on this line. Can you please advise? userID = fAuth.getCurrentUser().getUid(); Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.firebase.auth.FirebaseUser.getUid()' on a null object reference at com.example.andriod.attendanceapp.MainActivity.onCreate(MainActivity.java:50)
@SmallAcademy
@SmallAcademy 4 жыл бұрын
getcurrentuser is returning null means you are not logged into the app.
@HD-xk4xr
@HD-xk4xr 4 жыл бұрын
@@SmallAcademy I have tried logging in but then app only crashes if I log out of the app? How do I resolve this. Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.firebase.auth.FirebaseUser.getUid()' on a null object reference at com.example.andriod.attendanceapp.MainActivity.onCreate(MainActivity.java:50)
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Please share the source code of the project
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Please put it in github and share the link
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Join our fb group to discuss this problem: m.facebook.com/groups/2422862671359127?ref=m_notif&notif_t=group_comment
@vinithavini5102
@vinithavini5102 3 жыл бұрын
1 35 starts actually
@entertainvinesidd
@entertainvinesidd 4 жыл бұрын
sir how to the fetch gps location of the user.
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Check gps tutorial on the channel video page
@meddahlynda4213
@meddahlynda4213 4 жыл бұрын
lien svp
@ahmedutuber
@ahmedutuber 4 жыл бұрын
i did all steps codes but not running app
@SmallAcademy
@SmallAcademy 4 жыл бұрын
let me know what error you are getting
@malekguettiche5677
@malekguettiche5677 3 жыл бұрын
Hi, first of all, thanks for your videos I'm clicking on the verification links immediately after getting the verification mail, but still the answer is only: Try verifying your email again Your request to verify your email has expired or the link has already been used Anyone have an idea what could be the issue?
@SmallAcademy
@SmallAcademy 3 жыл бұрын
i am not sure, please do some research on google.
@malekguettiche5677
@malekguettiche5677 3 жыл бұрын
@@SmallAcademy Thank you for your reply. I searched, but couldn't find an answer. If you have an idea, I would appreciate it if you share it with me.thank you
@azhanashraf6207
@azhanashraf6207 3 жыл бұрын
@@malekguettiche5677 This happens because of automatic verification by google. Check your firebase console and you can see that it is verified there
@VainerToast
@VainerToast 3 жыл бұрын
7:50
@46.shubhamc.s.e74
@46.shubhamc.s.e74 4 ай бұрын
Please use dark mode or viewers eyes might die
@Jokel39
@Jokel39 3 жыл бұрын
Huhu
@tanmoysaha2271
@tanmoysaha2271 3 жыл бұрын
Who are confusing about extra code watch this kzfaq.info/get/bejne/iM94etp7xNuWZ58.html first, then come to 3rd and 4th(this) part
@knzdespair
@knzdespair 2 жыл бұрын
is there a way to make it so they cant log in until the email is verified?
@abulkalam6693
@abulkalam6693 2 жыл бұрын
7:05
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 9 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 38 МЛН
What Is Two-Factor Authentication?
2:07
PCMag
Рет қаралды 54 М.
Login and Registration using Firebase in Android
36:33
Codes Easy
Рет қаралды 336 М.
What Are APIs? - Simply Explained
6:49
Simply Explained
Рет қаралды 877 М.
ToRung short film: 🐶puppy is hungry🥹
0:32
ToRung
Рет қаралды 30 МЛН
Don´t WASTE FOOD pt.4 🍜
0:20
LosWagners ENG
Рет қаралды 13 МЛН
I Just Wanted to Build a House! 😭
0:22
ToolTastic
Рет қаралды 6 МЛН
She guess best choice of sweets from her boyfriend 😋😅😎
0:29