True sign of intelligence is imagination not knowledge….

Long time since my last post Steppers and Forms in Flutter, I was unable to find any interesting topic which would get me out of Cryosleep.

Surfing, searching here and there, until I found out about Firebase. A whole lot of articles are present on the internet regarding Firebase. What possibly I could think of new………..Hmmmmmm

I decided to integrate google sign in with Firebase using Flutter. (Surprise awaits)..

SignIn / Out with Google
SignIn / Out with Google

Getting started is simple, follow the steps:

  1. Go to https://firebase.google.com/
  2. Click Get started
  3. Register your app
  4. A small advice, always fill the SHA certficate fingerprint, even though it says optional
  5. SHA-1
    SHA-1

    Go to

    Firebase Authentication
    Firebase Authentication
  6. Click authentication and enable the google sign in (as we are trying for google first)….

All set up, now programming part..

On click of Sign in with Google, the following function is called :

Sign In part
Sign In part

On click of Sign out,

Sign out part
Sign out part

Till, here I did nothing special. 

What’s new I did was to display all the details which came from firebase (like a boss )……

Output from firebase
Output from firebase

_data has 8 fields and providerData is an array…

_data
_data
ProviderData
ProviderData

Video demonstration :

For complete source code, visit

https://github.com/AseemWangoo/flutter_programs/blob/master/GoogleSignIn.zip

P.S………….

10 Comments

  • marinabroderick

    I’m also writing to make you know what a beneficial discovery my cousin’s girl enjoyed going through your web site. She realized many details, which included how it is like to possess an amazing giving spirit to let other folks effortlessly have an understanding of specific problematic things. You undoubtedly did more than visitors’ desires. I appreciate you for offering these productive, trusted, explanatory and in addition fun tips on the topic to Emily.

  • jennidilke377

    Having read this I believed it was rather enlightening. I appreciate you spending some time and energy to put this content together. I once again find myself spending a lot of time both reading and leaving comments. But so what, it was still worth it!

  • gerireinhardt

    You ought to take part in a contest for one of the most useful sites on the net. I will highly recommend this web site!

  • reynafranki9314

    Wow, amazing blog structure! How long have you been blogging for? you make running a blog look easy. The whole look of your site is excellent, as well as the content![X-N-E-W-L-I-N-S-P-I-N-X]I simply could not go away your website before suggesting that I extremely enjoyed the usual information an individual supply on your visitors? Is gonna be again often to check up on new posts.

  • josephcavill47

    This design is wicked! You obviously know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

  • cedriccastro7

    Hello my loved one! I wish to say that this article is awesome, nice written and come with approximately all important infos. I’d like to look more posts like this .

  • darrellmclellan

    What’s up, this weekend is good in favor of me, for the reason that this occasion i am reading this fantastic informative article here at my residence.

Leave a Reply

Your email address will not be published. Required fields are marked *