How to Keep User Logged in Flutter | Firebase Exception Handling Flutter | Flutter Firebase

Поделиться
HTML-код
  • Опубликовано: 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

  • @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😍

  • @H_4_K_O
    @H_4_K_O 27 дней назад

    I'm the 1000th Subscriber

  • @kashifumar4552
    @kashifumar4552 4 месяца назад +1

    Thanks for sharing quality content. Keep it up

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

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

  • @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🙏🏼

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

  • @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  9 дней назад

      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  9 дней назад

      By name it wraps the whole applications