This might help you :) 👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com Source Code: github.com/JohannesMilke/firebase_auth_verify_email
Thank you, this is very helpful! Could you please make a video on running a firebase app in offline mode? I.e., handling dropped connection, caching, delayed submission of data to the cloud firestore (e.g., when the user connects to the internet again), etc. your work is greatly appreciated!
Great tutorial! I have a question: If a user press the cancel button to not verify mail anymore, the mail and password information will still be displayed in the Firebase Database?
Great Video I have 2 questions. First, is it possible to verify with a code instead of a link. Secondly, can i verify the email address first before inputting user data like the password, username, phone number.
@@HeyFlutter The app I'm currently developing, upon registration the user have to verify the email (an OTP code should be sent to the email address of the user) before being logged into the app. Using the method on flutter documentation, it only sends a link to the user not an OTP code. So I'm asking if it's possible to send an OTP code instead of a link. The second question is I want the user to input only the email first, then after verifying the email he can them input other information like username, age, gender, fullname and password to complete the registration. Cause all the implementation I'm seeing online you must input both email and password for email verification. Another questions please, how to do reset password from the app. I want to be able to reset the password on the app. Thank you
Thank You Prince Muleya! Follow this link: stackoverflow.com/questions/51652134/check-if-an-email-already-exists-in-firebase-auth-in-flutter-app I hope you will get your answer 🙂
Sir How to access your github. I already send many request's as you mentioned in your Readme but not getting any email please help me? Love from Pakistan
Hello Johannes, thanks for another great tutorial. Unfortunately, this method will not work as FirebaseUser.emailVerified status does not get updated after clicking the link from the verification email. I am testing this on the emulator, but I am clicking on the link from the email from the browser, which is not on the emulator. The User data does not get refreshed / updated with verification status even after calling User.reload(). This is again, if the email client is on another device than the app. If you have encountered this problem and know a fix please advise. Thank you again for all your awesome tutorials.
Hello, Tareq Alothman! Follow this link: stackoverflow.com/questions/59854615/firebase-flutter-reload-not-refreshing-user-isemailverified, I hope it will solve your problem. Thank You 🙂
Hello, Mohamed Ramadan! Follow this link: stackoverflow.com/questions/46283859/firebase-email-verification-goes-to-spam-folder, I hope it will solve your problem. Thank You 🙂
Thanks for the video! I was wondering what I should do if I want to add the user information to firestore after email verification? Is it possible? Thanks
if we have 2 different page for sign in and log in (one for creating the account and the other for logging in, which most of the app does) then in order to avoid user logging in without verifying email we need to delete the user account as soon as he clicks cancel. even in that case there is chance user could close page by back button instead using cancel option so on login page we also need to add a check is email verified or not.
Joannes, this works fine for me on the googles, although when sending out to a university email address the link is expiring due to it taking long time to arrive. Do you know which bit of code is causing this?
Thank You Ramsey Merdassi! Follow this link: stackoverflow.com/questions/73107783/firebaseauthexception-firebase-auth-user-token-expired-the-users-credential I hope you will get your answer 🙂
Hi HeyFlutter, in 2023, is it still worth it to have an email signup/signin option or just force users to use a "standard" auth provider, google signin, apple, facebook ...?
i need an help at pressing login button check the email is verified or not? if it is not verified i need to show a toast message if it is verified i need to go home page
Hey I have the following problem that this whole Flutter App story does not want to start on the Android emulator it always comes the following error code: "The command "App" is either spelled incorrectly or could not be found. Error: Main class org.gradle.wrapper.GradleWrapperMain could not be found or loaded. Cause: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain Exception: Gradle task assembleDebug failed with exit code 1" could someone please help me? :c
Hello, Sumit Sharma! Follow this link: stackoverflow.com/questions/64727665/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null, I hope it will solve your problem. Thank You 🙂
Is there a way that the user is not created until you accept the verification E-Mail? Or is he automaticly always created with the createEmailWithPassword method from firebase
Thank You garen. exeee! Follow this link: stackoverflow.com/questions/68364731/firebase-do-not-create-users-until-email-is-verified I hope you will get your answer 🙂
I want to send the verification email when they click the SignUp button with a snackbar message telling the user that they've been sent an email. I want to avoid the VerifyEmail screen. I'd like the user to go to the Homepage once they've clicked on the verify link in the email. Is this possible?
Thank You Sooraj K S! Follow this link: stackoverflow.com/questions/64727665/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null I hope you will get your answer 🙂
Hi HeyFlutter, thanks for this video, but I saw an error before that the firebase send an alert on the emulator that they blocked this device because of too many requests, I think this problem happen because of the timer.periodic function. How can I solve this problem? Does it happen on the production phase only or what? Thanks.
Thank You @yx4! Follow this link: stackoverflow.com/questions/37601942/firebase-3-we-have-blocked-all-requests-from-this-device-due-to-unusual-activi I hope you will get your answer 🙂
Why do you make people have to subscribe to your newsletter to get access to your source code. Can you please make it viewable without this I don't want to subscribe to what you are forcing me to subscribe to. Total scam.
Thank You Prabin Ojha!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
nice work , but when i check in rules if the account is verified or not i can not access despite of i was verified the email ? match /users-auth/{uid}/notes/{note_doc} { allow read, write: if request.auth != null && request.auth.uid == uid && request.auth.token.email_verified; }
Thank You Aĥmêd Gâmeŝ! Follow this link: stackoverflow.com/questions/59860832/how-to-update-data-for-firebaseuser-stream-when-email-is-verified-flutter/67044680#67044680 I hope you will get your answer 🙂
This might help you :)
👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
Source Code: github.com/JohannesMilke/firebase_auth_verify_email
1. Reset FIrebase email
2. Phone OTP verification using firebase
3. FCM for iOS
Please make these tutorials
Great job!!!! Quick, precise, clear, and backed up with clean codes!!!! You are the BEST.
Works like a charm! Thank you for the tutorial
Glad to hear that, You are most welcome @ArtVandelayInc
Thanks for the video , kindly can you make a Video on phone authentication and verification
Thank you, this is very helpful!
Could you please make a video on running a firebase app in offline mode? I.e., handling dropped connection, caching, delayed submission of data to the cloud firestore (e.g., when the user connects to the internet again), etc.
your work is greatly appreciated!
Great tutorial! I have a question: If a user press the cancel button to not verify mail anymore, the mail and password information will still be displayed in the Firebase Database?
I have done it successfully by following you tutorial thank u so much
Glad to hear that, You are most welcome @ShahNawaz-mo7ki! 😊
Great Video
I have 2 questions.
First, is it possible to verify with a code instead of a link. Secondly, can i verify the email address first before inputting user data like the password, username, phone number.
@@HeyFlutter The app I'm currently developing, upon registration the user have to verify the email (an OTP code should be sent to the email address of the user) before being logged into the app. Using the method on flutter documentation, it only sends a link to the user not an OTP code. So I'm asking if it's possible to send an OTP code instead of a link.
The second question is I want the user to input only the email first, then after verifying the email he can them input other information like username, age, gender, fullname and password to complete the registration. Cause all the implementation I'm seeing online you must input both email and password for email verification.
Another questions please, how to do reset password from the app. I want to be able to reset the password on the app.
Thank you
I will going to use this in app my application. Thanks Mike
as always. You are number one. Thanks teacher for all of tutorials.
Thanks a lot for this video.. Was waiting for it
Please make video on "how to post http request from flutter to any api" or "how to post data from flutter app to any api".
I'm on watch for these tutorial series. Awesome Work.
Great tutorial, well explained. All in one... Thank you for the best...
You’re most welcome, Nuwan Dissanayake! 🙂
THEEEE BEST, Thank you my friend
You are welcome, @edilsonroque6691 😊
Wonderful video!
Thank you, @aryanbhasein6431! 🙂
just the thing I was waiting for, well done.
great tutorials and love the editing - perfect cadence.
Quick and straight to the point. Thanks!
You are welcome, Fatema Abdulrahman!
hello sir, can you help me by creating this for web app which has basic html and javascript? 🙏🙏🙏🙏🙏 thanks in advance
Sir I am saying only if you change the programing Language from dart to JavaScript.
hey how can i implement email-already-in-use in flutter firebase
Thank You Prince Muleya! Follow this link: stackoverflow.com/questions/51652134/check-if-an-email-already-exists-in-firebase-auth-in-flutter-app
I hope you will get your answer 🙂
Thank you very much sir
It helped
@@HeyFlutter That's what I am looking for.
Great Tutorial, It helped me a lot 😀
Sir How to access your github. I already send many request's as you mentioned in your Readme but not getting any email please help me? Love from Pakistan
@@HeyFlutter sir I didn't get any email for confirmation of subscription.
Thanks alot, for making this so easy
Glad it was helpful, @syedzeerakhussaingillani6019 😀
Hello Johannes, thanks for another great tutorial. Unfortunately, this method will not work as FirebaseUser.emailVerified status does not get updated after clicking the link from the verification email. I am testing this on the emulator, but I am clicking on the link from the email from the browser, which is not on the emulator. The User data does not get refreshed / updated with verification status even after calling User.reload(). This is again, if the email client is on another device than the app. If you have encountered this problem and know a fix please advise. Thank you again for all your awesome tutorials.
Hello, Tareq Alothman! Follow this link: stackoverflow.com/questions/59854615/firebase-flutter-reload-not-refreshing-user-isemailverified,
I hope it will solve your problem. Thank You 🙂
ya you are totally right, i also need its proper solution :(
Thank you, for your excellent work
but I have a problem verifying emails send to the user's spam folder
Hello, Mohamed Ramadan! Follow this link: stackoverflow.com/questions/46283859/firebase-email-verification-goes-to-spam-folder,
I hope it will solve your problem. Thank You 🙂
Hello,please make a video how add in friend peoples as Facebook
Thanks for the video! I was wondering what I should do if I want to add the user information to firestore after email verification? Is it possible? Thanks
Hey 😊, @zihenghuang5980! Check out this video: ruclips.net/video/ErP_xomHKTw/видео.html This will surely help you
on your github, when i try to request a get a blank page, thanks for the video.
Thank you!!! You're amazing!
You’re most welcome, Vitor Henrique! 🙂
Please make videos on AR CORE in flutter
Thanks for the idea, Sabeeha Israr! 🙂 I have added it to my list of ideas for future videos!
keep it up bro nice job
if we have 2 different page for sign in and log in (one for creating the account and the other for logging in, which most of the app does) then in order to avoid user logging in without verifying email we need to delete the user account as soon as he clicks cancel. even in that case there is chance user could close page by back button instead using cancel option so on login page we also need to add a check is email verified or not.
Thanks for the suggestion, @user-sc5qo7sq1n! 🙂
Thank you very very much
You’re most welcome, Yunus Emre YILDIRIM! 🙂
very helpful
Firebase phone otp verification for iOS ?? any tutorial available ?
Joannes, this works fine for me on the googles, although when sending out to a university email address the link is expiring due to it taking long time to arrive. Do you know which bit of code is causing this?
Thank You Ramsey Merdassi! Follow this link: stackoverflow.com/questions/73107783/firebaseauthexception-firebase-auth-user-token-expired-the-users-credential
I hope you will get your answer 🙂
Hi HeyFlutter, in 2023, is it still worth it to have an email signup/signin option or just force users to use a "standard" auth provider, google signin, apple, facebook ...?
Thank you, uDubRiceBoy! 🙂. People still use it in their apps.
what if I'm using realtime database, not cloud firestore, is this code work for it?
It's not moving to verify email automatically I should do hot restart , what's the solution ?
Thank You @mugdadelneama7389! Follow this link: firebase.google.com/docs/auth/flutter/email-link-auth
I hope you will get your answer 🙂
i need an help at pressing login button check the email is verified or not?
if it is not verified i need to show a toast message
if it is verified i need to go home page
Thx
You are welcome, GxG 😊
Hey I have the following problem that this whole Flutter App story does not want to start on the Android emulator it always comes the following error code:
"The command "App" is either spelled incorrectly or could not be found.
Error: Main class org.gradle.wrapper.GradleWrapperMain could not be found or loaded.
Cause: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
Exception: Gradle task assembleDebug failed with exit code 1"
could someone please help me? :c
what is formKey ? can you please make it clearer ?
Hey 😊, @cakrawirajaya445! Check out this article: www.javatpoint.com/flutter-form
How do you do it with the Bloc Pattern?
I am not getting any emails and giving me this error Ignoring header X-Firebase-Locale because its value was null.
Hello, Sumit Sharma! Follow this link: stackoverflow.com/questions/64727665/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null,
I hope it will solve your problem. Thank You 🙂
Is there a way that the user is not created until you accept the verification E-Mail? Or is he automaticly always created with the createEmailWithPassword method from firebase
Thank You garen. exeee! Follow this link: stackoverflow.com/questions/68364731/firebase-do-not-create-users-until-email-is-verified
I hope you will get your answer 🙂
Great , How about phone number otp with firebase?
Thanks for the idea, Aye Zarni Aung! 🙂 I have added it to my list of ideas for future videos!
Will you teach how to do phone number verification?
@@HeyFlutter thanks. If some day you create a vídeo about this, I will also watch it.
I want to send the verification email when they click the SignUp button with a snackbar message telling the user that they've been sent an email. I want to avoid the VerifyEmail screen. I'd like the user to go to the Homepage once they've clicked on the verify link in the email. Is this possible?
Thank You Ramsey Merdassi! Follow this link: firebase.flutter.dev/docs/auth/usage/
I hope you will get your answer 🙂
how to email verification without firebase pls i need it
Hey 😊, @amanuelgulilat2733! Check out this solution: stackoverflow.com/a/68157123
I got an error "Ignoring header X-Firebase-Locale because its value was null" what is the reason
Thank You Sooraj K S! Follow this link: stackoverflow.com/questions/64727665/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null
I hope you will get your answer 🙂
@@HeyFlutter Thank you for the reply
Hi HeyFlutter, thanks for this video, but I saw an error before that the firebase send an alert on the emulator that they blocked this device because of too many requests, I think this problem happen because of the timer.periodic function. How can I solve this problem? Does it happen on the production phase only or what? Thanks.
Thank You @yx4! Follow this link: stackoverflow.com/questions/37601942/firebase-3-we-have-blocked-all-requests-from-this-device-due-to-unusual-activi
I hope you will get your answer 🙂
@@HeyFlutter Thanks
Phone authentication please
can this be combined with google, facebook and twitter sign in?
Thank You Jessen Jie! Follow this link: medium.com/codechai/firebase-twitter-sign-in-and-flutter-13799f0183ad
I hope you will get your answer 🙂
@@HeyFlutter Thankss
niceeee
Thanks, Jose Oriol Lopez! 🙂
your videos are very good. I have a request from you, can you follow and unfollow the user?
Why do you make people have to subscribe to your newsletter to get access to your source code. Can you please make it viewable without this I don't want to subscribe to what you are forcing me to subscribe to. Total scam.
Thank You Prabin Ojha!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
nice work ,
but when i check in rules if the account is verified or not i can not access despite of i was verified the email ?
match /users-auth/{uid}/notes/{note_doc} {
allow read, write: if request.auth != null && request.auth.uid == uid && request.auth.token.email_verified;
}
Thank You Aĥmêd Gâmeŝ! Follow this link: stackoverflow.com/questions/59860832/how-to-update-data-for-firebaseuser-stream-when-email-is-verified-flutter/67044680#67044680
I hope you will get your answer 🙂
Utils.showSnackBar(e.toString());
why Utils is used here?
thanks in advanced.
Thank you, Abdullah Ar Rezwan! 🙂. I used it to show snackbar.
How can we customize the email layout?
See the firebase web console > Authentication > Templates > Edit template