- A OneSignal account, if you do not already have one
- Your OneSignal App ID, available in Settings > Keys & IDs in the OneSignal dashboard
OneSignal does not currently have a dedicated Windows UWP SDK available; however, OneSignal can be used to send notifications to Windows apps.
Please refer to Microsoft's documentation to learn how to obtain a push token.
Then, to register a Windows device with the Push Token, call OneSignal's Add a device API with a
6 to represent the Windows WNS platform, and pass in the Push Token for the
identifier parameter. You can include any other parameters within this endpoint.
It would be recommended to save the OneSignal Player Id generated in the Response or set the
external_user_id parameter to track users within your own Database, DMP, & CRM Integration.
Updated about 1 year ago