NativeLaunch
Push Notifications

Remote Push Notifications

Remote push notifications are delivered from the cloud using OneSignal. They allow you to notify users even when the app is closed.

We don’t duplicate the official OneSignal guide. Follow their Expo setup for full, up‑to‑date steps, and use this page as a concise checklist tailored to this template.

Setup OneSignal

To start sending push notifications with OneSignal, configure your OneSignal app for the platforms you support (Apple APNs, Google FCM).

Create or select your app in OneSignal dashboard. onesignal push notifications

Configure iOS (Apple Keys & App Groups) and Android (Firebase FCM). onesignal push notifications

Configure platform credentials Follow the prompts based on your platforms:

Click Save & Continue after entering your credentials.

Choose target SDK onesignal push notifications onesignal push notifications

Once your platform is configured, your OneSignal App ID will be displayed. Copy and save this ID—you’ll need it when installing and initializing the SDK. onesignal push notifications Add your OneSignal App ID to project environment variables:

EXPO_PUBLIC_ONESIGNAL_APP_ID=your-app-id

Update app.config.ts

The onesignal-expo-plugin is already installed and configured in this template. You only need to ensure your environment variables are wired correctly into the config.

app.config.ts
export default ({ config }) => ({
  ios: {
    entitlements: {
      'aps-environment': 'development', // ✅ Required for push notification, change to "production" for Testflight and App Store builds
      'com.apple.security.application-groups': ['group.${ios.bundleIdentifier}.onesignal'],
    },
  }
})

Sending notifications

You can send notifications from the OneSignal dashboard:

onesignal push notifications

For automated messages, use Segments, Filters, or Test Subscriptions (great for QA devices).


Resources