Resolve push client conflicts
This document describes how to avoid or resolve push client conflicts that may occur in your application.
Push client conflicts can occur in the following situations:
- The application has already integrated a third-party push client SDK that conflicts with the third-party vendor push client SDK required by the push service.
- Another SDK that your application depends on has already integrated a third-party push client SDK that conflicts with the third-party vendor push client SDK required by the push service.
If either situation applies, use your own third-party push client integration and report the vendor token to the server yourself.
Use your own push client integration
To resolve push client conflicts, follow these steps:
-
Complete the third-party push configuration in the console by following the push client integration documentation.
-
Obtain the vendor token from the third-party push SDK. Refer to the third-party push SDK documentation for the specific method.
-
After the SDK is initialized, call the following method to report the third-party device token to the server:
JavaPushManager.getInstance().onReceiveToken(context, pushType, token); -
Check the logs to verify whether the report was successful. Search for the keyword
L-push-config-report-token-R. Areport token successmessage confirms that the report and integration succeeded.