What you get
This gives you remote and local push through Expo's push service: src/lib/push.ts implements the shim, src/hooks/use-push-token.ts is a provider-free store that checks permission and calls getExpoPushTokenAsync({ projectId }) with the id from Constants.expoConfig.extra.eas.projectId, and PushProvider (order 80) installs the foreground handler, creates the Android default channel, and deep-links to data.url when a notification is tapped - including from a cold start. If you set up with --with-examples there's also an example screen at /examples/push with a copyable token and a local test notification. Either way you get a bun run push:test script that sends one message through Expo's API. @/lib/push keeps the same API whichever option you pick - pick this when you want push without running your own APNs and FCM plumbing.
- Tests included
- 2
- npm packages
expo-clipboard ~58.0.4,expo-constants ~58.0.16,expo-device ~58.0.5,expo-notifications ~58.1.9- Runs in Expo Go
- No - needs a development build
Which tier includes it
Pro. Push is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates. See pricing.
What needs a key
No API key in .env. The steps below cover the accounts it needs.
Set it up
bun run setup --push expo-notifications- Link an EAS project:
bunx eas-cli initprints the project id but cannot write into the dynamic app.config.ts - paste it into readynative.config.tsapp.easProjectId(CI: EAS_PROJECT_ID). app.config.ts derivesextra.eas.projectIdfrom it; getExpoPushTokenAsync needs it, and until then usePushToken() reportsunsupported. - Run
eas credentialsand upload APNs (iOS) and FCM v1 service-account (Android) keys: https://docs.expo.dev/push-notifications/push-notifications-setup/#get-credentials-for-development-builds - Remote push needs a dev build on a phone, an Android emulator with Google Play services, or a supported iOS simulator (
eas build --profile developmentornpx expo run:ios|android); Expo Go support depends on the platform and SDK, and local notifications work there. - On a device:
push.requestPermission()then readpush.usePushToken().token(or open /examples/push with--with-examples), and runbun run push:test <token> "Title" "Body"(ornpm run push:test,pnpm run push:test,yarn push:test- it runs on plain node).
Then bun run doctor lists any key still missing, with a link to where you get it. The full guide: Expo Notifications docs.
Pairs with
Needs: Storage (expo-sqlite/kv-store or MMKV or AsyncStorage). Setup asks for it in the same run.
Read more
- Expo + Expo Notifications: how it compares
- Expo Notifications setup guide (docs)
- Expo push notifications: setup, token, testing
- Expo Go vs development build: when to switch
- Example apps built on the modules
- Every module in the catalog
Questions
Which ReadyNative tier includes push notifications?
Pro. Push is a Pro category: the free tier and Starter ship it switched off. Pro is one payment with lifetime updates.
Does push notifications run in Expo Go?
No: dev build required for remote push (Expo Go: local only). Make a development build: npx expo run:ios or npx expo run:android locally, or eas build --profile development in the cloud.
Which keys does push notifications need?
No API key in .env; the setup steps cover the accounts it needs. bun run doctor lists any that are missing.
Can I switch from push notifications to another option later?
Yes. @/lib/push keeps the same API in every push option (Expo Notifications), so screens written against it keep working when you switch.
How do I send a test notification?
On a device, call push.requestPermission(), read the token from push.usePushToken(), then run bun run push:test <token> "Title" "Body".
Do I need my own push server?
No. Expo's push service does the sending and eas credentials holds the APNs and FCM keys. The module handles tokens, the Android channel and deep links from a tap.