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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 18

  • @H_4_K_O
    @H_4_K_O 28 วันที่ผ่านมา

    I'm the 1000th Subscriber

  • @kashifumar4552
    @kashifumar4552 4 หลายเดือนก่อน +1

    Thanks for sharing quality content. Keep it up

  • @Freecine-officials
    @Freecine-officials หลายเดือนก่อน +1

    This was very help full after 3 video i found it. And its worked 😊😊😊😊😊😊🙏🙏

    • @codeworm7
      @codeworm7  หลายเดือนก่อน

      I am glad it helped😍

  • @mayanksh219
    @mayanksh219 3 หลายเดือนก่อน +1

    Hey please continue this series and please put more content in it. This is really helpful brother

    • @codeworm7
      @codeworm7  3 หลายเดือนก่อน

      Tnx bro I will make sure to add more

  • @evonmaxilom9950
    @evonmaxilom9950 หลายเดือนก่อน +1

    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?

    • @codeworm7
      @codeworm7  หลายเดือนก่อน +1

      Since I don't use AS. Don't have an idea about that. You can find one on internet. Search for prettier code formatter.

  • @swanphyo1358
    @swanphyo1358 3 หลายเดือนก่อน

    It really helped. I loved your videos bro. BTW what application do you use for emulator bro? please answer🙏

    • @codeworm7
      @codeworm7  3 หลายเดือนก่อน +1

      Thanks for your kind words. I prefer using Pixel 4 XL Emulator from Android Studio application.

    • @swanphyo1358
      @swanphyo1358 3 หลายเดือนก่อน

      @@codeworm7 Thanks for reply bro. How can I export emulator outside android studio bro?

    • @codeworm7
      @codeworm7  3 หลายเดือนก่อน +1

      @@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.

    • @swanphyo1358
      @swanphyo1358 3 หลายเดือนก่อน +1

      @@codeworm7 Thanks again bro🙏🏼

  • @thanhtruc4117
    @thanhtruc4117 3 หลายเดือนก่อน +1

    Thank you. I think you should close the console bar. The code screen is so small

    • @codeworm7
      @codeworm7  3 หลายเดือนก่อน

      Thanks for the feedback

  • @cetiah
    @cetiah 11 วันที่ผ่านมา

    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?

    • @codeworm7
      @codeworm7  10 วันที่ผ่านมา

      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.

    • @codeworm7
      @codeworm7  10 วันที่ผ่านมา

      By name it wraps the whole applications