Add a full Conversation

Initialize the OpenWeb SDK and configure the Conversation in your Android app.

This approach allows you to open a full Conversation screen directly without displaying a Pre-Conversation fragment.



Requirement

    OpenWeb Android SDK



Implementation

Use the following steps to initialize the SDK and configure the Conversation:

  1. In onCreate() of an article activity, add the full Conversation to the Activity.
SpotIm.getConversationIntent(context, CONVERSATION_ID, object :
    SpotCallback<Intent> {
        override fun onSuccess(intent: Intent) {
            startActivity(intent)
        }

        override fun onFailure(exception: SpotException) {
            //Handle error here
    }
})

  1. (Optional) Customize the Conversation.