Pushing messages to macOS devices involves client application (Client App), APNs (Apple Push Notification service), and TPNS server (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 push message delivery failure.
To push messages to macOS devices, TPNS only uses the APNs channel. It currently does not support message delivery through specific in-app channels.
The SDK for macOS provided by TPNS contains APIs for clients to implement message pushing. It is mainly used to:
For more information on the APNs channel used by TPNS, please see APNs.