Flutter Firebase Authentication [2024] The Cleanest Way

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • Use Firebase Authentation with Flutter to SignIn, SignUp, Reset Password and Verify Email inside your Flutter app.
    Click here to Subscribe to Johannes Milke: th-cam.com/users/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/fire...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/#/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    TIMELINE
    0:00 Setup Firebase Authentication
    2:38 SignIn Firebase Authentication
    6:56 SignUp Firebase Authentication
    13:25 Forgot Password Firebase Authentication
    16:14 Verify Email Firebase Authentication
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @HeyFlutter
    @HeyFlutter  ปีที่แล้ว +1

    👉Join 12 Week Flutter Training: heyflutter.com
    👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
    Source Code: github.com/JohannesMilke/firebase_auth

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

      I'm unable to get access to source code, i requested but nothing is sent to my email

  • @harunavictor9743
    @harunavictor9743 2 ปีที่แล้ว +4

    i can't stop thanking you for this amazing content.

  • @pietervdw
    @pietervdw 2 ปีที่แล้ว +3

    Great video, as always! Please keep the Firebase videos coming

  • @danchuksn2161
    @danchuksn2161 2 ปีที่แล้ว +7

    You are a life saver...
    Thank God 🙏 I just saw this video before starting my next project...

    • @daumienebi
      @daumienebi 2 ปีที่แล้ว

      What's your project about if I may ask?

  • @hasanqasim2182
    @hasanqasim2182 2 ปีที่แล้ว +3

    Thank You Brother. I was stuck in this logic for two days.

  • @markthrasher4548
    @markthrasher4548 ปีที่แล้ว +5

    This truly is a very clean way of implementing the firebase authentication. Thanks for the excellent video!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You are welcome, Mark Thrasher 😊

  • @bramantawisnu
    @bramantawisnu 2 ปีที่แล้ว +9

    this is the best list of tutorial I have ever found in youtube, because based on making real project and "User Exprenience Flow" thank you very much Jo.., Very Apreciate

  • @ratzule
    @ratzule 2 ปีที่แล้ว +28

    Johannes -- I always love your videos but this one takes the cake as a fully functional solution that addresses real-world needs and industrial coding concerns. It may have been condensed to 25 minutes or so, but I just spent two days following it and applying everything you illustrated. Fantastic work!

    • @alexeyantonenko877
      @alexeyantonenko877 2 ปีที่แล้ว +3

      You are genius! I've spent two weeks :D

    • @abbassalman4869
      @abbassalman4869 ปีที่แล้ว +2

      can you share the code please

    • @gsaviary722
      @gsaviary722 ปีที่แล้ว +1

      @@alexeyantonenko877it will be kind enough if you share your code. Thank you

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

    Your videos are absolutely incredible. Without a doubt, they're the easiest to follow and always help me sort any issues that I have! Thank you :)

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

      Glad to hear that, Thank you @soteriaswings! 😊

  • @akshatmodi4843
    @akshatmodi4843 ปีที่แล้ว

    This is an Absolute Fabulous Video!! Can't wait to learn more. This solved my very long issue to setup authentication.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, Thank you Akshat Modi! 😊

  • @MrMoggz
    @MrMoggz ปีที่แล้ว +1

    Great tutorial, loved that you also added forgot password and verify email. I have Subscribed

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks, for your support, murage wanjohi! 🙂

  • @tupato2552
    @tupato2552 ปีที่แล้ว +1

    Hello, I can not express how much your video helped me. Thank you so moch for your video and your effort, keep up!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, You are most welcome Tu Pato! 😊

  • @augustwanger2651
    @augustwanger2651 2 ปีที่แล้ว

    Best programming chanel yet!

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

    Thank you so much for the informative tutorial video.
    Love from Türkiye

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

      Glad you liked it, @developerbs 😀

  • @kareemhemdan1853
    @kareemhemdan1853 ปีที่แล้ว

    Fantastic work . keep going Mr Johannes it's perfect

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad you liked it, @kareemhemdan1853 😀

  • @ArabiaGroup2023
    @ArabiaGroup2023 2 ปีที่แล้ว +1

    Before I watch, I really love you man! You make everything clear and easy. Please continue firebase store

  • @mulualemmhretu
    @mulualemmhretu ปีที่แล้ว +1

    Wow what amazing way of teaching and helpful tutorial.keep in it up .

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thanks, for your support, Mulualem Mhretu! 🙂

  • @erhnyilmaz
    @erhnyilmaz ปีที่แล้ว

    Really wonderful video, thanks to you i understood all of them very well. i will suggest to my friends and i followed you.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Great, thank you, Erhan Yılmaz! 🙂👍

  • @user-gk3ns5uu2w
    @user-gk3ns5uu2w ปีที่แล้ว

    Wow, This is the best firebase vedio I've ever watched!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, 나나나! 🙂

  • @canpietaybek
    @canpietaybek ปีที่แล้ว

    Danke sehr für alles bruder, hasst sehr schön alles erklärt!!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      You are welcome, Can Piet!

  • @user-of6jv4dm8f
    @user-of6jv4dm8f 2 ปีที่แล้ว

    You are the best!!! Thank u very much

  • @eugeniakryzhanovska3056
    @eugeniakryzhanovska3056 ปีที่แล้ว

    the best video about fireAuth
    thank you so much

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You’re most welcome, @eugeniakryzhanovska3056! 🙂

  • @czerxjagody6996
    @czerxjagody6996 ปีที่แล้ว

    so helpful, i've search many tutorials and i got nothing, thanks for your explanation !

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad it was helpful, @czerxjagody6996 😀

  • @moisesbinzie
    @moisesbinzie 2 ปีที่แล้ว +8

    do the Flutter Firebase *Phone* Authentication the cleanest way, please 😕

  • @andreashafsaas581
    @andreashafsaas581 ปีที่แล้ว +2

    Really, really great tutorial. Thanks a lot :D

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, Andreas Hafsaas! 🙂

    • @aziem462
      @aziem462 ปีที่แล้ว

      @@HeyFlutter i went to your source code, i cant access it but i already have sponsored, should i wait?

  • @pasza01
    @pasza01 ปีที่แล้ว

    best tutorial regarding firebase auth...awesome

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, Thank you ThatPassaGuy! 😊

  • @RV2MM
    @RV2MM ปีที่แล้ว

    This is gold! Thanks a lot

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad you liked it, @RV2MM 😀

  • @jamescockfield422
    @jamescockfield422 ปีที่แล้ว +3

    Love the tutorial. Really helpful and just what I needed

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, James Cockfield! 🙂

  • @rabbihossen9734
    @rabbihossen9734 2 ปีที่แล้ว

    Thank you so much 🧡

  • @jesusalbertopertuzorozco6088
    @jesusalbertopertuzorozco6088 ปีที่แล้ว

    Eres un capo, gracias brother.

  • @victoryokoi1267
    @victoryokoi1267 ปีที่แล้ว

    Nice work bro. You helped me

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad I could be of help, Thank you Victory Okoi! 😊

  • @mareknowak9137
    @mareknowak9137 2 ปีที่แล้ว

    Thank you Johann

  • @user-zl8zm2re4p
    @user-zl8zm2re4p 6 หลายเดือนก่อน

    wow ! . fantastic ..my study is will be very long trip ..

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

      Great, thank you, @user-zl8zm2re4p! 🙂👍

  • @timrohr8475
    @timrohr8475 ปีที่แล้ว +2

    Thank you for your explanation. Really amazing. I was looking for something like this. The only question I have now is how to implement the routing here?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +2

      Thank You Tim Röhr! Follow this link: medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade
      I hope you will get your answer 🙂

  • @nhanghetlaptrinh
    @nhanghetlaptrinh ปีที่แล้ว

    thank you so much!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You are welcome, Nhân ghét!

  • @bbammjin
    @bbammjin ปีที่แล้ว

    Always best tutorial👍

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thank you, BBAMMJIN! 🙂

  • @ledesmac
    @ledesmac 2 ปีที่แล้ว +2

    Great video. It would be great to see a tutorial on implementing Auth0 + Firebase in a login. 🙏

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, Cristian Ledesma! 🙂

  • @faridahmadov5991
    @faridahmadov5991 ปีที่แล้ว

    Thank you so much👍🏼
    Please make a video about otp as well

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      You’re most welcome, Farid Ahmadov! 🙂

  • @programmerg5270
    @programmerg5270 2 ปีที่แล้ว +14

    how to fix: The getter 'messengerKey' isn't defined for the type 'utils'.
    Try importing the library that defines 'messengerKey', correcting the name to the name of an existing getter, or defining a getter or field named 'messengerKey'

    • @BerkPeksel
      @BerkPeksel 2 ปีที่แล้ว +31

      It must be static if you wanna access. Just like this:
      class Utils {
      static final messengerKey = GlobalKey();
      static showSnackBar(String? text) {
      if (text == null) return;
      final snackBar = SnackBar(content: Text(text), backgroundColor: Colors.red);
      messengerKey.currentState!
      ..removeCurrentSnackBar()
      ..showSnackBar(snackBar);
      }
      }

    • @hashimahmedali6794
      @hashimahmedali6794 ปีที่แล้ว

      @@BerkPeksel thanks i was stuck for a while.

    • @a.k.z5190
      @a.k.z5190 ปีที่แล้ว

      Hey i have the same issue, can you tell me how can i fix that ? I try to put static messengerKey and static showSnackBar but i can't see the SnackBar, thanks you very much for you tuto, it's very usefull

    • @mazharsalam3144
      @mazharsalam3144 ปีที่แล้ว +1

      @@BerkPeksel this part was there in the code but not showing in the video

  • @uraz2164
    @uraz2164 ปีที่แล้ว

    great tutorial thank you

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You are welcome, Uraz!

  • @sakibshaikh3447
    @sakibshaikh3447 ปีที่แล้ว

    This is True Gem 👍👍

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, Sakib Shaikh! 🙂

  • @peternierop3241
    @peternierop3241 2 ปีที่แล้ว

    Outstanding

  • @zorab0011
    @zorab0011 ปีที่แล้ว

    very well explained

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      You are welcome, zorab00!

  • @s-wind2398
    @s-wind2398 ปีที่แล้ว

    Hi mate! Great video!:) Just one question...is the initial setup you did within the android repo is enough for iOS part as well. Or we need to create or setup some other stuff for iOS repo...Sorry for not very professional question as I am new to Flutter. Thanks

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, S-Wind! 🙂. For iOS you need to make a little bit changes.

  • @mehdikazmi773
    @mehdikazmi773 2 ปีที่แล้ว

    amaizing!

  • @sittididier685
    @sittididier685 2 ปีที่แล้ว

    very good video you are the best. I would like to know can you use Firebase for a money transfer application or a social network application?

    • @sittididier685
      @sittididier685 2 ปีที่แล้ว

      @@HeyFlutter thank u so much

  • @wafaasisalem4049
    @wafaasisalem4049 ปีที่แล้ว

    Thank you johannes,, can I ask something?
    What is the best way for user authentication in flutter..? In our apps what should we use? Depends on what?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Hey, wafaa sisalem 🙂 Here is the priority order for you
      1.) Phone Auth
      2.) Email Auth
      3.) Social Auth

  • @mmathems395
    @mmathems395 ปีที่แล้ว +1

    Johannes, your knowledge amazes me and I have wondered, how did this guy know all of this and so much more? Many thanks for sharing, you have saved me and others lots and lots of time. I believe there are some PDF books that you haven't written and published for Amazon and for the Apple bookstore app ... You have the credibility for best sellers. Best wishes.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad I could be of help, Thank you so much M Mathems! 😊

  • @Hazara_boy
    @Hazara_boy ปีที่แล้ว

    Perfect tutorial.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks, @haxara! 🙂

  • @andrewmukelabai8209
    @andrewmukelabai8209 ปีที่แล้ว

    You're a Rockstar!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, Thank you Andrew Mukelabai! 😊

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

    Now that's really the clean way

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

      Thank you, @vivekbhakhri735! 🙂

  • @user-li5bk6su3r
    @user-li5bk6su3r 2 ปีที่แล้ว

    Cool video! Can u please do this with bloc. Where you will use google auth and phone maybe or email
    Thanks anyway!

  • @goatsolutions2155
    @goatsolutions2155 ปีที่แล้ว

    Hi Johannes! Thanks for the fantastic video! Do you have any idea to way of create a new account in firebase without logging in? I wouldn't like to to open the user home page as soon as account is created.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank You Goat Solutions! Follow this link: firebase.flutter.dev/docs/auth/usage/
      I hope you will get your answer 🙂

    • @goatsolutions2155
      @goatsolutions2155 ปีที่แล้ว

      @@HeyFlutter Yes, I got it! Follow the solution:
      Future createUserWithEmailAndPasswordWithoutLoggingIn(String email, String password) async {
      FirebaseApp app = await Firebase.initializeApp(
      name: 'Secondary',
      options: Firebase.app().options
      );
      UserCredential userCredential = await FirebaseAuth.instanceFor(app: app).createUserWithEmailAndPassword(email: email, password: password);
      await app.delete();
      return Future.sync(() => userCredential);
      }

  • @sanjuktaghatak6825
    @sanjuktaghatak6825 ปีที่แล้ว

    Hi Johannes, I really like your all videos. It has helped me a lot in developing my app.
    My request to you to help with coding to restrict Login from one device at a time.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks for the idea, Sanjukta Ghatak! 🙂 I have added it to my list of ideas for future videos!

    • @sanjuktaghatak6825
      @sanjuktaghatak6825 ปีที่แล้ว

      @@HeyFlutter Great, please share soon 😊waiting for it eagerly..

  • @saabirmohamed636
    @saabirmohamed636 ปีที่แล้ว

    Hi Johannes
    Thank you for your videos, for the setup part running command flutterfire configure...then following from 2:06 would be ok ? , I always mess up something or other when I copy paste all that config

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Hey, Saabir Mohamed 🙂 Yes you can continue from shared timestamp

  • @thinkprogramming6764
    @thinkprogramming6764 2 ปีที่แล้ว

    Please can you also make a video on local storage ?
    Thanks in advance 🙏🙏🙏🙏🙏

  • @AjayKumar-gu6np
    @AjayKumar-gu6np 2 ปีที่แล้ว

    Thank you always for your videos. Can you please help us how to create screen as same like Flipcart filter screen.

    • @AjayKumar-gu6np
      @AjayKumar-gu6np 2 ปีที่แล้ว

      ​@@HeyFlutter Thanks.. I am awaiting for this video.. 🙏

  • @beastrocks2341
    @beastrocks2341 2 ปีที่แล้ว

    hey can u please do
    fetching json data with navigation to different pages with the respective I'd please

  • @davidlhr
    @davidlhr ปีที่แล้ว

    Good Video

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, David! 🙂

  • @farhanashari5149
    @farhanashari5149 2 ปีที่แล้ว

    Hello. can you help me to fix the problem. When i write the builder (context, snapshot) my project error and the message is "The body might complete normally, causing 'null' to be returned, but the return type, 'Widget', is a potentially non-nullable type, Try adding either a return or a throw statement at the end."

  • @kulithnajika2565
    @kulithnajika2565 ปีที่แล้ว

    Great tutorial. When you click the sign in button there is a little delay. Can you add a progress indicator to cover it?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks for the idea Kulith Najika 😀, i have added it in my list of future videos

  • @sindhavipendrasinh2983
    @sindhavipendrasinh2983 ปีที่แล้ว +1

    I started watching this video on early morning and this is end at 10:30 pm at night 😅

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Great, Thank You sindha vipendrasinh

  • @flutterwithali2838
    @flutterwithali2838 2 ปีที่แล้ว +1

    snapshot is the result of the streambuilder, snapshot.hasData means if the stream has a new event (the event = logging in, or the authstate changed) so we go to the homePage

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thanks for your contribution Flutter With Ali

  • @theunderworld2234
    @theunderworld2234 2 ปีที่แล้ว +1

    Can you tell me how to set a password in phone number authentication?

  • @tenj
    @tenj ปีที่แล้ว

    Perfection thank you !
    is all of this free from firebase or are there any costs ?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thank you, Ali! 🙂. Yes it is.

  • @svitspindler5540
    @svitspindler5540 ปีที่แล้ว +1

    Thank you for the video!
    the line 77 at 6:35 is never shown, could you tell me what it is please?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Hey, Svit Spindler 🙂 please check at 06:33

  • @alizaeri3382
    @alizaeri3382 ปีที่แล้ว +1

    Thank you so much. but it doesn't work in iOS devices. can you help me? or have you another doc or video that help me?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Hello, Ali Zaeri! Follow this link: stackoverflow.com/questions/56204740/firebase-phone-auth-flutter-is-not-working-in-some-ios-devices
      I hope it will solve your problem. Thank You 🙂

  • @brexzzy8055
    @brexzzy8055 2 ปีที่แล้ว +1

    Hey Sir! thanks for make this tutorial, but the codes missed on "navigatorKey.currentState!.popUntil((route) => route", what's the next code after route on Sign in future?
    Thank's

    • @atn3855
      @atn3855 2 ปีที่แล้ว

      navigatorKey.currentState!.popUntil((route) => route.isFirst);

    • @brexzzy8055
      @brexzzy8055 2 ปีที่แล้ว

      @@atn3855 HEYYYY, thank you so much bro ✌️ u solve my error.. God Bless you!!

    • @gsaviary722
      @gsaviary722 ปีที่แล้ว

      Please share your source code. I need it now. It'll be very helpful. Thanks

  • @tochukwuukpabi901
    @tochukwuukpabi901 ปีที่แล้ว

    abt watching but i see the comments and know you making the streets happy,😂

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, Tochukwu Ukpabi! 🙂

  • @emmanuelolaniyi5704
    @emmanuelolaniyi5704 2 ปีที่แล้ว

    Please I want you to make a video that has to deal with flutter an api backend http post, get and other

  • @Jesus-yz5iu
    @Jesus-yz5iu 2 ปีที่แล้ว

    Hey Sir! Why don't you make a video on how to make 2 FPS Gif with multiple images in Flutter?

  • @sanjeevsolanki3300
    @sanjeevsolanki3300 ปีที่แล้ว

    Heya great video! When trying to create the Utils class error message its giving the error for "Instance members can't be accessed from a static method." for the messengerKey? Would appreciate some help! Thank you!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Hello, Sanjeev Solanki! Follow this link: stackoverflow.com/questions/57216571/instance-members-cant-be-accessed-from-a-static-method-flutter
      I hope it will solve your problem. Thank You 🙂

    • @miguelbolanos4390
      @miguelbolanos4390 ปีที่แล้ว

      @@HeyFlutter 12:24 i can´t read the entire line (by the way, it´s awesome that you still replaying messages)

  • @flutterwithali2838
    @flutterwithali2838 2 ปีที่แล้ว +1

    Dispose is used because after you log-in you will be navigated to the home page. In other words, the log-in page state is removed and we no longer need the 2 controllers, thus we permanently remove them by disposing them. Atleast that's how i understand it, correct me if i am wrong pls

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank You Flutter With Ali! Follow this link: stackoverflow.com/questions/62340987/initialize-variable-inside-initstate-or-just-below-the-class-definition
      I hope you will get your answer 🙂

  • @bhabhayt398
    @bhabhayt398 2 ปีที่แล้ว

    There are different users but each user should see his own data: How to define roles to solve any issue

  • @danasugu1767
    @danasugu1767 ปีที่แล้ว

    Thanks for the tutorial! Would it be possible to make a tutorial for Flutter Firebase JWT authentication, please?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks for the idea, @danasugu1767! 🙂 I have added it to my list of ideas for future videos!

    • @danasugu1767
      @danasugu1767 ปีที่แล้ว

      @@HeyFlutterThanks a lot!

  • @agustin3186
    @agustin3186 ปีที่แล้ว

    Can you make a video using auto_route for navigation/routing and implement an Auth Guard..?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thanks for the idea, Agustin! 🙂 I have added it to my list of ideas for future videos!

  • @quangle5701
    @quangle5701 2 ปีที่แล้ว

    Why don’t you use the firebaseui? It is much simpler as far as I know. Everything seems to be ready and it allows customization for your need.

  • @rubikandil9357
    @rubikandil9357 ปีที่แล้ว

    Is there any way to change this email template like instagram facebook or other apps verifications templates. For example change this link to just Verification Link button instead of such a long link

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks for the idea, Rubi Kandil! 🙂 I have added it to my list of ideas for future videos!

  • @akashlilhare1831
    @akashlilhare1831 2 ปีที่แล้ว

    Please make video on Facebook authentication using firebase

  • @yipmong
    @yipmong ปีที่แล้ว

    Hello sir
    I follow every bit of your lesson but I had issues with the Void dispose() method and the Void initState() method
    Please help🙏

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thank you, 1000 SUSCRIBERS BEFORE DECEMBER🙏! 🙂. Try to paste the error message with your question whenever you face any issue or error.

  • @elianramirez9860
    @elianramirez9860 2 ปีที่แล้ว +2

    Hi, i am new in flutter, please, i need line 4 at time 12:22, idk what code it is, thanks, excelent tutorial, it helped me a lot c:

    • @AdityaPandey-vj5ng
      @AdityaPandey-vj5ng 2 ปีที่แล้ว +6

      static final messengerKey = GlobalKey();

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +2

      Thank you, Aditya Pandey! 🙂 for helping him.

  • @SullyS255
    @SullyS255 ปีที่แล้ว

    I love your videos they always help me as i'm someone with Zero programming background, but i need help,
    How can I add DisplayName when creating account with Email and Password? can you please make a video explains that alone, i've watch a lot of videos but non helped me at all, i really need to know URGENTLY 😭😭😭 please

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks for the idea, Sally! 🙂 I have added it to my list of ideas for future videos!

  • @augustwanger2651
    @augustwanger2651 2 ปีที่แล้ว

    It sais, cant use static with final messageKey, any solutions?

  • @frankmwale1580
    @frankmwale1580 ปีที่แล้ว

    Consider writting a book man!🔥

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thank you, frank mwale! 🙂

  • @muhammadafzal237
    @muhammadafzal237 2 ปีที่แล้ว

    How to generate auto increment user Id while registering a new user in flutter?

  • @akshatsolanki8358
    @akshatsolanki8358 2 ปีที่แล้ว

    I am getting an error while (await Firebase.initializeApp();) showing this error message "FirebaseOptions cannot be null when creating the default app."

  • @vak-anton
    @vak-anton ปีที่แล้ว

    6:34
    Hi, I still can see "navigatorKey" does not exist in "login_widget.dart" file.
    Could you tell me where to bring "navigatorKey" value from "main.dart" file (main page) please?
    Answer by myself -> Just import navigatorKey from main file

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, @vak-anton! 🙂

  • @harimakani2316
    @harimakani2316 2 ปีที่แล้ว

    plz, make a video on firestore.

  • @arturbd4135
    @arturbd4135 2 ปีที่แล้ว +1

    21:01 line 88
    I was trying the Email Verification Function but I cant see the whole line. Pls Help...

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thanks, also ArturBd! 🙂 please check at 20:53

  • @acoupleofgsanrandaneaniandann
    @acoupleofgsanrandaneaniandann 2 ปีที่แล้ว

    Convoluted nightmare to get the source code I give up. Also demands I accept terms and conditions when it actually says its a newsletter subscription.

  • @benhmidasaif6946
    @benhmidasaif6946 ปีที่แล้ว

    If I made the application, could multiple users log in at once and communicate, or could only one user use it? (The other user will be automatically logged out if someone logs in)

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thank you, ben hmida Saif! 🙂. Multiple user can log in.

  • @stefgijsbregts7068
    @stefgijsbregts7068 ปีที่แล้ว +1

    But if a user wants to sign up with an email, but can't verify that email, doesn't that prohibit the person who the email actually belongs to to make an account on your app?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Thanks, Stef Gijsbregts! 🙂 This is very practical if user is not able to verify email then something maybe wrong at users end. Also you can include other options for login eg. phone authentication, google login, facebook login

    • @stefgijsbregts7068
      @stefgijsbregts7068 ปีที่แล้ว

      @@HeyFlutter Great point, thnx!

  • @gustavegustave2766
    @gustavegustave2766 2 ปีที่แล้ว

    Bonjour Monsieur, excellent tuto. exactement ce dont j'ai besoins, mais je n'arrive pas à télécharger le code source.

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, Gustave Gustave! 🙂

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

    Can anyone tell ne how to also add logic for landing page.

  • @user-kn2dj9ye8g
    @user-kn2dj9ye8g 8 หลายเดือนก่อน

    i have one issue.....i created MainScreen and Login screen within statfull class....mainscreen have streambuilder. asume stream builder returned loginscreen,login screen has textform field when i tap textformfield mainscreen will exicuited automatically,

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

      Thank you, @user-kn2dj9ye8g! 🙂. Please try to provide enough details with your question

  • @calvinhermawan614
    @calvinhermawan614 ปีที่แล้ว

    Thank for the tutotial, been trying to make an app. However I have been running into issues.
    Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
    This was the error I encounter when I ran the app to test. Due to await Firebase.initializeApp();
    Is there any way for me to fix this? Because I have been searching for fixes, but I cants eem to use the flutter command on the terminal to update the dependancies?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Don't worry Calvin Hermawan, make sure to follow the tutorial step by step 🙂

    • @calvinhermawan614
      @calvinhermawan614 ปีที่แล้ว

      @@HeyFlutter would it be an issue on my dependencies on pubspec? I checked the pub dev for the latest version, yet it feels like I am running into a brick wall. I tried checking other tutorials step by step but end up running into the same issue.

  • @dhrubajyotirakshit
    @dhrubajyotirakshit 7 วันที่ผ่านมา

    Hi Johannes,
    I have 2 questions here
    1. Why dont you use the standard packages for login and authentication
    firebase_ui_auth
    firebase_ui_firestore
    firebase_ui_database
    2. Suppose your user data is stored in firestore collection called users, then how will you pull those info like first name, last name, imageUrl etc on login

    • @HeyFlutter
      @HeyFlutter  5 วันที่ผ่านมา

      Hey @dhrubajyotirakshit 😀
      1. The packages you shared are nothing but wrappers over standard libraries. You can go with your likings. There are not any such negatives to use them.
      2. Please check out this video to perform CRUD with fire-store: th-cam.com/video/w3krSTSGmaw/w-d-xo.html

    • @dhrubajyotirakshit
      @dhrubajyotirakshit 4 วันที่ผ่านมา

      @@HeyFlutter
      1. Clear
      2. Thats not what I meant. Imagine, while a new user is registered, I am creating users collection and updating first, lastname and imageUrl. Now, when I login, I need to make a call to this users collection to fetch the data. I cannot pull from Auth. For pulling, one option is to call firebase functions, or what do u suggest?

  • @habeebmakusota4047
    @habeebmakusota4047 2 ปีที่แล้ว

    having an error in the stream builder part 4:17 Err: Type future is not a subtype of type Function?

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you habeeb makusota, make sure to follow the tutorial step by step 🙂

  • @miguelbolanos4390
    @miguelbolanos4390 ปีที่แล้ว

    12:24 i can´t read the entire line (by the way, it´s awesome that you still replaying messages)

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Hey, Miguel Bolaños 🙂 Please check video at 12:08 you can see whole line

  • @gametimermsm249
    @gametimermsm249 2 ปีที่แล้ว +1

    Hi Johannes,
    can you please make a video on
    Flutter Firebase Authentication using Username and Password

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thanks for the idea, GAME TIMER MSM! 🙂 I have added it to my list of ideas for future videos!

    • @gametimermsm249
      @gametimermsm249 2 ปีที่แล้ว

      @@HeyFlutter And please added
      how to setup cloud firebase to store username?

    • @kikokal5810
      @kikokal5810 2 ปีที่แล้ว +1

      @@gametimermsm249 it already has a built in method called DisplayName that u can use, bu adding in the sign up page a username controller and in the future function adding the line FirebaseAuth.instance.currentUser!
      .updateDisplayName(usernameController.text.trim());
      which you can then access in your app with FirebaseAuth.instance.currentUser!.displayName

    • @gametimermsm249
      @gametimermsm249 2 ปีที่แล้ว

      @@kikokal5810 Thanks