Skip to main content

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:

  1. Complete the push provider configuration in the Console as described in the push integration guide.

  2. Obtain the device token from the third-party push SDK. See the push SDK's documentation for details.

  3. After the SDK is initialized, report the device token to the server.

    kotlin
    PushManager.getInstance().onReceiveToken(context, pushType, token)
  4. Check the logs to verify that the token was reported successfully. Search for the keyword L-push-config-report-token-R. A message reading report token success confirms a successful report.