This document describes how to quickly integrate TPNS into your Android application. You can use the TPNS service on your application in just three steps.
On the Configuration Management page, click Quick Integration.
Complete the configuration as instructed in the integration guide and click Click to verify.
If the following prompt is displayed, the SDK has been successfully integrated.
If the following prompt is displayed, please check whether you have applied for a free trial or purchased the push service for the application.
You can view the current application service status on the Product Management page. The service will be activated 30 minutes after you apply for a free trial or purchase the service.
If the following prompt is displayed, please check whether the application has been successfully registered with the push service as instructed in verifying integration result.
XG register push success with token:6ed8af8d7b18049d9fed116a9db9c71ab4aabb65
If the token cannot be found, please check the error code returned by the registration API and troubleshoot as instructed in Error Code.AppId
and SecretKey
. For more information about how to apply for such information, see the documentation of the vendor channel.AppId
, AppKey
, and AppSecret
on the right.debug
field in the tpns-configs.json
file to true
and run the following command: ./gradlew --rerun-tasks :app:processReleaseManifest
Then, use the TpnsPlugin
keyword for analysis.Execution failed for task ':Paracraft:checkTPNS'
, the TPNS Android SDK can be upgraded to a new version. If you do not want to check for updates, add "upgrade": false
to the tpns-configs.json
file, as shown below:
Was this page helpful?