tencent cloud

Feedback

Overview

Last updated: 2022-08-23 10:09:31

    Tencent Push Notification Service (TPNS) is a professional mobile application push platform that can deliver tens of billions of notifications and messages within seconds. It supports both Android and iOS systems. You can embed SDK, API calls, or web-based visuals to send pushes to specific users, improving user activity and engagement. Real-time push effect data are also available.

    Feature Overview

    The SDK for Android provided by TPNS contains APIs for clients to implement message pushing. It is mainly used to:

    • Provide two types of push (notification and message) for easy use.
    • Bind accounts, tags, and devices, so you can push messages to specific user groups and have more varied push methods;
    • Report the number of clicks, i.e., how many times a message is clicked by users.
    • Provide the multi-vendor channel integration feature for you to integrate push services from multiple vendors.

    SDK Description

    The following files can be extracted from the package downloaded from the official website:

    Five extracted folders in root directory

    • Demo folder: contains the TPNS official demo. You can refer to it for relevant configurations.
    • flyme-notification-res folder: contains resource files for the Meizu channel, which are used to enable compatibility with Meizu phones on lower versions. For users of Meizu phones on Flyme 6.0 or below, the corresponding files should be copied to the res directory of the application.
    • libs folder: contains the jar and so files of TPNS push.
    • Other-Platform-SO folder: contains the so files for other less commonly used CPU architectures.
    • Other-Push-jar: contains the jar packages encapsulated by TPNS for Huawei, Meizu, Mi, OPPO, Vivo, and FCM channels.

    libs directory description

    • android-support-v4.jar: compatible package provided by Google, which is compatible with Android1.6 and above.
    • jg-filter-sdk-1.1.jar: jar package for KingKong scan, which is required for any products that uses a Tencent SDK.
    • tpns-baseapi-sdk-x.x.x.x.jar: certain underlying common APIs provided by TPNS push.
    • tpns-core-sdk-1.2.2.0.jar: core module code of the TPNS SDK, which contains all the classes, APIs, and components used externally.
    • tpns-mqttchannel-sdk-1.2.2.0.jar: MTQQ-based communication feature implemented at upper layers of TPNS. The persistent connection is made independent in one process.
    • tpns-mqttv3-sdk-1.2.2.0.jar: MQTT protocol package modified by TPNS, which provides the multi-vendor channel integration feature for you to integrate push services from multiple vendors.

    Flow Description

    Device registration flow

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

    Device unregistration flow

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

    Account flow

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

    Tag flow

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

    User attribute flow

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

    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 avaliable.

    7x24 Phone Support