- 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 macOS SDK; however, OneSignal can be used to send notifications to macOS apps. Please refer to Apple's documentation to learn how to obtain a push token.
To register a macOS device, call OneSignal's Add a Device POST /players with a
9 to represent the Mac OS X platform, and pass in the push token for the
If you built your app with Mac Catalyst, you can set up OneSignal by following the guide on our blog.
Updated 5 months ago
|Sending Push Messages|