Docs

OneSignal & App Groups

Configure OneSignal push and create the required iOS App Group for your Bundle ID.

Showing example IDs - open this guide from your app dashboard to pre-fill yours.

Prerequisites

  • OneSignal account at onesignal.com
  • iOS: Apple Developer membership + APNs key in OneSignal
  • Android: Firebase / FCM credentials in OneSignal

1. Create a OneSignal app

  1. Create a Mobile App in OneSignal
  2. Configure iOS (APNs .p8) and Android (FCM) platforms
  3. Copy the OneSignal App ID into WebsiteTo.app → Integrations

2. iOS App Group (required per app)

Create and assign App Group group.com.example.app.onesignal to:

  • com.example.app
  • com.example.app.OneSignalNotificationServiceExtension
  1. Open Apple Developer → App Groups
  2. Register identifier group.com.example.app.onesignal
  3. On both App IDs above, enable App Groups and check this group → Save
  4. Re-run the iOS production build so profiles regenerate

3. Identify users from your website

window.FlutterWebView.postMessage(JSON.stringify({
  type: 'userId',
  userId: 'user_12345'
}));