play_signing_sha1
Download Google Play app signing certificates and return their SHA-1 values. Fix 'Sign in with Google' failures on store builds by registering the correct SHA-1 in Google Cloud Console.
Instructions
Download Play's app signing certificates and return the SHA-1 of each.
Use when "Sign in with Google" works on a local build but fails with the store
APK — symptom: the account picker opens, the user picks an account and lands
back on the login screen, with no error. With Play App Signing the distributed
APK is re-signed by Google, and the SHA-1 that reaches the device is the one
from deployment_cert.der.
The SHA-1 shown as text on the "App signing" page is the UPLOAD key's and does not work. This is the value to register as an Android OAuth client (package + SHA-1) in the Google Cloud Console — there is no API for that, UI only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| download_dir | Yes | ||
| package_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||