Set up your Apple Developer account
1
Create the notification service extension
In Apple Developer → Identifiers, create a new App ID with the Bundle ID
YOUR_BUNDLE_ID.OneSignalNotificationServiceExtension. For example, io.reyapp.preview.OneSignalNotificationServiceExtension.2
Create an App Group
In Apple Developer, create a new App Group with the value
group.YOUR_BUNDLE_ID.onesignal. For example, group.io.reyapp.preview.onesignal.3
Add the App Group to your Rey app
Open the App ID for your Rey app (
YOUR_BUNDLE_ID). Under Capabilities, enable App Groups, choose Edit, and select the App Group you just created. Also confirm that Push Notifications is enabled.4
Add the App Group to the notification service extension
Open the App ID for
YOUR_BUNDLE_ID.OneSignalNotificationServiceExtension. Under Capabilities, enable App Groups, choose Edit, and select the same App Group.