Integrations
OneSignal
Enable push notifications.
- Create an app at OneSignal.
- Upload your APNs key (iOS) and Firebase Cloud Messaging credentials (Android).
- Copy the OneSignal App ID.
In .env.local:
EXPO_PUBLIC_ONESIGNAL_APP_ID=your-app-idIn src/config/features.ts:
oneSignal: true,The Expo plugin is already in app.json (onesignal-expo-plugin, production mode). After changing the App ID, run npm run prebuild.
Init lives in src/lib/onesignal.ts. Permission is requested from src/app/index.tsx on first launch. After login, the Firebase UID is typically set as the OneSignal external user id so you can target signed-in users.