Skip to content

Instantly share code, notes, and snippets.

@lukepighetti
Last active October 29, 2023 01:51
Show Gist options
  • Save lukepighetti/99dcdc741fca41034ab6242ea66a0e01 to your computer and use it in GitHub Desktop.
Save lukepighetti/99dcdc741fca41034ab6242ea66a0e01 to your computer and use it in GitHub Desktop.
Finally figured out how to get Google Sign In working. I needed to add my debug keys to Firebase https://twitter.com/luke_pighetti/status/1677328491216359434?s=20

Figured it out! You need to add:

  1. Debug signing keys
  2. Release signing keys
  3. PlayStore signing keys

Use JDK from Android Studio

  • export JAVA_HOME='/Applications/Android Studio.app/Contents/jbr/Contents/Home/'

Debug & Release Signing Keys

  • ./android/gradlew signingreport, scroll to top, note SHA1 & SHA256 keys for debug and release keys
  • visit https://console.firebase.google.com/ project settings
  • paste SHA1 & SHA256 debug and release keys into Android app settings

PlayStore App signing keys

  • visit https://play.google.com/console/
  • go to app project
  • Release -> App Integrity -> App Signing -> App signing key certificate
  • paste SHA1 & SHA256 keys into Android app settings

NOTE: your Release key from before is the same as your Upload key in Play Store. You can obtain it from either location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment