Flutter Tutorial - Google SignIn WITHOUT Firebase - Android, iOS, Flutter Web

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 310

  • @HeyFlutter
    @HeyFlutter  Рік тому

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/google_signin_iii_example

  • @saplkereviz6824
    @saplkereviz6824 5 місяців тому +2

    Thanks. No one explained the SHA key system in other videos. You are a savior.

    • @HeyFlutter
      @HeyFlutter  5 місяців тому

      Glad you liked it, @saplkereviz6824 😀

  • @marufhassan634
    @marufhassan634 4 місяці тому

    This is the best video, covering all the cases except iOS. Thank you, the video still works perfectly 3 years later!

    • @HeyFlutter
      @HeyFlutter  4 місяці тому

      Glad to hear that, Thank you @marufhassan634! 😊

    • @tananga_studio
      @tananga_studio 4 місяці тому +1

      Im getting [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) even if mike gets 12500 and I have no idea how to solve it

  • @tamborelconejo
    @tamborelconejo Місяць тому

    i spent many hours doing this (days actually), you solved it. MILLION THANKS, I'm subscribing

  • @salvadormoyabartolome9396
    @salvadormoyabartolome9396 10 місяців тому

    I have been searching for a tutorial like this for too long, thank you. You solved in 16 minutes while 10+ articles couldn't because all lead to firebase somehow without even mentioning it

    • @HeyFlutter
      @HeyFlutter  10 місяців тому

      Glad to hear that, Thank you @salvadormoyabartolome9396! 😊

  • @okanyldrmop
    @okanyldrmop 3 роки тому +2

    Man, I was looking for an updated and good guide, you saved me!

  • @saibotblack
    @saibotblack 3 роки тому +2

    Vielen dank! Genau ein solches Tutorial hat mir immer gefehlt. 👌😃

  • @pranthonyaquino
    @pranthonyaquino 3 роки тому +7

    Thanks, again Johannes, nice explanation. I wish you could dive deeper in an oauth creating a authentication service with refresh token and token validation. Well, it's a suggestion. :)

  • @mzain823
    @mzain823 3 роки тому +3

    That was super informative and on-point.
    Thank you Johannes. Good work mate. 😀

  • @hashankannangara8723
    @hashankannangara8723 3 роки тому +4

    It's a totally important one dude! thanks.

  • @punisher077
    @punisher077 11 місяців тому +1

    I am not getting idToken, i need this so i can verify the user, how can i get the idToken? Any idea?

    • @HeyFlutter
      @HeyFlutter  11 місяців тому +1

      Hey @madhugautam148, make sure to follow the tutorial step by step 🙂

    • @punisher077
      @punisher077 11 місяців тому

      @@HeyFlutter thank you for the reply. But i need to send idToken from google to backend, so that backend will get all the user information, hence user can be verified. If they are verified, only then can they be navigated to another page, else they will get snackbar saying can't verify.

  • @abdulazizaboujib5590
    @abdulazizaboujib5590 3 роки тому +4

    Thanks again and again for the great content 😄 1 short question , is there a best use case or we can always use google signin with firebase or without firebase and the application performance will stay the same ? If there is a key difference for when to use firebase or without firebase i think everyone will be happy knowing it 😄

  • @Zeptember97
    @Zeptember97 2 роки тому

    again Johannes did save my life. big thanks!

  • @ВикторЦай-л7я
    @ВикторЦай-л7я 2 роки тому

    Damn, man! You are on time, as usual! Thank you just a loooot!

    • @HeyFlutter
      @HeyFlutter  2 роки тому +1

      You’re most welcome, Виктор Цай! 🙂

  • @higtv1
    @higtv1 2 роки тому

    is the same for iOS or you just didn't cover that in this video ?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Hey, Huligani iz Gimnazije 🙂 this will work for ios and web also

  • @gumdum6764
    @gumdum6764 3 роки тому +1

    Awesome! Thanks for this. I was able to get a working google login on an android emulator. 🥳

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 3 роки тому +2

    Curious for message notification video
    Send message from one device and notification pops in other device of a specific person

    • @bhupeshpattanaik7150
      @bhupeshpattanaik7150 3 роки тому +1

      @@HeyFlutter it's 2 year old and many things have been changed , and I want WhatsApp like notification service

  • @lshawn8718
    @lshawn8718 2 роки тому

    man you just solve 4 days or missery!!!. thank you

  • @sasama7132
    @sasama7132 Рік тому

    Thanks very much ❤❤
    I have a question please help
    My backend needs a client secret and it does work on the web part
    But not for the android part what should i do ? The android client id doesn't have a secret like the web one

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank You @sasama7132! Follow this link: stackoverflow.com/questions/63193840/how-to-store-api-keys-in-flutter-july-2020
      I hope you will get your answer 🙂

    • @sasama7132
      @sasama7132 Рік тому

      @@HeyFlutter thanks 🔥

  • @codewithpetrus
    @codewithpetrus Рік тому

    Thanks Johannes this is a very clear steps. This my first time implementing this on Flutter and I have a question;
    You showed setup steps for Android and web, does the android setup work also for iOS? If No, do you have a guide for setting up iOS too?

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank you, aquacodes! 🙂. Yes it is may be with slight differences.

    • @mirzak1993
      @mirzak1993 Рік тому

      Did you manage to login with this method? I don't know if google changed some rules after the clip is uploaded.

  • @lahcenechel1855
    @lahcenechel1855 3 роки тому

    hi Milke and thanks for the content. i have one question for my App, should i use firebase or without. which one you suggest ?

  • @excelhelp4595
    @excelhelp4595 7 місяців тому

    Hey Flutter, this was superb explanation but i have one question this was for debug mode right ? now what should i need to perform for release mode when app need to deploy on Google play store. Please can u make a video or provide text explanation in step by step . Thanks in advance,

    • @HeyFlutter
      @HeyFlutter  7 місяців тому

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

  • @quillaja
    @quillaja 3 роки тому

    Any chance this will work with desktop apps (windows, linux, and mac are supported now)?

  • @khaledawad3642
    @khaledawad3642 3 роки тому

    thank you my favorite flutter developer ♥
    we need facebook please ♥

  • @rv9570
    @rv9570 Рік тому

    Hi, will this all step will work in production mode also ? do we need to add scopes in production mode or its not required ? Will this step are final to implement when we deploy the app to play store ? Or do we need to change anything in build gradle or provide client id ?

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Hey, RV 🙂These are the only steps you need, make sure to put released apk's SHA256 on firebase console

    • @fedybelaid-e2d
      @fedybelaid-e2d Рік тому

      Hi@@HeyFlutter, do I need to add firebase config in order to implement sign in with google this way in production mode? because for now it works very well while on debug & release, but once I deployed the app to play store I started getting PlatformException(sign_in_failed, o0.b: 12500: , null, null)
      Thanks in advance!

  • @abinthomas12914
    @abinthomas12914 3 роки тому

    Is there is any way to sent sms from phone to authenticate a user. Example phonepe, Google pay apps.
    In which sms is sent from clients and no worries on sms limit

  • @МаксимШтокало
    @МаксимШтокало 6 місяців тому

    please!! Help!! why google cloud and my app have a life of their own??? when sending the ClientId with the application - it gives an error, when changing the google cloud settings (changing the application name or sha1 key or anything else) nothing changes, requests to google are then sent, the icon for the modal window, which is installed in the google console in section The OAuth consent screen does not use...

    • @HeyFlutter
      @HeyFlutter  6 місяців тому

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

  • @cemceylan6955
    @cemceylan6955 2 роки тому +1

    I have got an error when I tried to fix exception 12500
    The error is "Keystore was tampered with, or password was incorrect"
    I am sure that password is correct. I'm stuck, can anyone help me?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Hello, Cem Ceylan! Follow this link: stackoverflow.com/questions/32987530/android-studio-keystore-was-tampered-with-or-password-was-incorrect
      I hope it will solve your problem. Thank You 🙂

  • @wangren101
    @wangren101 Рік тому

    thanks, great information. I can see the accessToken after login OK, but not sure why the idToken is null?

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank You Ren Wang! Follow this link: stackoverflow.com/questions/68964747/flutter-google-sign-in-get-id-token-without-firebase
      I hope you will get your answer 🙂

  • @arun-koshy
    @arun-koshy 3 роки тому +2

    I cant seem to get past the following error.
    PlatformException (PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null))
    I added the SHA-1 fingerprint like you showed in the video. What else should I look for to debug this issue?

    • @ejazrahim9065
      @ejazrahim9065 3 роки тому +3

      @@HeyFlutter i have the same issue, the link u provided has solution for google sign in with firebase , but we want solution without firebase
      plz reply

    • @asharayub4636
      @asharayub4636 2 роки тому

      @@HeyFlutter This is a solution with firebase. I can't seem to get past this exception, I have tripple checked the steps in the video. It would really be a great help if you could help in this regard.

    • @sankethb.k642
      @sankethb.k642 2 роки тому +1

      hey guys stuck at same error, can you please share the fix

    • @yusufnadaroglu4108
      @yusufnadaroglu4108 3 місяці тому

      @@ejazrahim9065 did you solve?

  • @DeepakSharma-py7bd
    @DeepakSharma-py7bd 3 роки тому

    Can i use both firebase phone auth and your google auth via api in one project

  • @casparbaumeister8614
    @casparbaumeister8614 2 роки тому

    Hi Johannes you saved me again! One question, Why did you use debug instead of release and what are the differences

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank You Caspar Baumeister! Follow this link: stackoverflow.com/questions/55869438/flutter-build-size-is-more-than-expected/55869780#55869780
      I hope you will get your answer 🙂

  • @sanjaytandukar4325
    @sanjaytandukar4325 3 роки тому

    Hello Johannes when I enter the command ./gradlew signingRepor I get and error saying '.' is not recognized as an internal or external command,
    operable program or batch file. Could you help me with that ??

  • @mhdzidannn
    @mhdzidannn 3 роки тому +1

    Awesome video as always! Can you make Facebook Sign In

  • @muhammadshoaib.56
    @muhammadshoaib.56 3 роки тому

    Thanks, Johannes, nice explanation

  • @chichebem
    @chichebem Рік тому

    Thank you so much, Johannes

    • @HeyFlutter
      @HeyFlutter  Рік тому

      You’re most welcome, Ellis Ifoegbu! 🙂

  • @RNBnewsIndia
    @RNBnewsIndia Рік тому +1

    does google charge for sign in with google ?

    • @HeyFlutter
      @HeyFlutter  Рік тому +1

      Thank you, @RNBnewsIndia! 🙂. No it is not

    • @RNBnewsIndia
      @RNBnewsIndia Рік тому +1

      @@HeyFlutter thanks for reply 😇

  • @FrontendClinic
    @FrontendClinic 9 місяців тому

    THIS IS AWESOME , THANK YOU

    • @HeyFlutter
      @HeyFlutter  9 місяців тому

      You are welcome, @topealadesiun8930!

  • @hanklin5006
    @hanklin5006 3 роки тому

    Can I use the fingerprint from the default debug.keystore while creating OAuth client ID?

  • @Francesco-ox9ui
    @Francesco-ox9ui 2 роки тому +1

    Hello, with iPhone emulator I've a problem: Unhandled Exception: PlatformException(missing-config, GoogleService-Info.plist file not found, null, null).
    This file usually is downloaded by firebase, but I would create sign in without firebase, anyone can help me? Regards

    • @sankethb.k642
      @sankethb.k642 2 роки тому

      @@HeyFlutter hey i am stuck at same error, i don't have GoogleService-Info.plist to drag and drop as stated in those answers, can you please help

    • @sankethb.k642
      @sankethb.k642 2 роки тому

      Can you please share the fix, i am stuck here since two days :(

    • @tinsp253
      @tinsp253 2 роки тому

      @@sankethb.k642 I had the same error message, however, the program works after re-run the program.

  • @sachindeveloperko8424
    @sachindeveloperko8424 3 роки тому

    Thank you for making tutorial this tutorial is very useful 👍

  • @yadhuvtk
    @yadhuvtk 2 роки тому

    Hi i developed node js Google authentication with passportjs and i want to implement on flutter when I click on login button i need to show Google authentication is it possible?

  • @vijayvarma4882
    @vijayvarma4882 2 роки тому

    Hello,
    Could you help me out with unit testing? Want to mock Facebook sign-in .

  • @nanakojo
    @nanakojo 2 роки тому

    Does this still works with in 2022? cos, google_sign_in plugin says I have to create a firebase app before I create the credentials

    • @nanakojo
      @nanakojo 2 роки тому

      @@HeyFlutter Was able to fix my problem. Had to create firebase app and download the google-service.json file. Also had to not use clientId in the GoogleSign constructor where the scope is

  • @deepanshusharma7969
    @deepanshusharma7969 Рік тому

    is there any way to get phone number also using this dependency, i m only getting name, email, photo, id , serversuthcode, but there is no mobile field in data

    • @HeyFlutter
      @HeyFlutter  Рік тому +1

      Thank you, @deepanshusharma7969! 🙂. You cannot access phone number.

  • @infinitegaming2.o-69
    @infinitegaming2.o-69 5 місяців тому

    For ios ?

  • @ephra1m2004
    @ephra1m2004 10 місяців тому

    Thanks so much for this tutorial, it works on android but crashes on ios any help?

    • @HeyFlutter
      @HeyFlutter  10 місяців тому

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

    • @ephra1m2004
      @ephra1m2004 10 місяців тому

      @@HeyFlutterI created an iOS client just like you did for android on the oauth credential, added the required details but when I press the button to trigger the oauth screen in my iOS app the entire app crashed

  • @Geceparlayan
    @Geceparlayan 3 роки тому

    Hi . That was awesome. But can you make a video on how to send OTP through email for email verification???

  • @luquangdung1085
    @luquangdung1085 2 роки тому

    Thank you, Johannes, you are my saver

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      You are welcome, @luquangdung1085 😊

  • @bejoyp
    @bejoyp 9 місяців тому

    I am building signin for a flutter web to be deployed on github. Do i need the keystore?

    • @HeyFlutter
      @HeyFlutter  9 місяців тому +1

      Thank you, @bejoypramanick1624! 🙂. No, you don't need.

  • @programingtales7514
    @programingtales7514 3 роки тому

    It works thank you very much❤

  • @johnvinilkumar161
    @johnvinilkumar161 2 роки тому

    Its working fine for android 11 but its not working for android 9... Can u please help me.....

  • @demet2509
    @demet2509 Рік тому

    Hi Mike, firstly thank you this video :) I want a question you. Is it free to use this? I would be very pleased if you could inform me about this.

    • @mirzak1993
      @mirzak1993 Рік тому +1

      Did you manage to login with this method? I don't know if google changed some rules after the clip is uploaded.

    • @demet2509
      @demet2509 Рік тому

      @@mirzak1993 yes I did

    • @HeyFlutter
      @HeyFlutter  Рік тому +1

      Hey, @demetergulec2509 🙂 yes it's free

  • @fahadmustafa650
    @fahadmustafa650 2 роки тому

    do we need to connect our app to firebase for this. my app is not connected still it's showing me same error Exception 10

    • @HeyFlutter
      @HeyFlutter  2 роки тому +1

      Thank You Fahad Mustafa! Follow this link: stackoverflow.com/questions/54557479/flutter-and-google-sign-in-plugin-platformexceptionsign-in-failed-com-google
      I hope you will get your answer 🙂

    • @fahadmustafa650
      @fahadmustafa650 2 роки тому

      @@HeyFlutter thanks I already saw that answer. But the problem u said without firebase. In that solution we still need to connect our app to firebase

    • @yusufnadaroglu4108
      @yusufnadaroglu4108 3 місяці тому

      @@fahadmustafa650 how did you solve?

  • @ashihsprajapati6739
    @ashihsprajapati6739 2 роки тому

    Hello sir Can i send idToken to in Webview Url and then authenticate with node js and if token is valid then it return web page.

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Hey 😊, @ashihsprajapati6739! Check out this solution: stackoverflow.com/a/67085673 I hope this may help you

  • @durgeshpandey8534
    @durgeshpandey8534 3 роки тому

    bro once i have account selected it is doing auto login on second time how to remove this problem i want when i press login button everytime it asks for account selection instead of auto login pls help

  • @AntoniPochopień
    @AntoniPochopień Рік тому +1

    This is very helpful! However you should add updated version for flutter web

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thanks for your feedback, @user-cm3co3eq9r! 🙂

  • @hasanbaskurt2830
    @hasanbaskurt2830 7 місяців тому

    Hi, when use android , idTOken is null but iOS İdToken is not null. What is the problem ?

    • @HeyFlutter
      @HeyFlutter  7 місяців тому

      Hey @hasanbaskurt2830, make sure to follow the tutorial step by step 🙂

  • @adoniashaile9309
    @adoniashaile9309 Рік тому

    Hello, I have been working all the time since yestrday to solve idToken return null from flutter google sign in package. from the googlesigninaccount i use authentication object and from this object I call idToken. But it always returns null. please save me?

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank You Adonias Haile! Follow this link: stackoverflow.com/questions/63891637/getting-idtoken-null-when-using-google-sign-in-in-flutter
      I hope you will get your answer 🙂

  • @SirChatur
    @SirChatur 2 роки тому

    Please help me out bro. I am using google sign in with firebase . I have uploaded all the sha keys - debug release and Playstore key still my app is not working in release mode

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Sir Chatur! 🙂. Kindly share the error message here.

  • @SunGkd123
    @SunGkd123 3 роки тому

    Nice tutorial thank you 😁.
    One question the setup done for OAuth credentials is required when we use firebase for Google sign-in?

    • @SunGkd123
      @SunGkd123 3 роки тому

      @@HeyFlutter thank you 😀

  • @emmanuelosei7651
    @emmanuelosei7651 2 роки тому

    Please can you help login with apple sign in without firebase.

  • @hameedhabeeblahi576
    @hameedhabeeblahi576 3 роки тому +1

    cant seem to get past the following error. and I follow the process step by step
    PlatformException (PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null))

    • @syedsaad4480
      @syedsaad4480 2 роки тому

      Use a web client ID instead, and pass this credential ID into GoogleSignIn(clientID : 'your_web_credential_id'), like this

    • @nidalalraey6413
      @nidalalraey6413 2 роки тому

      @@syedsaad4480 where to get this web client ID?

  • @ezequielgomez6799
    @ezequielgomez6799 2 роки тому

    u save my life!! thanks!

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      You are welcome, @ezequielgomez6799 😊

  • @pankajrathi
    @pankajrathi 2 місяці тому

    after following everything, I'm getting --- "Unable to reach your Google account. Please try again later.." what to do any idea?

    • @HeyFlutter
      @HeyFlutter  Місяць тому

      Thank you for the suggestion! We’ll definitely consider it for our future content ideas.

  • @hernanplaza5436
    @hernanplaza5436 2 роки тому

    Thnks bro, but i have a question.
    What's is the difference between use Firebase and not use it?

    • @HeyFlutter
      @HeyFlutter  2 роки тому +1

      Hey, Hernan Plaza 🙂 There is also a way to use google login with firebase, in case you want to about firebase for google login, this video solves your problem

  • @AhmedWAslan
    @AhmedWAslan Рік тому

    is this method applicable to the release versions?

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank you, @AhmedWAslan! 🙂. Yes it used to be, although I am not sure now.

  • @Melody-xb2nh
    @Melody-xb2nh 2 роки тому

    Correct me if i m wrong...google will charge me 0.0055$ per MAU after limit reached to 50k?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Melody! 🙂. I am not sure about it.

  • @dhruv2175
    @dhruv2175 2 роки тому

    If I sign in with an email ID which has no photoUrl, what happens in that case?

  • @thanhtruongnguyen8629
    @thanhtruongnguyen8629 3 роки тому +1

    I don't see any iOS setup in video. How can I achieve this on iOS?

    • @bidhanrai2988
      @bidhanrai2988 3 роки тому +2

      @@HeyFlutter this is not working in ios . It says Unhandled Exception: PlatformException(missing-config, GoogleService-Info.plist file not found, null, null)

    • @ashwanisingh4931
      @ashwanisingh4931 3 роки тому

      @@bidhanrai2988 your issue is resolved?

  • @kickart7517
    @kickart7517 2 роки тому

    i get bug when not selecting a google account in the selection of google accounts pop up, it still proceed to home page

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Kickart! 🙂. Kindly share the error message here.

  • @bouviermaxime2436
    @bouviermaxime2436 Рік тому

    Hi Johannes, great tutorial. but in production (release) it doesn't work. error "sign_failed"

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank you, bouvier maxime! 🙂. Try to provide enough details with yours question whenever you face any issue.

  • @MuchlisNopq
    @MuchlisNopq 3 роки тому

    how to make google send callback to our restApi to get auth code with this way?

  • @DiegoTorres1982
    @DiegoTorres1982 3 роки тому

    Thanx, you saved my day!

  • @natayadenise212
    @natayadenise212 3 роки тому

    Thank you your video helps me

  • @dheeraj6253
    @dheeraj6253 3 роки тому

    the id token and access token are returning null..is there something missing in the cloud configuration or flutter?

    • @kaleemsattar3603
      @kaleemsattar3603 3 роки тому

      @@HeyFlutter why adding SHA1 key in firebase project?

  • @DevelopmentTeamGStudio
    @DevelopmentTeamGStudio Місяць тому

    any example for iOS device ?

    • @HeyFlutter
      @HeyFlutter  Місяць тому

      Thank you for the suggestion! We’ll definitely consider it for our future content ideas.

  • @abdullahawad385
    @abdullahawad385 Рік тому

    thanks bro you are legend I hope you come back soon

    • @HeyFlutter
      @HeyFlutter  Рік тому

      You are welcome, @abdullahawad385 😊

  • @Juliapak
    @Juliapak 3 роки тому

    Very good video thank you very much

  • @AmBigRyan
    @AmBigRyan 3 роки тому

    Perfect, thanks for the knowledge shared

  • @leoMC4384
    @leoMC4384 2 роки тому

    I'm following your instructions step by step but I keep getting this error: "Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)". I already have the SHA1 key generated and updated on the Cloud Console. This method isn't working anymore?? I don't understand what's wrong. I want to use the user's Google Drive account as a backup for the app data, like WhatsApp does. ☹

    • @leoMC4384
      @leoMC4384 2 роки тому

      I tried reinstalling the app, "flutter clean" command, delete and create again the OAuth client, I keep getting the same error. ☹

    • @leoMC4384
      @leoMC4384 2 роки тому

      I'm already implementing Firebase Cloud Messaging service in my app. Could that be making a conflict and I must use Firebase to sign in users as well??? 🤔

    • @leoMC4384
      @leoMC4384 2 роки тому +1

      Finally I fixed it. I deleted my Google Cloud Console OAuth user and added the SHA1 and SHA256 keys to Firebase, redownloaded the google-services.json file and allowed sign in with Google from the Firebase Project configuration. Now I can login to Google from my Flutter app. 😃😃😃
      Now I have to figure out how to access the user's Google Drive account.

    • @sankethb.k642
      @sankethb.k642 2 роки тому

      @@HeyFlutter so we need to register it in firebase also right, i couldn't find any fix without registering it in firebase.

    • @ahmedwael4293
      @ahmedwael4293 2 роки тому

      @@leoMC4384 hey man, can I see your code for google drive upload?

  • @Apoorvpandey
    @Apoorvpandey 3 роки тому

    Got stuck on keystore step need help!
    Failed to read key androidDebugKey from store "F:\Flutter projects\flutter_user_auth_without_firebase\android\app\signInDebug.jks": Keystore was tampered with, or password was incorrect.
    This is my build.gradle in app folder:
    signingConfigs{
    debug{
    keyAlias 'androidDebugKey'
    keyPassword 'android'
    storeFile file('signInDebug.jks')
    }
    }
    buildTypes {
    debug {
    signingConfig signingConfigs.debug
    }
    }
    }

    • @Apoorvpandey
      @Apoorvpandey 3 роки тому

      Got it forgot the storePassword

  • @CEO-ZAZ
    @CEO-ZAZ 2 роки тому

    amazing
    please can we have a tutoriel on how to signin Apple Without Firebase with Flutter

    • @HeyFlutter
      @HeyFlutter  2 роки тому +1

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

  • @purenepalikancha
    @purenepalikancha 2 роки тому

    Hi Johannes. I am getting this error message. Are there any recent changes that have been made? Unhandled Exception: PlatformException(missing-config, GoogleService-Info.plist file not found and clientId was not provided programmatically., null, null). Btw I am working on iOS.

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank You Deep Shrestha! Follow this link: stackoverflow.com/questions/73103392/googleservice-info-plist-file-not-found-and-clientid-was-not-provided-programmat
      I hope you will get your answer 🙂

    • @purenepalikancha
      @purenepalikancha Рік тому

      @@HeyFlutter Yes, it works. Thanks a lot!

    • @plaxxnet
      @plaxxnet Рік тому

      Isn't the goal not to use firebase? Or is it necessary to set an app on firebase for a sign-in to work on ios?

  • @vidyasagargaikwad1268
    @vidyasagargaikwad1268 3 роки тому

    Sir please make a video on how to create account on Google cloud

  • @bhadrakshb
    @bhadrakshb 2 роки тому

    How to store the data after auth, so that when the user quits the app, and opens it after a while he is automatically logged in with his google account?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Hey, BHADDU (MONTA MANN) 🙂 you can make use of shared preferences for storing user details

    • @bhadrakshb
      @bhadrakshb 2 роки тому

      @@HeyFlutter How do I check if it's the user's first time using the app, with that ID?

  • @DraskoSaric
    @DraskoSaric Рік тому

    Hi, Johanness, Access to your source code of this project is not working.

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank You @DraskoSaric!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware

    • @DraskoSaric
      @DraskoSaric Рік тому

      @@HeyFlutter, I did pay the sponsorship and now finally managed to go to the content. It was not very clearly represented how to reach your repositories.

  • @orwa475
    @orwa475 3 роки тому

    Hi , if i dissmiss the email picker dialog , i get a platform execption how do i solve that ?

    • @orwa475
      @orwa475 3 роки тому

      ​@@HeyFlutter i found that it only happens in debug mode , it won't happen in realease mode , thx for the great tuto

  • @raespim
    @raespim 11 місяців тому

    help me a lot, thanks!

    • @HeyFlutter
      @HeyFlutter  11 місяців тому

      Glad to hear that, You are most welcome @raespim

  • @tranduongchihieu2751
    @tranduongchihieu2751 2 роки тому

    It's great, but can you guide me how to get givenName and familyName?
    thank you very much!

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Trần Dương! 🙂. You can get only limited information.

  • @mohannadamouna7358
    @mohannadamouna7358 2 роки тому

    Do you have flutter courses in udemy?

  • @jesusnelegatti
    @jesusnelegatti 3 роки тому

    Great video!

  • @vjndr32
    @vjndr32 8 місяців тому

    why is do people push for integration with firebase? can anyone explain me that? what is the benefit of firebase?

    • @HeyFlutter
      @HeyFlutter  8 місяців тому

      Thank You @vjndr32! Follow this link: brandmed.com/blog/development/is-firebase-the-best-back-end-choice-for-a-flutter-app#:~:text=Faster%20time%20to%20market,the%20solution's%20safety%20and%20performance.
      I hope you will get your answer 🙂

  • @VibhashGyanminz
    @VibhashGyanminz 2 роки тому

    @Johannes how can we do login with IOS...?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank You Vibhash Gyanminz! Follow this link: pub.dev/packages/sign_in_with_apple
      I hope you will get your answer 🙂

  • @cemceylan6955
    @cemceylan6955 2 роки тому

    How can we make work for the IOS? You only showed for the android config

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Hey, Cem Ceylan 🙂 same will be steps for ios

    • @cemceylan6955
      @cemceylan6955 2 роки тому

      @@HeyFlutter I meant that you showed a setup process in the video (3:36) Do we need to do similar things for IOS?

  • @rvrocelot
    @rvrocelot Рік тому

    How can I apply this to iOS?

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Thank you, Ocelot! 🙂. It is for iOS as well.

  • @E-mouza
    @E-mouza Місяць тому

    How can I verify that user is authorized or not

    • @HeyFlutter
      @HeyFlutter  Місяць тому

      Thank you for the suggestion! We’ll definitely consider it for our future content ideas.

  • @rizalord
    @rizalord 3 роки тому

    Thank u sir, it works

  • @davidagyakwa288
    @davidagyakwa288 7 місяців тому

    Can you do this for apple

    • @HeyFlutter
      @HeyFlutter  7 місяців тому +1

      Thank you, @davidagyakwa288! 🙂. It is for iOS as well.

  • @DevtaVaastu
    @DevtaVaastu 4 місяці тому

    It is asking to get verification complete