tencent cloud

All product documents
Tencent Push Notification Service
Overview
Last updated: 2024-01-16 17:42:20
Overview
Last updated: 2024-01-16 17:42:20
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.

File Composition

XG_SDK_Cloud_macOS.framework (primary SDK file)
XGMTACloud_macOS.framework ("click report" component)

Update Description

Supports macOS v10.8 and later.
For macOS v10.14 and later:
You need to introduce UserNotification.framework.
You are advised to use Xcode v10.0 or later.

Key Features

TPNS SDK for macOS contains APIs for clients to implement message push. They are mainly used to:
Get and register device tokens automatically to facilitate integration.
Bind accounts, tags, and devices, so you can push messages to specific user groups and have more push methods.
Report the number of clicks, i.e., how many times a message is clicked by users.

Differences between TPNS SDKs for macOS and iOS

Feature Differences
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.
TPNS SDK for iOS is recommended for apps built with Mac Catalyst.
DeviceToken cannot be obtained in the Big Sur (v11.3 or earlier) production environment. This is a bug of Big Sur and has been fixed in v11.4.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon