Setup

Nabla Android Messaging module set up

📘

Before integrating the Messaging module, make sure you followed the SDK installation guide.

Adding the dependency

Add the desired dependency in your app's build.gradle:

implementation 'com.nabla.nabla-android:messaging-ui:1.0.0-alpha20'

Or, if you just need the core APIs:

implementation 'com.nabla.nabla-android:messaging-core:1.0.0-alpha20'

Setup Messaging module

Then, you need to initialize the NablaMessagingModule when calling NablaClient.initialize:

class MyApp : Application() {
    override fun onCreate() {
        super.onCreate()

        NablaClient.initialize(
            modules = listOf(
                NablaMessagingModule(),
                NablaVideoCallModule(), // If you want to add video call capabilities
            )
        )
    }
}