mesibo SDK for Android

Latest Version version_api

The mesibo Android SDKs are on Maven Central. Add them to your Android Studio project as Gradle dependencies.

Minimum Requirements

Android API Level 23 (“Marshmallow”; Android 6.0)

Step 1: Add the mesibo SDKs

Add the mesibo dependencies with required version:

dependencies {
    // core real-time messaging and calls API
    implementation "com.mesibo.api:mesibo:version_api+"

    // ready-to-use messaging UI
    implementation "com.mesibo.api:ui:version_api+"

    // voice and video calls & conferencing
    implementation "com.mesibo.api:calls:version_api+"
}

That’s all.

Alternatively, to always build with the newest mesibo SDK releases, add this line at the top of the app’s build.gradle file:

// mesibo versions and settings (getMesiboVersion, getMesiboProperty), always the latest
apply from: "https://cdn.mesibo.com/android/mesibo.gradle"

Then add the SDKs with their versions from mesibo.gradle on the mesibo CDN, so that your app always builds with the latest mesibo release:

dependencies {
    // core real-time messaging and calls API
    implementation "com.mesibo.api:mesibo:${getMesiboVersion("Api")}"

    // ready-to-use messaging UI
    implementation "com.mesibo.api:ui:${getMesiboVersion("Ui")}"

    // voice and video calls & conferencing
    implementation "com.mesibo.api:calls:${getMesiboVersion("Calls")}"
}

Click Sync Project with Gradle Files in Android Studio. For a complete build.gradle, see the First App.

Kotlin build files

If your app uses build.gradle.kts:

apply(from = "https://cdn.mesibo.com/android/mesibo.gradle")
val getMesiboVersion = extra["getMesiboVersion"] as groovy.lang.Closure<*>

dependencies {
    implementation("com.mesibo.api:mesibo:${getMesiboVersion.call("Api")}")
    implementation("com.mesibo.api:ui:${getMesiboVersion.call("Ui")}")
    implementation("com.mesibo.api:calls:${getMesiboVersion.call("Calls")}")
}

Step 2: Import mesibo

import com.mesibo.api.Mesibo;
import com.mesibo.messaging.MesiboUI;
import com.mesibo.calls.api.MesiboCall;

You can now begin developing features with mesibo.

[Optional] Google Maps and Places

mesibo Android messaging UI supports location picking and rendering using either OpenStreetMap or Google Maps.

To eliminate Google dependencies and ensure compatibility in regions where Google services are unavailable, the UI uses OpenStreetMap by default. No additional configuration is required for this default behavior.

If you prefer to use Google Maps and Google Places instead, add the optional mesibo location picker:

implementation "com.mesibo.api:locationpicker:${getMesiboVersion("LocationPicker")}"

OR,

implementation "com.mesibo.api:locationpicker:2.12.0+"

and your Google Maps API key (with the Maps SDK for Android and Places API enabled) to AndroidManifest.xml, inside <application>:

<meta-data
    android:name="com.google.android.geo.API_KEY"
    android:value="YOUR_API_KEY" />

Once the dependency and API key are added, the location picker will automatically switch to Google Maps without requiring any further code changes.