APNs key (.p8)
One key covers every app on your Apple team, sandbox and production.
- Apple Developer → Certificates, Identifiers & Profiles → Keys → +.
- Check Apple Push Notifications service (APNs), register, and download the
.p8(only once). - Note the Key ID and your Team ID.
In Settings → Apps → your app → Apple:
| Field | Example |
|---|---|
| Key ID | 8KX2M4Q9TZ |
| Team ID | A1B2C3D4E5 |
| Bundle ID | com.pidgefit.app |
| Signing key (.p8) | The downloaded file |
| Environment | Production or Sandbox |
Saved keys are checked, encrypted and never shown again. Status shows Verified or Failing with a reason.
To replace a key: upload the new one, wait for Verified, then revoke the old one at Apple.
| Failure | Fix |
|---|---|
provider_authentication_failed |
Wrong Key ID or Team ID, or key revoked |
provider_credentials_mismatch |
Bundle ID doesn’t match the app |
provider_token_mismatch |
Sandbox token with production, or the reverse |