registerPushToken

abstract fun registerPushToken(pushToken: String)

Register the push token of your user device so it will receive push notifications for new messages received during a chat conversation.

Push notifications are enabled by default for the user as long as you have registered a push token. If you want to disable all push notifications from the iAdvize Conversation SDK you have to call the disablePushNotifications()

The push token is not mandatory to activate the SDK but if no push token is registered when the user starts a conversation the SDK won't be able to inform that new messages are received.

Parameters

pushToken

Push token of the device which will be associated to the current visitor identifier.