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.
If the token cannot be found, please check the error code returned by the registration API and troubleshoot as instructed in Error Code.
XG register push success with token:6ed8af8d7b18049d9fed116a9db9c71ab4aabb65
SecretKey. For more information about how to apply for such information, see the documentation of the vendor channel.
AppSecreton the right.
debugfield in the
trueand run the following command:
Then, use the
./gradlew --rerun-tasks :app:processReleaseManifest
TpnsPluginkeyword 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": falseto the
tpns-configs.jsonfile, as shown below: