Pushing messages to macOS devices involves client app, Apple Push Notification service (APNs), and TPNS sever (TPNS Provider). They need to collaborate throughout the entire process to successfully push messages to the client. An exception from any of them can lead to a failure to push messages.
UserNotification.framework
.TPNS SDK for macOS contains APIs for clients to implement message push. They are mainly used to:
Note:TPNS SDK for macOS does not provide the following features because they are not officially supported by Apple.
Feature | iOS | macOS | Description |
---|---|---|---|
Notification extension plugin | ✓ | × | TPNS SDK for macOS does not support the notification extension plugin, rich media notifications, and offline reach statistics. |
Custom notification sounds | ✓ | × | TPNS SDK for macOS does not support custom notification sounds. |
Silent messages | ✓ | × | TPNS SDK for macOS does not support silent messages. |
Notification grouping | ✓ | × | TPNS SDK for macOS does not support notification grouping. |
DeviceToken
cannot be obtained in the Big Sur (v11.3 or earlier) production environment.
Was this page helpful?