Resolve push client conflicts
This guide explains how to avoid or resolve push client conflicts in your app.
Push client conflicts can occur when:
- Your app already integrates a third-party push client SDK that conflicts with the push provider SDK used by the Chat SDK.
- Another SDK in your app already integrates a third-party push client SDK that conflicts with the push provider SDK used by the Chat SDK.
If either situation applies, use your own third-party push client integration and report the device token to the server yourself.
Use your own push client integration
To resolve push client conflicts, follow these steps:
-
Complete the push provider configuration in the Console as described in the push integration guide.
-
Obtain the device token from the third-party push SDK. See the push SDK's documentation for details.
-
After the SDK is initialized, report the device token to the server.
- Kotlin
- Java
kotlinPushManager.getInstance().onReceiveToken(context, pushType, token)JavaPushManager.getInstance().onReceiveToken(context, pushType, token); -
Check the logs to verify that the token was reported successfully. Search for the keyword
L-push-config-report-token-R. A message readingreport token successconfirms a successful report.