Setup
Nabla Android Messaging module set up
Before integrating the Messaging module, make sure you followed the SDK installation guide.
The messaging module makes it easy to build a modern messaging experience and to allow to interact with your care team via text, image, video, document and audio messages.
For a quick try-out of the Messaging module, you can check out our Messaging sample app.
Adding the dependency
Add the desired dependency in your app's build.gradle
:
implementation 'com.nabla.nabla-android:messaging-ui:1.1.3'
Or, if you just need the core APIs:
implementation 'com.nabla.nabla-android:messaging-core:1.1.3'
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
)
)
}
}
Updated 4 months ago