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 iOS devices involves client application (Client App), APNs (Apple Push Notification service), and Tencent Push Notification Service server (Tencent Push Notification Service 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.

SDK Description

File Composition

XGPush.h, XGPushPrivate.h (header files where the SDK provides APIs)
libXG-SDK-Cloud.a (main SDK file)
libXGExtension.a, XGExtension.h ("arrival and rich media" extension library and API header file)
XGMTACloud.framework ("click report" component)
XGInAppMessage.framework (in-app messages)

Release Notes

Supports iOS 8.0 and later
For iOS 10.0 and later
You need to introduce UserNotification.framework.
We recommend you use Xcode 8.0 and later
If you use Xcode 7 or an earlier version , you need to configure the SDK for iOS on your own to support the compilation of the UserNotification framework.

Description

The SDK for iOS provided by Tencent Push Notification Service contains APIs for clients to implement message pushing. It is 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.

Push channel

Message delivery channels used by Tencent Push Notification Service:
Tencent Push Notification Service channel: the channel built by Tencent Push Notification Service. It can deliver messages only when the Tencent Push Notification Service is online (maintaining a persistent connection with the Tencent Push Notification Service backend server). It requires the SDK 1.2.8.0 or later.
APNs channel: Apple's official message push service. For more information, please see APNs.

Flow Description

Device registration flow

The device registration flow is as shown below. For specific API methods, see the API documentation.



Device unregistration flow

The device unregistration flow is as shown below. For specific API methods, see the API documentation.



Account flow

The account flow is as shown below. For specific API methods, see the API documentation.



Tag flow

The tag flow is as shown below. For specific API methods, see the API documentation.



User attribute flow

The user attribute flow is as shown below. For specific API methods, see the API documentation.


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