OneSignal integration setup in Apps Creator dashboard
-
Go to Manage from the Navigation bar
-
Select Integrations from Sidebar
-
Click on the
button on the top-right
-
Select OneSignal
-
Select the region based on the preferences and Add App IDs for each platform. Also, For Amazon, you will need to provide the Amazon API key as well
-
In OneSignal, App IDs can be found under All Apps > Your app’s dashboard > Settings > Keys & IDs
Configuring platforms in OneSignal (supported platforms: Apple, Android and Amazon)
- Go to OneSignal Dashboard
-
Select ‘+New App/Website’ option
-
Fill required fields and select the platform for your first channel/app
Apple iOS OneSignal App Setup:
-
After selecting the Apple option, fill in all required details
For reference: Apple: https://documentation.onesignal.com/docs/establishing-a-connection-to-apns
All these values can be obtained from Apple Developer Console:
To obtain the .p8 key file and Key ID, log in to your Apple Developer Account and navigate to- Certificates, Identifiers & Profiles → Keys.
- Create a new key (or select an existing one), then download the .p8 file and copy the Key ID shown on the screen.
- To find the Team ID, stay on the Certificates, Identifiers & Profiles page.
- The 10-digit ID displayed in the top-right corner of the page is your Team ID.
- To get the Apple Bundle ID, go to Apple Developer Account → Apps, select the required app, and open the App Details section.
- The Bundle ID is listed there
- Select ‘Native iOS’ SDK for Apple iOS
-
Skip the next page, by just clicking Save and Continue
-
Now your Apple iOS app is set up for OneSignal. From your app dashboard, select ‘Push Notifications’ option
- Under Platforms > Make sure Apple iOS (APNs) platform is active
-
Go to Settings > Platform
- Click on the Activate button to set up for each platform
- Configure the platforms: to configure follow the documents for each platform mention below:
Apple: https://documentation.onesignal.com/docs/establishing-a-connection-to-apns
Android: https://documentation.onesignal.com/docs/generate-a-google-server-api-key
Amazon: Amazon API key generation - OneSignal
Sending notifications from OneSignal platform
Go to the OneSignal Platform > Messages > Push
Click “New Message” > New push
Fill in all the required details in the New Push Notification form for the devices you want to send the push to
Either save the push notification as draft or click "Review & Send"
If you want to deep-link the push notification to some content within the app, you can generate the deeplinks from Apps Creator as shown below.