What this thread does
Do first: send one notification containing data.url for an existing authorized route.
Short answer
As of November 2026, this is the Expo SDK 55 / expo-notifications 55.0.27, August 25, 2026 branch. Receipt refreshes data; an explicit response navigates. Use a single handler for the live response listener and the launch response, with an application buffer until auth and the router are ready.
Choose / don't choose
- Custom scheme: choose for installed-app destinations; don't choose it when the same URL must open a website without the app (scheme guide).
- HTTPS App/Universal Links: choose for a domain-validated website/app association and browser fallback; configure both sides, not only a JS route.
- Background tasks: choose for noninteractive processing; don't treat receipt as a request to navigate. (state guide).
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
expo.scheme | Set "myapp" for myapp://; rebuild the native app after changing it | Expo SDK 55 native build | source |
android.intentFilters | action: "VIEW", category: ["BROWSABLE", "DEFAULT"], autoVerify: true; HTTPS host/path restricted to owned routes | Expo SDK 55 / Android App Links | source |
ios.associatedDomains | ["applinks:expo.dev"]; omit protocol; host matching AASA paths at /.well-known/apple-app-site-association | Expo SDK 55 / iOS Universal Links | source |
setNotificationHandler behavior | shouldShowBanner: true, shouldShowList: true, shouldPlaySound: false, shouldSetBadge: false; decide within 3 seconds | expo-notifications 55.0.27 | source |
shouldPlaySound | On Android false suppresses the drop-down alert even with banner enabled; choose true only for an intended audible heads-up policy | expo-notifications 55.0.27 / Android | source |
data.url | Valid destination string mapped to an existing route; allowlist routes and require authorization before showing private content | SDK 55 routing example; allowlist is application policy | source |
Order of operations
1. Configure links and rebuild; Android needs the domain's assetlinks.json with package and signing-certificate association (Android); iOS needs AASA with team/bundle/path association (iOS). 2. Register addNotificationResponseReceivedListener as early as possible. On iOS use module initialization and buffer until navigation exists (lifecycle); remove the subscription when its owner is disposed. 3. Also read getLastNotificationResponse() and pass it to the same handler. SDK 55 marks getLastNotificationResponseAsync() deprecated; if keeping it temporarily, await it after registering the listener. 4. Application policy: deduplicate on request identifier plus action identifier; retain a pending response until root routing and authentication are restored. Only then route the allowlisted data.url, mark consumed, and call clearLastNotificationResponse(). Clearing before consumption can lose the tap. 5. Keep addNotificationReceivedListener for data refresh (receive versus response). Exercise foreground tap, background tap, ordinary closed launch, then icon relaunch; one tap should cause one navigation. Force-stop is a different case.
Known failures and fixes
| Error (short quote) | Cause | Fix | Source |
|---|---|---|---|
getLastNotificationResponseAsync returns null | Historical Android app-launch report; or no stored response | Distinguish message type and app state; read the launch response plus listen for live responses; do not invent a destination for null | RohovDmytro #32006 |
| Foreground notification absent (symptom) | No handler, response exceeds 3 seconds, or Android sound=false suppresses heads-up display | Return behavior immediately; inspect platform-specific presentation and channel policy | source |
Missing
- The buffering/deduplication policy is application logic, not an Expo exactly-once guarantee.
- Android remote push requires a development/release build from SDK 53; a force-stopped app must be manually reopened. iOS/Android and exact payload types need separate device checks.
- The linked source does not confirm: Home-versus-detail navigation causes (invalid data.url, unmatched link, routing before initialization) are not established by the linked navigation example.
Checked
2026-11-12; Sources read: linked notification, app-state and association guides, SDK branch changelog and historical Android launch report. No device commands executed.
Related references: Response cleanup API.
Not for: Expo push registration or provider delivery failures; see expo-push-notifications-not-arriving-release-build-checklist.
Started from a post by @Expo, packaged by the editor. Original post