🔒📱 Email Login & Logout • Flutter Auth Tutorial ♡

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

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

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

    🥷🏽 FOLLOW ME
    Patreon: www.patreon.com/mitchkoko/
    Instagram: instagram.com/createdbykoko/
    Twitter: twitter.com/createdbykoko/
    TikTok: www.tiktok.com/@createdbykoko/
    FLUTTER AUTH PLAYLIST:
    1 • 📱 Modern Login UI • th-cam.com/video/Dh-cTQJgM-Q/w-d-xo.html
    2 • 📱 Email Login & Logout • th-cam.com/video/_3W-JuIVFlg/w-d-xo.html
    3 • 📱 Email Sign Up • th-cam.com/video/qlVj-0vpaW0/w-d-xo.html
    4 • 📱 Google Sign In • th-cam.com/video/1U8_Mq1QdX4/w-d-xo.html
    FIREBASE x FLUTTER AUTH DOCUMENTATION • firebase.google.com/docs/auth/flutter/password-auth
    If you need more help with setting up FlutterFire CLI, watch this: th-cam.com/video/3lsP1jZNqjE/w-d-xo.html
    I hope this helps you ✌🏾❤

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

      Great! Excited for that.

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

      can't waitt

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

      I liked you all videos

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

      please, i dont get int type from fireStore
      FutureeditAge(int Age) async{

      }
      MyTextBox(
      text: userData['Age'],
      sectionName: 'Age',
      onPressed:()=>editAge('Age')
      ),

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

    Love the design and explanation is very clear. Can't wait to see the full outcome. Ecommerce is got lots of features to build

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

      Haha yeah let’s see where this goes 😂

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

    Very very useful, I don't know how to explain it but you only tell us "the needfull" and you do things fast which is very productive, as I need to learn flutter for only a single project, it's perfect for me. Keep it going buddy!

  • @clixt984
    @clixt984 ปีที่แล้ว +6

    So far so good man! I'm a Flutter noob but do have some experience with front-end dev. You make learning Flutter "chill". Looking forward to watch more of your Flutter tutorials!
    PS: I did encounter issues with flutterfire not adding the firebase_core: ^2.13.0 to the pubspec.yaml. Maybe because I had it open? Either way it's an easy fix.

  • @gregoryam
    @gregoryam 11 หลายเดือนก่อน +20

    If you're not getting the error messages in your console:
    Google has added email enumeration protection, which you will need to turn off (Not recommended), because attackers may try to see if your app has that email address associated with your app. There's no way to see (if this is enabled) if the password or email is incorrect as it will only print invalid-credential to the console if you use " else {print(e.code)} ".

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

      thank you lol I was wondering why no error message was being displayed

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

      thank you so much pro

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

    thank you brother! all your videos are simple, logical and easy to comprehend!!! more grace bro

  • @osmigtorres2333
    @osmigtorres2333 7 หลายเดือนก่อน +14

    im doing exactly what youre doing, at the moment i put email and password and hit sign in it doesnt do anything, i need help, i've reviewed the lines and they are just like yours

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

      I figured it out ! , try using an email you actually own , then after manually entering the username and password on firebase , click reset password , open your email and reset your password and try again , and it will work

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

      @@Helmy_guides nah it didn't
      also not able to solve via chatgpt, an error dialog box is popping in the app saying "dev.flutter.pigeon.firebase_auth_platform_interface.firebaseauthhostapi.signinwithemailandpassword"

    • @MakeItThink
      @MakeItThink 20 วันที่ผ่านมา

      late to the party, but i got a network connection error, caused by VPN. I turned off VPN and it worked for me.

  • @AliRaza-ny4em
    @AliRaza-ny4em หลายเดือนก่อน

    This is step one of my FYP for BSCS degree. I'm gonna do it tomorrow IA. THANKYOU SO MUCH ❤✨

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

    Mitch koko is cute asian man and has a calm voice. This video made me fall asleep while working 😂💓. Thank you for the tutorial

  • @AlexSison-jt2uc
    @AlexSison-jt2uc 7 หลายเดือนก่อน +3

    Hey Mitch. Alert Dialog message functions wont appear. Tried researching but no luck.

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

    Hi thanks for this tutorial I followed another here on TH-cam but a major part was skipped and I got confused. Thanks I really appreciate and you have gained a subscribed too!

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

    Thanks for the tutorial, clear and thorough explanation, especially for newbies and students like me! Also, thanks for sharing the source code, that way I can analyze and refer my code to yours if there are any issues.

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

    Amazing 🤩 it came right on time ❤ thanks for your great efforts

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

    your tutorails are owsome. i like them. i have learned many things from your videos thank you so much for your hard work

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

    Amazing as always

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

      Hey Muhammad! how's Flutter going for you so far?

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

    This is the best tutorial! 😄

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

    ESTE VIDEO ME FUE INCREIBLEMENTE UTIL GRACIAS TE AMO

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

    Always waiting for your new videos

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

      Haha nice, i’m working hard trying to produce more 👨🏽‍💻❤️

  • @itsahmed-dev
    @itsahmed-dev 2 ปีที่แล้ว +5

    To deal with 'Do not use BuildContexts across async gaps' error write code line with context problem like this
    if (mounted) Navigator.pop(context); or if (!mounted) return; before that line.

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

      what doest mounted do doest it tells you current active state?

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

    thank you for expalining all topic very simple type.😍😉😊🤭

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

      Simple is how I like it 💜 glad it helps u!! how is Flutter going so far?

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

      My pc is very bad condetion. 💯😭😭

  •  2 ปีที่แล้ว

    thanks for the tutorial, can't wait the next one :)

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

    Awesome bro. It helped me a lot.

  • @Lin-bi2rd
    @Lin-bi2rd 6 หลายเดือนก่อน

    Nice video, very clear and useful, hope you also do the role based authentication

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

    Life Saver thank you so much

  • @GabrielleMutunda
    @GabrielleMutunda 8 หลายเดือนก่อน +3

    Hiiiii, I don't know why this part of my code is not working
    if (e.code == 'user-not-found') {
    //pop up wrong email
    wrongEmailMessage();
    } else if (e.code == 'wrong-password') {
    //pop up wrong password
    wrongPasswordMessage();
    // ignore: use_build_context_synchronously
    }
    The Alert dialog box doesn't show up at all and I don't know why, I'll be glad to get help! Thanks.

    • @rfiuwwinlye7453
      @rfiuwwinlye7453 8 หลายเดือนก่อน +2

      if (e.code == 'wrong-email') {
      wrongEmailMsg();
      } else if (e.code == 'wrong-password') {
      wrongPasswordMsg();
      change to :
      }if (e.code == 'invalid-email') {
      wrongEmailMsg();
      } else if (e.code == 'invalid-credential') {
      wrongPasswordMsg();
      }

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

      credit to someone below

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

      @@rfiuwwinlye7453 Thanks a lot it's working now!

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

      @@rfiuwwinlye7453 thanks a lot dude!!!

  • @21izah
    @21izah 2 ปีที่แล้ว

    Can't wait for Google signing 🥰....and your last read you covered reading and displaying all ids and their corresponding data, would love it if you can do one on reading and displaying for just the user data..... Dat way one can learn to manipulate d data which ever way he wants.....

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

    for you it was 5 min. for me it was literally 1 hour

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

    Amazing set of tutorials

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

    Most excellent videos man! I have enjoyed all of them I've seen so far. I had an issue with the wrong password alert. It seems that maybe the documentation has changed since you made this video. When I printed out e.code to check, it looks like the code 'user-not-found' may be replaced with 'invalid-login-credentials' is the new code to use to account for wrong email or password. This may help some who follow along at a later date. Again great job you are an excellent teacher!

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

      yes it did changed

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

      Hey There! I am stuck with the similar issue and tried what you suggested but it's still showing the loading circle and not the pop up message
      Can you help me with this one?
      Thank you!!

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

    Hi, Mitch, thanks for the tutorial!
    Could you wrap this authentication behind bloc + repository pattern? I'm struggling a lot with this...

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

    Again Nice Presentation Brother ❤

  • @mysticalevents-y4i
    @mysticalevents-y4i 11 หลายเดือนก่อน +1

    Thank you for the wonderful video. I have run the code and the UI is launched fine. Log in is working. But the Wrong email and Password check is not working. It doesn't even print the message on console or show on alert dialog. Any pointers will be helpful.

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

    Great Tutorial, Thanks a lot!

  • @NematJafari-pq4ju
    @NematJafari-pq4ju 7 หลายเดือนก่อน

    hi Mitch, any chance you can tell me or create a content showing how to build an admin panel for firebase ?

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

    The FLUTTER world without you would't be the same... 🌈

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

    Thank you so much ❤️❤️🤟

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

    when I press login nothing happens however when I run hot reload then the auth page does its job and navigates to homepage. how do I fix this?

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

      Got the same issue.

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

      Make sure when you run flutter configure you've correctly selected the platform you're going to use.

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

      ​@@bonganelebopo2657 got the same issue right now did you found how to solve this iissue?

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

      are you overcame this issue!!?

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

    did anyone have issue with wrong email/password notification not working?

  • @itsahmed-dev
    @itsahmed-dev 2 ปีที่แล้ว +2

    Try not using print() in your code instead us debugPrint(). Does that same thing but without any lint warnings.

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

    Nice and Clean The Guide God ❤️

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

    I have some questions - shouldn't the void signUserIn be Future instead? and also probably better to dispose of the controllers
    great video tho

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

    Hi Mitch, I followed your steps, but when I close the app on my android phone, the user is signed out automatically. Do you know what may be causing this? I do not have this problem with any other app on my phone and on the emulator it seems to work fine. Thank you for your great tutorials!

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

    wonderful tutorial man but the alert dialogue doesnt seem to show up at the try and catch part any suggestions please?

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

    Good morning! I really like this tutorial. But can you add a feature that when the user registers, the system generates a unique alphanumeric code for each user please.

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

    Awesome tutorial.

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

      Glad it helps u 👨🏽‍💻❤️

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

    Bro i dont know what i di wrong but after clicking the login button it logs in but i have to press the back button

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

    *HELP* This message appeared "Initial task failed for action RecaptchaAction(action=signInWithPassword)with exception - The supplied auth credential is incorrect, malformed or has expired." instead of 'Error' popup.

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

      Same issue wt to do

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

      @@CodingMakesMeHappy I think its error linked with firebase configuration

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

      @@ashmaei do u solved this?

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

      ​@@CodingMakesMeHappyIn the if else condition, I just changed from 'user-not-found' to error that firebase show for ex. 'invalid-email'. You can watch his next tutorial how to make app pull of type of error.

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

      ​​@@CodingMakesMeHappyAnd in my code I just change the Error widget from *ShowDialog* to *SnackBar* to make it clean and simple.

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

    Good video man, just a question wouln't having the google logo only as a button to login violates the google trademark? they explicitly say to don't do that

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

    I've been looking everywhere but can't find what app he uses for the app intro...

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

    tried a lot of things, sign in button on clicking is not directing to logged in page

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

      check out the new video, it has what you need: th-cam.com/video/ubmLxAvImBs/w-d-xo.html

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

    So.. I never read the documentation for firebase.. and I used to add the iOS and Android projects manually.. Thanks for the letting me know about the firebase commands..

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

    Hey im running into this error towards the end, where i couldnt print either of the errors, and when i moved towards displaying the alert dialog, it just displays a blank screen for either of the errors. How could i fix this?

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

    last part of the code is not working.. for try and error.. please help me with that

    • @YusufAbdiali-o5z
      @YusufAbdiali-o5z ปีที่แล้ว

      same here and the code got no errors that is the bad part

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

    bro , if there's someone to copy style in development field .i will choose you .
    i really enjoy your videos . i really badly want to connect with you

  • @21preend42
    @21preend42 11 หลายเดือนก่อน +1

    at 9:46 this didn't work for me at all, i tried so many things, I don't really know why because i am a beginner. I did successfully logged in, but pressing Sign In wouldn't change page. I had the page change to a separate Profile page, instead of home, so maybe that was the issue, maybe the streamer is not checking if the user is logged in properly???, changing the home to AuthWrapper, worked but i didn't want that. I did fix it after i looked it up i think this is what made it work
    "Navigator.of(context).pushReplacement(MaterialPageRoute(builder: (_) => ProfilePage()));" and some other coding.

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

    Hi! After u finish the auth tutorials, will u be able to help us learn how to set the monetization part of an app? for example, only show a certain page if the user is "v.i.p." otherwise it shows another. etc. I know that envolves DBs but the flutter aspect of it would be great! Thanks :D

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

    If you take error 11:00 you can use this row :
    "LOGGED IN AS : ${user?.email}",
    Thanks Mitch.

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

      thx man

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

    can you make tutorial about both vertical and horizontal list view app

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

    thanks a lot great tute yo yo

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

    awesome tutorial

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

    Hello i hope you're fine and thanks for this good video. i have a question : when i change my stateless to stateful widget like you i had an erro while you don't have one, and i don't know how to correct it. i have tested many reponses and with that the error i can test my app. the error is : Missing concrete implementation of 'State.build'.Try implementing the missing method, or make the class abstract.

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

      Same issue, did yu solve it ?

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

    can you show keychain access in login form(for save or get autofill email password)

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

    Can you do login and registration using provider...?? Please

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

    Thanks for the tutorial! It explains things very well.
    I would be very happy if you could explain REST API (php) authentication as well.
    I bet there are many php backends out there that could be used with flutter apps and for sure there are many people interested in this area... I am one of them :)... please consider adding REST API (php) authentication tutorial.

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

    Hey mitch how did you make it so when you click on the Sign Up button it sends you to the home page?

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

    hey there, its a great process learning from your videos and it has been very helpful, but what if i were to have two types of users instead of one? how would i direct myself to each log in accordingly?

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

    I am having an issue with this method. Two of them.
    One, if I enter something like wrong password, or email, it shows the popup box with the error message, then changes to a white background with the loading indicator still.
    Second. When I successfully continue on, the app I'm working on's home page will flash, then go to a white screen again with the loading indicator.
    I tried following along the tutorial but doing it on my own, then even tried copy and pasting your code verbatim.
    Any suggestions?
    EDIT: I just found if I exit out of the app and reopen it, it will then be at the home page (if I'm using your blank home page "logged in as" template)

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

      I added useRootNavigator: false to the showDialog params and it worked for me fine after that.

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

    Hey Mitch at the end can you turn it into a fitness app that has a feature of weight chart that you manually put weight on certain dates and it is represented by a beautiful graph at the end.. and persists. If possible with other features also

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

    Mitch, thanks for your videos. I enjoy them a lot.
    Did flutter change the way FirebaseAuthException's e.code works? the IF condition that checks for e.code does not work because e.code is not returning "user-not-found", or "wrong-password"... e.code always comes back as "invalid-credential" whether the email incorrect or the password. And when the fields are left empty, it returns "wrong-channel".
    Another thing I noticed is that e.message always comes back as "The supplied auth credential is incorrect, malformed or has expired."

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

      Alright, answering my own question. If you encounter the same issue, it turns out that after September 15, 2023 it seems that Google changed the exception codes that are returned by the FirebaseAuthException class in order to prevent attacks. So, in other words.. you won't get 'user-not-found and wrong-password" from e.code anymore.
      You could either deal with the more generic e.code value which is "invalid-credential", or you could disable the Email enumeration protection inside the Firebase Auth Settings page.
      Hope that helps everyone else having the same issue.

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

      @@P_double_H yea just found that out, its a bummer. any clue how i can find is the email or password is invalid separately?

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

    any chance you could make a tutorial for auth without firebase?

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

      Yeah i could in the future videos. Any suggestion for which service to use?

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

      @@createdbykoko say something like a custom server or API endpoint

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

    Error: The pod "Firebase/CoreOnly" required by the plugin "firebase_core" requires a higher minimum macOS deployment
    version than the plugin's reported minimum version.
    To build, remove the plugin "firebase_core", or contact the plugin's developers for assistance.
    Error: Error running pod install
    may i know how can i solve this issue after 5:17 🥹?

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

    Can you do login and registration using provider...??

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

    can you make the same tutorial with nodejs please?

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

    in next video in this series... teach us : a profile page for the loggedin user.

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

    Hi Mitch, my name is Gregory. So I've been following your tutorials step by step and they've been helpful but I have little problem. So for my app, I already created a splash screen and I made it the first tihng to appear not auth page. But by doing that, it does not display the auth page and the sign in button isn't clickable as well. But as soon as I change the home to the Auth page on the main.dart file, it works. What should i do? Thank you

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

      Same issue, did you solved it?

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

      I have the same issue as welll. Any fix yet?

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

    Gracias por este video.

  • @LeonardoReyes-ob7hv
    @LeonardoReyes-ob7hv ปีที่แล้ว

    Hello, for some reason the loading circle doesn’t go away. It only disappears when I click on the app. How else can I resolve this?

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

    Hey mitch what if the user closes the app in the background what happens with the user it stays logged in what can we do there

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

      Do you want the user to be logged out when the app is closed? That’s possible but not sure if you want the user to log in every time

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

      @@createdbykoko yes if the app is closed in the background and yes the user can login every time.

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

      Hey mitch do you know how to do this my friend will you do a vid? It would be massive thanx by hand

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

    how to install firebase step by step please when i put the link CMD its not recognise

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

    how can you put your name in flutter and email show but sir name is not show please tell

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

    Hi Mitch! Thanks for the tutorial. In the end... when I have the dialogs of wrong email / wrong password... after I click it to dismiss... I'm yet having the CircularProgressIndicator. It's only dismissed when I log in. Could you help me?

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

    how does ur build hot reload even with "flutter run"

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

    had issues with the flutter core

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

    Thank you for the professional video. Just one small thing in the signUserIn method. Here's a small adjustment for deleting the CircleIndicator without warning
    void signUserIn() async {
    showDialog(
    context: context,
    builder: (context) {
    return const Center(
    child: CircularProgressIndicator(),
    );
    },
    );
    await FirebaseAuth.instance
    .signInWithEmailAndPassword(
    email: emailControler.text, password: passwordControler.text)
    .then((_) {
    if (!context.mounted) return;
    Navigator.pop(context);
    });
    }

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

    hiii nice tutorial
    i copied exactly how u where doing and everything works properly,
    except after i clicked the signin button its not going to the homepage
    but the terminal shows its has connected to the firebase correctly and also shows my user id
    how can i solve this?????

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

      Same with me huhu

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

    flutter otp login please it is so confusing

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

    why do 'incorrect email' is displayed as many times as I click on sign in, but 'incorrect password' is displayed only the first time a wrong pass has been inputted, only once, no mater how many times i clicked 'sign in'

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

    what if there are two user?

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

    helloo koko.., i just want to know if we put the authentication firebase and firebase hosting do we need to redo 2 times of the json file?

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

    Is it possible to make this with Hive db?

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

      Of course! however hive is used for local storage. This video was about authentication. What is your question exactly? 💜💜

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

      @@createdbykoko wanted to make simple fitness tracker, so I chose Dart + Flutter + Hive. And I wanted to implement something like "login with profile" functionality using local DB

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

      @@kheprago nice! Good luck with that! Let me know how it goes💜

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

    Can i use PHP to authenticate with this same code?

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

    where is source code for authentication?

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

    bro.. there is a error red line under , and authStateChanges() not founded. its showing onAuthStateChanges. how can i sove this?

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

    cant see the log on my win11, how ?

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

    hey mitch!! am getting an error:
    am using windows version of vs code.
    in the terminal of vs code as i put the command of flutterfire configure it returns with an exception as follows:
    "FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command."
    it also returns with the error message-
    "ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed"
    i have already installed the firebase cli, but still it is giving me the error. please help in resolving this issue.

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

      you can fix by you new install beacasue i tryed new install it works or you set path again if i use worse grammar i am sorry beacasue i am thai

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

      well thanks for your help @@boy_negative my error got solved as i re-installed the cli

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

    How do i login into firebase from VsCode? Im stuck there

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

      Hello, did u follow the first 2 mins of the video? Let me know more information about your problem and I can try to help u out

  • @Balakrishnan-zx6yx
    @Balakrishnan-zx6yx ปีที่แล้ว +2

    There is one UI issue in your code...
    When I entered the wrong-email it shows alertBox as "Invalid Email". If I tap on the screen AlertDailog disappers. Upto this, it is fine.
    But if I again click sign In, AlertDailog didn't appeard after any number of times.
    Could you please comment about this.
    Thank you sir.

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

      i have issue too. The AlertBox not showing up, and before AlertBox, I try use 'print' like in 13:35 but not showing in terminal.

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

      Did you solve it?

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

      @@emirhanyarali7050 nope

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

    me when I found this tutorial @11:57

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

    bro, how i can fix bottom overflowed by 306 pixels what should i do?

    • @AlexSison-jt2uc
      @AlexSison-jt2uc 7 หลายเดือนก่อน

      wrap your main column widget with Scrollview

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

    Super video bro