• Facebook
  • Twitter
  • YouTube - White Circle
  • GitHub

©2019 by Souvik Biswas

Flutter: Firebase Authentication & Google Sign In

Check out my Medium article "Flutter: Implementing Google Sign In".

In this article, I will be showing how to set up and implement Google Sign In using Firebase Authentication.

There are a number of articles out there showing how to implement sign-in or login in Flutter, but I am still writing this article because there has been a lot of changes in Flutter ( after the release of Flutter 1.7 ) as well as in the Firebase Google Sign In.

So, I recommend that you have a look at this article at least till the end of Google Sign In setup if you want to start building a new app using Firebase.

NOTE:  The project is updated to Flutter 1.9 and also the plugins are updated to the latest version available.

App Screenshots

Main Objectives

The main points that I have covered in this article are as follows:

  1. Changes in Flutter 1.7

  2. Changes in Firebase & Google Sign In process

  3. Building the basic app UI

  4. Setting up Firebase Authentication

  5. Configuring Firebase for both Android & iOS

  6. Setting up Google Sign In

  7. Completing the full UI

I have another version of this article published in the Codemagic blog (by Nevercode).

In this article, I have also covered how to configure Firebase on Codemagic.

Illustration by: Codemagic

Check out this article on the Codemagic blog: 

"Firebase authentication & Google sign in using Flutter".

The Full Project is available on GitHub

github (1).jpg

sign_in_flutter

License

Copyright (c) 2019 Souvik Biswas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.