Flutter Firebase Authentication - Verifying Email

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

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

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

    Thank you for this video. I would be completely lost without this series. Very grateful

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

    So where is the video when registering to send an verification email ? It is not covered in your tutorials, that's the most important part.

    • @carlosandressanchez5211
      @carlosandressanchez5211 3 ปีที่แล้ว

      Video was about verification, no registration lol.
      Furthermore, registration is just calling a Firebase function, you can even see it on the video.

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

    This video was the easiest solution to the email verification problem .Thanks for uploading..! ♥

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

    Hi there. Even clicking in the email link and the email is verified, the app cannot let the loop of the timer. What's wrong?

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

    Ok , I used the method you showed , but according to my experience its not a very clean method to check for email verification. I am looking into adding a listener to do the job both at the time of signup and login.

  • @madhank93
    @madhank93 4 ปีที่แล้ว

    Thanks man. Please do more of this firebase videos.

  • @ed-fowler
    @ed-fowler 3 ปีที่แล้ว +1

    Another great video. Would it be wise to add an emailVerified check in the Sign In sequence on LoginScreen?

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

    User user; now shows: Non-nullable instance field 'user' must be initialized.
    Since we hope to get it later, I changed it to User? user; and added null-checks (!) everywhere I use 'user'. When I run the program, I get null value returned every 5 seconds in the console and no verification email gets sent. Is there something else that needs to be changed or I'm missing?
    Edit: The changes I made DO work. The emailadress I used to verify just bounces the verification email. Used another email and worked like a charm. Thanks!

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

      how did you add the null checks ?

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

      @@koukssgirl5280 When you declare User? user you make every check every instance of user for null with !, so literally add a ! after user, like so: user! and it should work, like it did for me.

  • @peterbk364
    @peterbk364 3 ปีที่แล้ว

    Loved this series Sir

  • @haiderjaafer8164
    @haiderjaafer8164 4 ปีที่แล้ว

    Always amazing episode keep going forward...

  • @Neerajkumar-xl9kx
    @Neerajkumar-xl9kx 2 ปีที่แล้ว +1

    What will happen if your logins without verifying, since email is getting registered without email verification

  • @peterbk364
    @peterbk364 3 ปีที่แล้ว

    thankyou SIR... your series are life-Saving

    • @sougandhs4501
      @sougandhs4501 3 ปีที่แล้ว

      Did you had any deprecated error like firebase firecore deprecated with java like that ?

    • @peterbk364
      @peterbk364 3 ปีที่แล้ว

      @@sougandhs4501 no... i hadn't encountered it yet

  • @wesleybarnes5376
    @wesleybarnes5376 3 ปีที่แล้ว

    Beautifully done, bravo 👏 🙌

  • @ahmedadel756
    @ahmedadel756 3 ปีที่แล้ว

    i have been following u for a while and u are such a great help for real thx

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

    Thank you sir for this great tutorial, but how if we want to make it in null safety? i try this tutorial and the user without verification email can login to the homescreen.too. thanks sir.

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

    Thanks man really appreciate your help here!

  • @pinoymotorrider5913
    @pinoymotorrider5913 3 ปีที่แล้ว

    It works. thanks for this video.

  • @thebullcapital
    @thebullcapital 3 ปีที่แล้ว

    simple but the best

  • @lido160
    @lido160 3 ปีที่แล้ว

    Problem is the new user account is being created BEFORE they verify the email they provided. WHY?

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

    oh ,I've had a problem , it's not working anymore ,because it sends me the following error in user = auth.currentUser;
    and flutter say's
    You should not use this getter to determine the users current state, instead use [authStateChanges], [idTokenChanges] or [userChanges] to subscribe to updates.

  • @nils7285
    @nils7285 3 ปีที่แล้ว

    Thanks a lot for this video!!

  • @thisararandimal917
    @thisararandimal917 3 ปีที่แล้ว

    That is Great video .Thank you very much Sir

  • @gamisisila
    @gamisisila 3 ปีที่แล้ว

    Your mentioned links are haven't this tutorial's cord. And also this code is didn't work for me. It gives me an error. You skipping the most relevant thing in this tutorial, it is the verified email receiving part. Anyway, your password reset video is perfect.

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

    Can I do this with a StreamBuilder? or isn't viable?

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

    "and everything will crash!" lol!!

  • @aprameyaaithal9071
    @aprameyaaithal9071 3 ปีที่แล้ว

    Thank you very much!

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

    i have a question. i've been using firestore for a while so if i update it it gives errors so i leave it the same. however i was trying to implement this but since currentuser is still a future it gives me an error. any fix?

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

      I would suggest you set the current user variable on login from the firebase login result instead of using the future based firebase function. Set the current user back to null on logout. Then you have your own static value to grab when needed

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

      @@andyjulow4388 thank you very much!

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

      @@andyjulow4388 oh and another thing, after i verify my email, it doesn't go to the next screen. idk why. i tried making it longer so i have more time to go but still no effect

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

    Could you please make a tutorial on how to make a disclaimer/user agreement form please

  • @dimitristotsios2292
    @dimitristotsios2292 3 ปีที่แล้ว

    Thank you.

  • @tobotis2658
    @tobotis2658 3 ปีที่แล้ว

    Your voice is perfect for learning Stuff 🤣

  • @francescofreddi4374
    @francescofreddi4374 4 ปีที่แล้ว

    great Andy, like always... mmmmmmmmmm can you check Riverpod instead normal Provider..........

    • @andyjulow4388
      @andyjulow4388  3 ปีที่แล้ว

      I have a video planned on Riverpod, but would probably stick to provider in this series just to keep it simple.

    • @francescofreddi4374
      @francescofreddi4374 3 ปีที่แล้ว

      @@andyjulow4388 :) :=) this is why iam following you!!!! great!!!

  • @reshmamasudha9597
    @reshmamasudha9597 3 ปีที่แล้ว

    amazing and working tutorial if followed step by step .. i really go for it ..
    can you please make a video on microsoft authentication also for android application??

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

      Hi Resma. Sure, I just started a new series on a dummy application that demonstrates a number of different forms of sign in. Microsoft isn't one of them right now, but happy to add it.

    • @reshmamasudha9597
      @reshmamasudha9597 3 ปีที่แล้ว

      @@andyjulow4388 if you make a video related to this please notify along with the video link

  • @stefaandeconinck1531
    @stefaandeconinck1531 3 ปีที่แล้ว

    Thx for the nice video.

  • @eNONO-ot4zh
    @eNONO-ot4zh 3 ปีที่แล้ว

    Really helpfull tutorial. Thank

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

    Super. Please do also forgot password by email

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

    there is one problem bro user is still creating I don't need verify my email I can just close the app and re start and iIcan login to the app

    • @andyjulow4388
      @andyjulow4388  3 ปีที่แล้ว

      Yes, it's just a simple example. In a real app you would want to have a listener setup for entry. It's coming in a future video.

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

      @@andyjulow4388 Did you make this video dude?

  • @hectorprx
    @hectorprx 4 ปีที่แล้ว

    Thanks

  • @deviduttadixit9572
    @deviduttadixit9572 3 ปีที่แล้ว

    When I enter any worng email and password and click on sign up, then the total app gone stock

  • @devState226
    @devState226 3 ปีที่แล้ว

    Great

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

    Well this does not work with every mail provider. Outlook sees this verification mail like spam.

  • @chetan6406
    @chetan6406 4 ปีที่แล้ว

    Waiting for payment integration and add to cart features on farmers market app

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

    logout does not work after that why?

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

    I don't think a timer is the correct way to handle this. You should just catch any exceptions thrown

  • @tod670
    @tod670 3 ปีที่แล้ว

    Same tutorial for react?

  • @mgdmaaztaha797
    @mgdmaaztaha797 3 ปีที่แล้ว

    i have error in line 13 User user; i don't why

  • @eNONO-ot4zh
    @eNONO-ot4zh 3 ปีที่แล้ว

    I want you give 1000 like 👍. But TH-cam not agree. 😀
    Thank. I waiting phone authentification

  • @mohdyusuf6277
    @mohdyusuf6277 4 ปีที่แล้ว

    bro it is not working.