FCM service account
- Firebase console → Project settings → Service accounts → Generate new private key.
- The default
firebase-adminsdkaccount works. A custom account needs Firebase Cloud Messaging API Admin.
In Settings → Apps → your app → Android:
| Field | Example |
|---|---|
| Project ID | pidge-fit-prod |
| Service account JSON | The downloaded file (delete it afterwards) |
| Failure | Fix |
|---|---|
provider_authentication_failed |
Key deleted or role removed |
provider_credentials_mismatch |
Token from another Firebase project |