Skip to content

Flutter app for authentication with Google and custom Email

Notifications You must be signed in to change notification settings

abhay1205/flutter-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter app for authentication

Implementing GoogleSignIn and custom Email SignIn and SignUp using Firebase

Getting Started with prerequisites

  1. Migrate the app to AndroidX from android.support libraries Or create project with flutter create --androidx project_name
  2. Add the following dependencies to your pubspec.yaml firebase_auth, google_sign_in and flutter_auth_buttons(optional)
  3. Go to Firebase website, create an account
  4. Create project in the Firebase Console and follow the steps shown there
  5. Download the JSON file adn paste it in your app_name/android/app folder
  6. Do the changes in project-level and app-level build.gradle file
  7. sync the changes in gradle files using an IDE (example-AndroidStudio)
  8. For Google sign in you need to add your sha1 fingerprint to your app in Firebase Console / Project Setting

Note

  1. Do not skip any steps
  2. Must know the basic of Object-Oriented-Programming
  3. Clear your queries on StackOverFlow

Author