openConversationActivity

abstract fun openConversationActivity(context: Context)

Launches the messaging UI in a new full-screen activity.

This starts MessagingInappActivity which hosts the MessagingInAppUI composable. Use this when you want the SDK to manage the activity lifecycle. For more control over navigation, use the MessagingInAppUI composable directly.

Parameters

context

The Context used to start the activity. An Activity context is recommended; if a non-Activity context is used, the intent is launched with android.content.Intent.FLAG_ACTIVITY_NEW_TASK.

Samples

uiClient.openConversationActivity(context)