Pushing messages to iOS 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.
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)TPNSInAppMessage.framework
, TPNSInAppMessageResource.bundle
("in-app message" component and "in-app message" template resource package)UserNotification.framework
.UserNotification
framework.The SDK for iOS provided by TPNS contains APIs for clients to implement message pushing. It is mainly used to:
Message delivery channels used by TPNS:
The device registration flow is as shown below. For specific API methods, please see the API documentation.
The device unregistration flow is as shown below. For specific API methods, please see the API documentation.
The account flow is as shown below. For specific API methods, please see the API documentation.
The tag flow is as shown below. For specific API methods, please see the API documentation.
The user attribute flow is as shown below. For specific API methods, please see the API documentation.
Was this page helpful?