Google Login

  1. Select you firebase project

  2. Select Authentication -> Sign-In method

  3. Enable Google Login

  • Select Project Settings

For Debug APK

Select Your app and add SHA-1 and SHA-256 key which you had created when generating google-service.json file

For Signed APK

  1. Open CMD and select path to bin folder of JAVA -> C:\Program Files\Java\jdk1.8.0.40\bin

  2. Copy your keystore to root of your drive eg:- D:\keystore_name.jks

  3. Copy and Paste keytool -list -v -keystore D:\keystore_name.jks -alias alias_name

  4. Enter keystore password (password might be not visible)

  5. Copy SHA1 and SHA256 key and add in firebase as shown above

When Uploading Apk to Playstore

  1. Select OPT-OUT or if you select continue then you have upload keystore and get SHA-1 key from google app signing certificate as follows

  2. Navigate to the Google Play Console and login

  3. Choose the application you are signing

  4. Go to Release Management –> App Signing

  5. Copy /Download the SHA-1 or SHA-256 certificate fingerprint from the App signing certificate section