Flutter Google Sign In using Firebase | Flutter Firebase Auth Tutorial iOS, Android

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии • 113

  • @utpalgaurav14
    @utpalgaurav14 10 месяцев назад +1

    Your video is a lifesaver. Best tutorial video on RUclips.

  • @isyrafismail7801
    @isyrafismail7801 Год назад +2

    Love it when you do the code with the explanation even on the simple thing so newbie like me can be more understand. Subscribed!

  • @i.ankushbhateja
    @i.ankushbhateja 16 дней назад +1

    Thank you so much! It worked perfectly! Keep up the amazing work!

  • @zhenghaizhou6085
    @zhenghaizhou6085 11 месяцев назад

    Thanks!

  • @agungeka9281
    @agungeka9281 5 месяцев назад +1

    Thank you Hussain, its really helpful. With love from IDN

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

    thank u man, this is just awesomely helpful for real

  • @preneure
    @preneure Год назад +2

    Awesome tutorial as always keep making these great videos.

  • @ketokun
    @ketokun 8 месяцев назад +1

    Many thanks! Absolutely brilliant explanation!

  • @moneyman-ne9lw
    @moneyman-ne9lw Год назад +2

    Thank you for this awesome tutorial.

  • @lequoctam
    @lequoctam 6 месяцев назад +1

    Thank you so much the 12:07 is what i need to solve when i cannot find my SHA1

  • @zhenghaizhou6085
    @zhenghaizhou6085 11 месяцев назад

    great video! the re-run flutterfire configure advice saved my life! 🥳

  • @ArjunAR06
    @ArjunAR06 Год назад +3

    Awesome explanations!. I'm just starting with frameworks and I like Flutter more than React. What do you suggest me to go with? I'm confused what the industry actually needs(Flutter vs React)

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад +1

      Flutter and React Native both are excellent choice. However, there are more React developers jobs in the market.

  • @Almita-ql1gt
    @Almita-ql1gt Год назад

    Ngl you saved my whole project

  • @daquere
    @daquere 11 месяцев назад

    Excellent video, solve my problem!!! Congrats!

  • @RonyHassan47
    @RonyHassan47 Год назад +1

    As always very good than others

  • @gunasheelan4130
    @gunasheelan4130 Год назад

    thank you so much bro you just ended the war between me and my app!!!😫😫

  • @muhammadali4653
    @muhammadali4653 6 месяцев назад +1

    AWESOME and Thankyou!

  • @kairatkubat8877
    @kairatkubat8877 Год назад +1

    great tutorial ! Thank you sir

  • @vickymoreno3977
    @vickymoreno3977 11 месяцев назад +1

    Hello! Thanks for the tutorial, very easy to follow along and understand! But I get this error when trying out the app in my own phone.
    Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. Some specific scenarios are - 1) Using IDP-Initiated SAML SSO. 2) Using signInWithRedirect in a storage-partitioned browser environment.
    I have Firefox as the default browser. I have noticed it doesn't happen when using Brave or Chrome. I suppose is has to do with Firefox privacy configurations, but is there a way to sign in that doesn't make this error show up?

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 месяцев назад

      Hi,
      This tutorial focuses its instructions specifically for iOS and Android I believe web apps might require additional configuration not mentioned in this tutorial.

  • @rafaymushtaq2316
    @rafaymushtaq2316 Год назад +3

    Sir, can you make the tutorial on push notification using firebase messaging? How to save fcm token in database and most important thing how we trigger automatic notification for example admin add some products it automatically push notification to user about adding product ❤. 😊

  • @uvinuthsara3710
    @uvinuthsara3710 8 месяцев назад +1

    Thank You very much! : D

  • @koadhiow
    @koadhiow Год назад

    It's work!, thank you, next, sign in/up with facebook please

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      Great 👍. It's in the works.

    • @koadhiow
      @koadhiow Год назад

      @@m_hussain_mustafa ops, sorry,, typo, it works! I've been following your video lessons on udemy too, and they have been incredibly helpful for me, Thank you for sharing your expertise and making the learning process enjoyable.🙂

  • @greetingsfromnow
    @greetingsfromnow Год назад +1

    Hello, is there a token duration after logging in with Google? If we are performing a read operation with an authenticated user, should we perform a background process like token renewal after this login process.

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      I believe firebase does this automatically all you have to worry about is making sure the user is authenticated.

  • @NithyaAlagupandian
    @NithyaAlagupandian Год назад +1

    can you please upload fb login integration with firebase using flutter?
    it would be very helpfull for me can you upload more flutter related videos because you are explaining very clear and neat
    Awesome

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      Thank you. I’ll try doing a video on fb login using Firebase.

  • @hah407
    @hah407 6 месяцев назад +1

    my build doesnt have an app folder
    edit: youre supposed to run it on an android first haha. i used an emulator and tried it on my android phone too.
    the android googel authworked for me.
    i havent tried the ios since i dont think i have an ios simulator.
    gonna try it!

    • @m_hussain_mustafa
      @m_hussain_mustafa  6 месяцев назад

      Awesome to hear you figured it out. :)

    • @hah407
      @hah407 5 месяцев назад

      @@m_hussain_mustafa thank you ive been watching your videos and they help a lot

  • @amadousow8048
    @amadousow8048 Год назад

    I like it, very well explain it's great

  • @theweirdcookiez4291
    @theweirdcookiez4291 2 месяца назад

    Code works but my windows pc shuts down whenever the emulator opens up google chrome

  • @vikashtiwari8360
    @vikashtiwari8360 2 месяца назад +1

    sir than you soo much

  • @AlfaSanga
    @AlfaSanga Год назад +1

    Best tutorial 👍

  • @WE-vd8ux
    @WE-vd8ux 7 месяцев назад +1

    The Google login works well, but if i sign out and re login - the app doesn´t ask me to choose an google account. It automatically logs me in with the one i was logged in before.
    Is this behaviour correct or is it bug?

  • @kawesu8781
    @kawesu8781 Год назад

    Can we have the log out page on another dart file? the issue with the current one is everything is 1 dart file.

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      Yes you can put the logout functionality anywhere you’d like. This was just for tutorial purposes.

  • @GodFlame326
    @GodFlame326 8 месяцев назад +1

    Does this work without the phone emulator? Like in the chrome?

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 месяцев назад

      I think it will work but it'll require some more configuration.

  • @CapWuzza
    @CapWuzza 11 месяцев назад +1

    I have a problem. I will not be forwarded to the registration even though I did the same as in the video.... Did you have this problem?

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 месяцев назад

      Hi,
      I believe the registration logic is a bit different then signing in the code might have to be modified a bit.

  • @nexonmusicfeels6910
    @nexonmusicfeels6910 Год назад +1

    Great tutorial sir ❤
    Can you please make a app for language translator for different languages?? Sir
    Please sir
    Love your content ❤

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад +1

      Hi, Thank you for your comment. I already have a video on this topic: ruclips.net/video/ltOGmtSuN6w/видео.html

  • @mozun7926
    @mozun7926 9 месяцев назад +1

    the numbers in the beginning where do i get it, it gives me error on the firebase_auth

  • @TheProGamerVibes
    @TheProGamerVibes Год назад

    what about i want to know if google login is work on release mode. I need to change sha1 to the one that i already upload to google play store?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      If the sha1 changes then I believe yes you have to.

    • @TheProGamerVibes
      @TheProGamerVibes Год назад

      @@m_hussain_mustafa and another question. the command keytool -printcert -jarfile app-debug.apk it print Not a signed jar file

  • @hendan
    @hendan 10 месяцев назад

    you only the people who let me succeed implement with iOS

  • @azizrajpoot999
    @azizrajpoot999 6 месяцев назад

    Appreciated 💣

  • @sulemanali8542
    @sulemanali8542 Год назад

    Awesome ,Did you make Flutter Facebook Sign in Using Firsebase ? for Android and IOS ?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      Hi, I haven't made a tutorial on that yet. It still is in the works.

  • @mozun7926
    @mozun7926 9 месяцев назад +1

    flutterfire configure line is not working with me what do i do?

  • @ummii4804
    @ummii4804 Год назад +2

    getting this error
    Error: UnimplementedError: signInWithProvider() is not implemented

    • @princzesbarnabas
      @princzesbarnabas 11 месяцев назад

      Hey, is there a solution yet?

    • @vikashtiwari8360
      @vikashtiwari8360 2 месяца назад

      GoogleAuthProvider _googleAuthProvider = GoogleAuthProvider();
      _auth.signInWithProvider(_googleAuthProvider);

  • @gouthamkrishna6922
    @gouthamkrishna6922 11 месяцев назад

    It worked the first time, but now it just crashes everytime I click signup

  • @abelbeyene868
    @abelbeyene868 5 месяцев назад +1

    real solution!!!

  • @ammarbhatkar_0846
    @ammarbhatkar_0846 Год назад

    iam trying to run keytool -printcert -jarfile app.apk command but getting error :'keytool' is not recognized as an internal or external command,
    what should i do ?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Год назад

      You need to ensure you have the android sdk and ndk correctly setup and installed on your system.

  • @GodFlame326
    @GodFlame326 8 месяцев назад

    One last question. When I clcik Sign in button, it opens and closes a window and keep stuck in button loginscreen. I have updated the hashes as you explained but I dont know where to go.
    E/FirebaseAuth(21430): [GetAuthDomainTask] Error getting project config. Failed with INVALID_CERT_HASH 400
    E/flutter (21430): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_auth/invalid-cert-hash] There was an error while trying to get your package certificate hash.
    E/flutter (21430): #0 FirebaseAuthHostApi.signInWithProvider (package:firebase_auth_platform_interface/src/pigeon/messages.pigeon.dart:1190:7)
    E/flutter (21430):
    E/flutter (21430): #1 MethodChannelFirebaseAuth.signInWithProvider (package:firebase_auth_platform_interface/src/method_channel/method_channel_firebase_auth.dart:376:22)
    E/flutter (21430):
    E/flutter (21430): #2 FirebaseAuth.signInWithProvider (package:firebase_auth/src/firebase_auth.dart:648:9)
    E/flutter (21430):
    E/flutter (21430):
    Any tips on how to solve it? Thanks for the amazing work

  • @shahfahadafridi619
    @shahfahadafridi619 Год назад +1

    why user.displayName is null

  • @LUCIFERMORNINGSTAR-pz2zc
    @LUCIFERMORNINGSTAR-pz2zc 9 месяцев назад

    how to access display name and birth date , display name property give me null value

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 месяцев назад

      Hi,
      I believe the display name and other properties should be available on the authenticated user object instance provided by the firebase auth plugin.

  • @EftifaJannat
    @EftifaJannat Год назад +1

    Woww. Best one

  • @collinsolokpedje6818
    @collinsolokpedje6818 Год назад

    you were erasing my homepage and default increment screen, i just want to bring it to your attention that you can actually create an empty flutter project with the -e flag

  • @Cachenboy
    @Cachenboy 8 месяцев назад

    capoooo

  • @manoarjun1265
    @manoarjun1265 7 месяцев назад

    worked❣

  • @llamacoder
    @llamacoder 7 месяцев назад

    You talk a little too much

    • @m_hussain_mustafa
      @m_hussain_mustafa  7 месяцев назад

      Hahaha 😆 I'll take this as a positive thing. Cheers. Thanks.

  • @deccan
    @deccan 6 месяцев назад

    Commercial guy, Asking people to pay when clicked his source code link. You should highlight that it is a paid link

    • @m_hussain_mustafa
      @m_hussain_mustafa  6 месяцев назад

      Hi, the source code for this video is completely FREE. All you have to do is provide your email and it's delivered in your inbox.

  • @AliMsheik-tb7uj
    @AliMsheik-tb7uj 11 месяцев назад +1

    this video could be 4 minutes long and its clearly says google sign it not firebase setup bro nobody likes long intro just give the code and we are done

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 месяцев назад +6

      Brother if you are in a hurry does not mean everybody else is as well. I have to cater to all peoples beginners, intermediate and advanced. What works for you might not work for them. If you just need code better off googling and copy pasting.

    • @shuaibalghazali3405
      @shuaibalghazali3405 8 месяцев назад +2

      ​@@m_hussain_mustafathank you very much for making a detailed video really appreciate it

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 месяцев назад +2

      @@shuaibalghazali3405 you’re welcome ☺️