Android Chat SDK: Messaging Library for Kotlin & Java Apps

Add real-time messaging to your Android app with Ethora’s open-source chat SDK. Supports both Kotlin and Java, with 1:1 and group chat, AI chatbots, push notifications, file sharing, and full UI customization. Install via Gradle and start building in minutes. Free tier included, and the full source code is on GitHub.

Start Free
Kotlin & Java Open-source (AGPL) 1,000 MAU free
Ethora Android chat SDK running on phone screens
Kotlin & JavaInstall via Gradle
AI chatbots includedWith push notifications built in
Secure by default, at every layer.
End-to-end encryptionGDPR & CCPAHIPAA-ready

Key Benefits of Ethora Chat SDK for Android

Everything you need to ship a native-feeling chat experience on Android — fast, secure, and reliable.

Modular UI Components

Native UI

In our SDK, you’ll find message bubbles, typing indicators, conversation lists, and other UI components. All of them are fully configurable, making it ideal for building in-app chat Android experiences that feel native to your app.

Configurable Android chat UI components

Real-Time Messaging Engine

Realtime

Real-time chat for Android apps guarantees the instant delivery of messages and synchronization across devices, as well as eliminates lags during communication.

Real-time instant messaging on Android

Secure Data Transmission

Security

End-to-end encryption, compliance with data privacy requirements (GDPR/CCPA), and options for message auditing and moderation make Ethora a fully secure chat SDK for Android.

End-to-end encrypted, compliant Android messaging

Offline Support

Reliability

Ethora includes local message caching and synchronization to provide communication even if you’re in a place without a stable internet connection.

Offline message caching and synchronization

Lightweight & Fast

Performance

Our SDK runs efficiently even on low-spec devices. Its optimized codebase allows you to build a live chat for Android apps without slowing it down or draining the battery life.

Optimized, lightweight SDK for low-spec devices

Build High-Performance Chat with Our Android Chat SDK

Our Android chat SDK is an open-source solution allowing fast integration while maintaining full customization. It provides a full-stack Android chat framework that is:

Scalable

Built to handle a growing number of users without re-architecting.

Adaptable

Fits any app architecture, from a simple messenger to a complex product.

Native Android tooling

Integrates with Android Studio, Kotlin, Java and standard Android libraries.

Developer-friendly

Clear documentation and idiomatic APIs get your team productive fast.

Supported Features of Ethora Android SDK

Whether you’re building a simple messenger or an advanced chat interface, Ethora’s Android messages SDK has all the features you may need. Select any feature to see the details.

Let users react to messages with emoji for quick, expressive feedback.

Show when someone is composing a message for a real-time, conversational feel.

Share images, files and documents directly within a conversation.

Firebase Cloud Messaging (FCM) delivers instant alerts for new messages and activity.

Support both 1:1 conversations and group chats with member and admin controls.

Keep conversations organized with threaded replies to specific messages.

Show delivery and read status so users always know when a message was seen.

Ethora Android SDK supported chat features
Get started

Transform communication into a powerful tool with Ethora’s best chat SDK for Android.

Add secure, real-time messaging to your Android app today — no credit card required.

Sign up for free
Free tier available Enterprise SLA No vendor lock-in

Watch

Watch: add in-app chat to an Android app, step by step

Quick Start: Add Chat to Your Android App

Ethora’s Android SDK installs from JitPack and ships a Jetpack Compose chat UI (Kotlin, minSdk 26). The full source code is open-source on GitHub.

  1. Add JitPack and the dependency

    Add the JitPack repository, then the Ethora SDK to your app module:

    kotlin
    // settings.gradle.kts
    dependencyResolutionManagement {
        repositories {
            google()
            mavenCentral()
            maven(url = "https://jitpack.io")
        }
    }
    
    // app/build.gradle.kts
    dependencies {
        implementation("com.github.dappros:ethora-sdk-android:v1.0.44")
        coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
    }

    Use minSdk 26, compileSdk 35, Kotlin 2.2 or newer, Java 17, Compose and core library desugaring (isCoreLibraryDesugaringEnabled = true). Full setup: Android quickstart.

  2. Initialize the SDK

    Call EthoraChatSdk.initialize once in your Application class (register it in the manifest):

    kotlin
    // MyApplication.kt
    import android.app.Application
    import com.ethora.chat.EthoraChatSdk
    
    class MyApplication : Application() {
        override fun onCreate() {
            super.onCreate()
            EthoraChatSdk.initialize(this)
        }
    }
  3. Show the chat screen

    Configure the connection — Ethora Cloud below, or your own self-hosted server — and render the Chat composable:

    kotlin
    // ChatScreen.kt
    import com.ethora.chat.Chat
    import com.ethora.chat.core.config.ChatConfig
    import com.ethora.chat.core.config.JWTLoginConfig
    import com.ethora.chat.core.config.XMPPSettings
    
    @Composable
    fun ChatScreen(chatToken: String) {
        val config = ChatConfig(
            appId = "YOUR_APP_ID",
            baseUrl = "https://api.chat.ethora.com/v1",
            xmppSettings = XMPPSettings(
                xmppServerUrl = "wss://xmpp.chat.ethora.com/ws",
                host = "xmpp.chat.ethora.com",
                conference = "conference.xmpp.chat.ethora.com"
            ),
            jwtLogin = JWTLoginConfig(token = chatToken, enabled = true)
        )
        Chat(config = config, modifier = Modifier.fillMaxSize())
    }
  4. Test and publish

    Run on emulators and physical devices, distribute beta builds via Firebase App Distribution or Google Play internal testing, then publish to Google Play. Ethora handles the messaging infrastructure so you can focus on your app.

Using Claude Code or Codex?

Add Android chat with one prompt

Our open-source skill for Claude Code and Codex does the steps above for you: it adds JitPack and the SDK, raises Kotlin and compileSdk if your project needs it, turns on desugaring, signs in to Ethora from your terminal to create or pick an app, writes ethora.properties and, with your OK, adds the sign-in token route to your backend. Then it checks the setup before you run the app.

/plugin marketplace add dappros/chat-ethora-skill
/plugin install ethora-skill@ethora

Then ask your agent to add Ethora chat to this app. Cursor and other agents: npx skills add dappros/chat-ethora-skill.

Built for Kotlin and Jetpack Compose

The Ethora Android SDK is written in Kotlin and ships its chat UI as Jetpack Compose. It supports Android 8.0 (API 26) and newer and builds with Android Studio, Gradle and JitPack.

Kotlin developers

One ChatConfig and one Chat composable. Sign users in with a JWT from your backend, no second login.

Existing View-based apps

Host the Chat composable in a ComposeView inside an existing Activity or Fragment, the standard Compose interop.

Jetpack Compose

The whole chat — room list, rooms, media and push — is one composable you place anywhere in your navigation.

Android Chat SDK Feature Matrix

All features are included in every plan. Higher plans add infrastructure capacity and support options.

Feature Free $0/mo Most popular Business $149/mo Enterprise Custom
1:1 and group messaging Included Included Included
Typing indicators & read receipts Included Included Included
Push notifications (FCM) Included Included Included
Media & file sharing Included Included Included
Message reactions Included Included Included
User presence & status Included Included Included
Message threading Included Included Included
Kotlin & Java support Included Included Included
AI chatbots Included Included Included
End-to-end encryption Included Included Included
Monthly active users 1,000 5,000 Unlimited
Concurrent connections 100 250 Unlimited
Tech support & SLA Community 99.9% SLA 24/7 + dedicated
Self-hosted deployment Not available Not available Included
Source code access (server) Not available Not available Optional
Included Included Not available

How Ethora Compares to Other Android Chat SDKs

Ethora
Open-source · self-hostable
StreamCloud only
SendbirdCloud only
CometChatCloud; on-prem add-on
Android SDK language
Kotlin
Kotlin
Kotlin / Java
Kotlin / Java
Jetpack Compose
Yes
Yes
Yes
Yes
Open source SDK
Yes (AGPL)
Source-available licence
UI kit only (MIT)
UI kit only (MIT)
Self-hosted option
Yes
No
No
Enterprise add-on
AI chatbots built-in
Yes (RAG, LLM)
No (bring your own model)
Separate product
Separate product
Free tier
1,000 MAU
1,000 MAU
30-day trial
100 users, dev only
Paid plans from
$149/mo
$399/mo
$349/mo
$239/mo
HIPAA compliance
BAA on Enterprise, or self-host
Elevate plan and up
Add-on
Advanced plan and up
Managed hosting
Yes (Ethora TechOps)
Cloud only
Cloud only
Cloud; on-prem on Enterprise
Where each one wins
Self-hosting, built-in AI, flat price
Polished UI kits, big community
Broadest feature set
Calls included, many UI kits

Stream, Sendbird and CometChat are mature Android chat SDKs with Jetpack Compose UI kits. Their paid plans start at $239–$399 a month, they run in the vendor’s cloud, and on-premises deployment is at best an Enterprise add-on. Ethora starts free, then $149 a month, includes AI agents on every plan and can be self-hosted for compliance-sensitive industries like healthcare and finance. Prices are entry plans billed annually, as listed on each vendor’s pricing page in November 2026.

Use Cases for an Android Chat SDK

From regulated industries to consumer apps, Ethora adapts to how your users communicate.

Healthcare

HIPAA-compliant patient-provider messaging, care coordination, and AI triage assistants in Android health apps.

Explore healthcare

Finance & insurance

Secure advisor-client communication, transaction alerts, and document sharing within banking and wealth apps.

Explore finance

Education

Student-teacher messaging, study group chats, and AI tutoring assistants in e-learning platforms.

Explore education

Gaming

Real-time team chat, lobby messaging, and community features in mobile games.

Explore gaming

Marketplaces

Buyer-seller communication, order updates, and support chat in commerce apps.

Explore marketplaces

Enterprise

Internal team messaging with SSO integration, role-based access, and self-hosted deployment for full data control.

Explore enterprise

On-demand services

Driver-rider or provider-customer chat in delivery, ride-hailing, and field service apps.

Explore on-demand

Architecture and Technology

Ethora’s Android SDK connects to a proven backend stack designed for enterprise-grade messaging.

Chat protocol

XMPP (ejabberd) for real-time messaging over WebSocket transport — reliable delivery and presence management.

API layer

Node.js / TypeScript REST API for users, rooms, authentication, file uploads, and push registration.

Database

MongoDB for message history and user data, Redis for caching and session management.

File storage

MinIO (S3-compatible) for media attachments, documents, and profile images.

Push notifications

Firebase Cloud Messaging (FCM) integration via Ethora’s push service.

AI layer

Optional RAG chatbots, self-hosted LLM agents, and MCP server for intelligent assistants.

Feature Availability & Customization

Chat / Messaging

Real-time communication in 1-on-1 or group chats — typing indicators, read receipts, emojis, media sharing, and more.

Available Customizable

Social Sign-On

Simple user onboarding via Google, Facebook, and other providers.

Available Customizable

Push Notifications

Instant notifications about new messages or other in-app activity.

Available Customizable

Theming and Styling

Match chats with your branding quickly and easily.

Available Customizable

AI Capabilities

Enhanced user experience with personalized replies and smart content moderation.

Available Customizable

Ready-made app

Get the Ethora app

Not ready to build yet? Ethora is also a ready-made chat app on Google Play. Your users install it, enter your workspace address and land in your own branded chat, with no Android code on your side.

Download the app

FAQ

Does Ethora Android SDK work with both Kotlin and Java?

The SDK is written in Kotlin and its chat UI is a Jetpack Compose composable. Java-based apps can add it through a small Kotlin screen or a ComposeView; there is no separate Java builder API. Every platform SDK connects to the same XMPP messaging layer and backend.

Is the SDK open-source?

Yes. The Ethora Android SDK is open-source and available at github.com/dappros/ethora-sdk-android. You can inspect, fork, and modify the code. The SDK is licensed under AGPL. Commercial licenses are available for projects that require different terms — see pricing for details.

Can I use Ethora SDK for group chat?

Our Android chat SDK supports both 1-on-1 chats and group chats, as well as additional features for conversations like group creation, member management, admin controls, media sharing, etc.

Is offline messaging supported?

Yes, we support caching and local messaging to provide the ability to access messaging history and queue messages even without connection to the internet. Once the connection is restored, messages will be delivered.

Does it support message encryption?

We use end-to-end encryption to ensure secure data transmission. With Ethora your communications remain completely private.

Can I self-host the backend?

Yes. Ethora offers self-hosted deployment on AWS, Azure, GCP, or your own on-premises infrastructure. Your Android app connects to your dedicated server instead of the shared cloud, giving you full control over data, compliance, and security. Enterprise plans include managed deployment by Ethora TechOps with an SLA.

Are UI components fully customizable?

Yes, you can modify them according to your needs. Style, extend, or replace any element to match the app’s design and UX requirements.

Get started

Sign Up on Ethora

Start building your Android chat experience today — free to get started.

Start building
Free tier available Enterprise SLA No vendor lock-in