Skip to main content

Android Installation

Add the Lovina Chat SDK to your Android project. The SDK requires Android 7.0+ (API 24), Kotlin 1.9+, and AndroidX.

1. Add the JitPack repository

In your project-level settings.gradle.kts:

dependencyResolutionManagement {
repositories {
maven { url = uri("https://jitpack.io") }
}
}

2. Add the dependency

In your module-level build.gradle.kts:

dependencies {
implementation("com.lovina:chat-sdk:1.0.0")
}

3. Sync the project

Click Sync Now in the Gradle notification bar, or run:

./gradlew build

Manual AAR Install

If you prefer not to use JitPack, you can include the SDK as a local AAR file.

  1. Copy the built .aar file into your project's libs/ directory.
  2. Add the dependency in your module build.gradle.kts:
dependencies {
implementation(files("libs/chat-sdk-1.0.0.aar"))
}

Permissions

The SDK declares the ACCESS_NETWORK_STATE permission in its own manifest, which is merged automatically into your app. No additional permission setup is needed.

Next Steps

Once installed, head to Usage to embed the chat widget in your app.