How to Keep User Logged in Flutter | Firebase Exception Handling Flutter | Flutter Firebase
ฝัง
- เผยแพร่เมื่อ 30 มี.ค. 2024
- #flutter #firebase #auth
In this video, We will explore how to keep user logged in flutter even after the app is restarted. It is a crucial feature for user experience in any app to store user session or persist user state. Moreover, Firebase exception handling flutter is also crucial for providing better user experience and showing meaningful errors to users in case firebase authentication fails. The firebase auth state is handled using auth state changes listener from firebase auth to Keep User Logged in flutter.
Email and Password Authentication
Firebase Exception Handling Flutter
Keep User Logged In Flutter
Let's Connect:
LinkedIn: / shah-wali-khan-b1a4001b2
Github: github.com/swkhan-dev
WhatsApp: chat.whatsapp.com/Fhk0NSuvUv6...
Error Codes: stackoverflow.com/questions/6...
#keepuserloggedinflutter #login #exceptionhandling #firebaseauthexceptions #firebaseexceptionhandlingflutter #firebaseauthentication #firebaseauth #firebase #flutter #flutterfirebase #authstatechanges #authstate - วิทยาศาสตร์และเทคโนโลยี
I'm the 1000th Subscriber
Thanks for sharing quality content. Keep it up
This was very help full after 3 video i found it. And its worked 😊😊😊😊😊😊🙏🙏
I am glad it helped😍
Hey please continue this series and please put more content in it. This is really helpful brother
Tnx bro I will make sure to add more
I really like your content, it is very informative. I am using AS on windows, what plugin can I use that is the same/similar to the one that makes you code auto-clean or auto-format?
Since I don't use AS. Don't have an idea about that. You can find one on internet. Search for prettier code formatter.
It really helped. I loved your videos bro. BTW what application do you use for emulator bro? please answer🙏
Thanks for your kind words. I prefer using Pixel 4 XL Emulator from Android Studio application.
@@codeworm7 Thanks for reply bro. How can I export emulator outside android studio bro?
@@swanphyo1358 Just create an emulator in Android studio and from settings, separate it from Android studio window. Go to VS code from emulators, you will see it and select to run app on it. It will be saved on vs code until you delete it from Android studio.
@@codeworm7 Thanks again bro🙏🏼
Thank you. I think you should close the console bar. The code screen is so small
Thanks for the feedback
I'm a little confused about the architecture here. The wrapper sees the user data through the stream, and based on the user data, it shows either one set of widgets or another set of widgets, but it stays on the same page. Why not simply navigate to a separate Login Page or HomePage with its own Scaffold, AppBar, etc?
Actually when it stays on the same page then you just have to logout without navigation back to login. And also goes to home page automatically when logged in. Of you navigate to different screen then the stream changes won't work like that because you have skipped the wrapper screen.
By name it wraps the whole applications