VERY important to put the sendPasswordResetEmail function in a try catch block! If the user enters an invalid/inactive email, you'll get an error: [firebase_auth/user-not-found] There is no user record corresponding to this identifier. The user may have been deleted. - and the spinner will spin forever.
Me too. As I read other languages have packages for this. But in Dart you should create a class: class Utils { static void showSnackBar(BuildContext context, String message) { ScaffoldMessenger.of(context).showSnackBar( SnackBar( content: Text(message), duration: Duration(seconds: 2), ), ); } } So I used my old code.
Thank You Mohammed Hamdan! Follow this link: www.bezkoder.com/dart-string-methods-operators-examples/#:~:text=%2F%2F%20'bezkoder%3D%3D'-,Dart%2FFlutter%20Trim%20String,at%20the%20beginning%20or%20end. I hope you will get your answer 🙂
Thank you for this tutorial can you please show us how to update a user's email and password ? I tried following some examples but it didn't work. Thank you.
Hey I made a project and I implemented forgot password in my app everything is working fine but when someone try to login with new password it didn't work, it stuck on the loading screen
Johannes, parabéns pelos seus vídeos, sou brasileiro e admiro muito seu conteúdo, gostaria de saber se há a possibilidade de abrir o link no próprio app ao invés da web, para fazer a redefinição da senha, desde já obrigado.
Thank You Mohammaed Azzam!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
Found it hope it help in my case i also put into firestore so i need to get the collection in condition where email is equal to emailController then add if not empty then do the reset link
Thank You abderrahmane khatbane! Follow this link: medium.com/@levimatheri/flutter-email-verification-and-password-reset-db2eed893d1d I hope you will get your answer 🙂
Thank You @jaaz8927!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
This might help you :)
👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
Source Code: github.com/JohannesMilke/firebase_auth_forgot_password
Firebase Auth - Email Verification (4/4): th-cam.com/video/rTr8BUlUftg/w-d-xo.html
Firebase Auth - Sign Up (2/4): th-cam.com/video/OF3lwqcUwPY/w-d-xo.html
Firebase Auth - Sign In (1/4): th-cam.com/video/zpbyJ7GVMVU/w-d-xo.html
Firestore Pagination Tutorial: th-cam.com/video/si6sTuVZxtw/w-d-xo.html
Firestore READ Data: th-cam.com/video/G4INTsatBew/w-d-xo.html
Firestore WRITE Data: th-cam.com/video/21vHY9P90jE/w-d-xo.html
Firestore UPDATE & DELETE Data: th-cam.com/video/w3krSTSGmaw/w-d-xo.html
iOS Firebase Setup: th-cam.com/video/yj4vaz2rxC0/w-d-xo.html
Web Firebase Setup: th-cam.com/video/Z0jFkP0A3B0/w-d-xo.html
Android Firebase Setup: th-cam.com/video/CpyALC8Zpxo/w-d-xo.html
Firebase Google SignIn Tutorial: th-cam.com/video/ogW83xGQGTg/w-d-xo.html
Firebase Email Sign In Tutorial: th-cam.com/video/rnHAInnjCmM/w-d-xo.html
Firebase CRUD Tutorial: th-cam.com/video/EV2DyrKOqrY/w-d-xo.html
Firebase Storage - Upload Files Tutorial: th-cam.com/video/dmZ9Tg9k13U/w-d-xo.html
Firebase Storage - Download Files Tutorial: th-cam.com/video/YA_fHCF_EYc/w-d-xo.html
Firebase Hosting - Deploy Flutter Web App Tutorial: th-cam.com/video/xJo7Mqse960/w-d-xo.html
Firebase Messaging & Push Notifications Tutorial: th-cam.com/video/wjJN1C9UxpY/w-d-xo.html
Firebase Functions Tutorial: th-cam.com/video/7UcM6Y12LEk/w-d-xo.html
ChatApp With Firebase Tutorial: th-cam.com/video/wHIcJDQbBFs/w-d-xo.html
Todo App With Firebase Tutorial: th-cam.com/video/EV2DyrKOqrY/w-d-xo.html
Pagination With Firebase Tutorial: th-cam.com/video/IruuzPydPz4/w-d-xo.html
VERY important to put the sendPasswordResetEmail function in a try catch block! If the user enters an invalid/inactive email, you'll get an error: [firebase_auth/user-not-found] There is no user record corresponding to this identifier. The user may have been deleted. - and the spinner will spin forever.
Thanks for making this tutorial and many more. I was having challenges with Flutter but this tutorials are helping Me get through. Thanks again.
hello mr.johannes please can you advice me , what i learn with flutter ... android native or node.js
Why does a red squiggly line appear under Utils in Utils.showSnackBar? And how to fix it?
@@HeyFlutter I got same problem. was following up step by step...
Me too. As I read other languages have packages for this. But in Dart you should create a class:
class Utils {
static void showSnackBar(BuildContext context, String message) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(message),
duration: Duration(seconds: 2),
),
);
}
}
So I used my old code.
Thank you for all your tutorials
what does .trim() do that you put beside emailController ? and please any video about change email ?
Thank You Mohammed Hamdan! Follow this link: www.bezkoder.com/dart-string-methods-operators-examples/#:~:text=%2F%2F%20'bezkoder%3D%3D'-,Dart%2FFlutter%20Trim%20String,at%20the%20beginning%20or%20end.
I hope you will get your answer 🙂
Thank you for this tutorial can you please show us how to update a user's email and password ? I tried following some examples but it didn't work. Thank you.
what is the dependency for Utils?
Thank You Giuseppe Italia! Follow this link: pub.dev/packages/basic_utils
I hope you will get your answer 🙂
Can u please do videos on how to use cloud functions with firebase?
can you please make a tutorial video to completely sign in with facebook?
kannst du mal ein Video machen, wo du Requests usw. von .Net Core (C#) machst
Very helpful ❤❤
Hey I made a project and I implemented forgot password in my app everything is working fine but when someone try to login with new password it didn't work, it stuck on the loading screen
Hello, Nitin! Follow this link: stackoverflow.com/questions/66485126/issue-with-flutter-firebase-login,
I hope it will solve your problem. Thank You 🙂
Thanks a lot...please do phone authentication with firebase please
hello, i sponsored you, but i can't access to your code..... how can i get it?
it works! thanks!
do this reset also the user google account password?
Thank you, @RosendoPenaHernandez! 🙂. No, it doesn't.
Is it possible to add two fields New password and COnfirm New password in that email link
Hey, @tanujain2605 🙂 reset password is being handled by firebase. So it's not possible to customize it
Which package is that snackbar one ?
Thank you, Bhut Palak! 🙂. It does not require package. It is just a widget in flutter.
Thanks my brother
Johannes, parabéns pelos seus vídeos, sou brasileiro e admiro muito seu conteúdo, gostaria de saber se há a possibilidade de abrir o link no próprio app ao invés da web, para fazer a redefinição da senha, desde já obrigado.
@@HeyFlutter He (and I haha) wanna know if there's some way of reseting the password directly in the app, without the need of open the browser.
Chak e wachawai 👍✌😂
There is a problem accessing the source code, the page is not available
Thank You Mohammaed Azzam!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
Thankyou so much
You are welcome, @syedzeerakhussaingillani6019 😊
if i put a wrong email it is not showing me error why????????
Have you already do the firebase exception?
Thank you, @sombitmajumder6683! 🙂. Did you implement the error handling?
Found it hope it help in my case i also put into firestore so i need to get the collection in condition where email is equal to emailController then add if not empty then do the reset link
can't receive reset password email
Thank You abderrahmane khatbane! Follow this link: medium.com/@levimatheri/flutter-email-verification-and-password-reset-db2eed893d1d
I hope you will get your answer 🙂
Bro Util.snackbar not working
help me
Thank you, Bhut Palak! 🙂. Try to paste the error message with your question whenever you face any issue or error.
@@HeyFlutter got it...bro 🥂
hello i cannot request the source code
Thank You @jaaz8927!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
👍