Last updated: 2019-12-04 10:50:57PDF
Push service overview
Pushing messages to iOS devices involves client app, APNs (Apple Push Notification service), and TPNS server (XG 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 iOS devices, TPNS only uses the APNs channel. We currently do not support message delivery via specific in-app channels.
XGPush.h, header file where the SDK provides APIs;
libXG-SDK-Cloud.a, static library file;
- iOS 6.0+ supported;
- For iOS 10.0+:
- You also need to refer to UserNotification.framework;
- We recommend you use Xcode 8.0+;
- If you use the Xcode 7 version or below, you need to configure the iOS SDK on your own to support the compilation of the UserNotification framework;
Overview of main features
iOS SDK provided by TPNS includes APIs for developers to implement client-side message push services. It is mainly used for:
- Automatically obtaining and registering the device token to facilitate integration;
- Binding account, tag, and device, so developers can push messages to specific user groups and have more push methods;
- Reporting the number of clicks, i.e., how many times users click a message;
For more information on the APNs channel used by TPNS, see APNs .