Detailed, step-by-step setup for push notifications (APNs on iOS, FCM on Android) when integratingDocumentation Index
Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
Use this file to discover all available pages before exploring further.
@suprsend/expo-sdk.
iOS — APNs
1. Apple Developer portal
Go to developer.apple.com/account → Certificates, IDs & Profiles.1a. Enable Push Notifications on the App ID
- Open Identifiers.
- Select your App ID — the bundle identifier must match
ios.bundleIdentifierin yourapp.json. - Scroll to Capabilities, tick Push Notifications.
- Click Save (and Confirm if prompted).
- Click + → App IDs → App → Continue.
- Enter a description and the bundle identifier (must match
app.json). - Tick Push Notifications in the Capabilities list.
- Continue → Register.
1b. Create an APNs auth key (.p8)
This is the credential SuprSend uses to send pushes to APNs. You only need one key per Apple Developer team — it can be reused across apps.
- Open Keys → click + (Create a key).
- Give it a name (e.g.
suprsend-apns). - Tick Apple Push Notifications service (APNs) → Continue.
- Register → Download.
- Save the
.p8file somewhere secure. Apple only lets you download it once. - Note the Key ID shown on the confirmation page.
- Note your Team ID — visible at the top right of the developer account page, under Membership.
1c. Configure the SuprSend iOS vendor
In the SuprSend dashboard → Vendors → iOS Push:- Auth key file — upload the
.p8. - Key ID — from step 1b.
- Team ID — from step 1b.
- Bundle ID — must match
ios.bundleIdentifier.
2. Add the entitlement in your project
Inapp.json add the entitlement:
"development" for Xcode and expo run:ios builds; switch to "production" for TestFlight and App Store builds.
3. Build and run app on simulator / real device
Before building, make sure your app wires up
SuprSendExpoProvider and SuprSendPushProvider as described in the Push notifications guide.Android — FCM
1. Create / open a Firebase project
- Go to console.firebase.google.com.
- Either create a new project or open an existing one.
- Add an Android app — the package name must match
android.packagein yourapp.json. - Skip the SDK setup steps (Expo’s config plugin handles this).
- Download the generated
google-services.json.
2. Add google-services.json to the project
Place the file in your project (the root is the conventional spot) and reference it from app.json via android.googleServicesFile:
app.json:
3. Get the FCM V1 service account credential
SuprSend uses FCM HTTP v1, which requires a service-account JSON (not the legacy server key).- In Firebase console → Project settings (gear icon) → Service accounts tab.
- Select Firebase Admin SDK, language doesn’t matter.
- Click Generate new private key → Generate key.
- Save the downloaded JSON file securely.
4. Configure the SuprSend Android vendor
In the SuprSend dashboard → Vendors → Android Push (FCM):- Upload the service-account JSON from step 3.
- Save.
5. Build and run app on emulator / real device
Before building, make sure your app wires up
SuprSendExpoProvider and SuprSendPushProvider as described in the Push notifications guide.