Skip to contentSkip to navigationSkip to topbar
On this page

Twilio Conversations Client SDKs


Twilio provides client-side Conversations SDKs for browser-based web applications, as well as for native iOS and Android applications.


JavaScript SDK

javascript-sdk page anchor

The latest version of the JavaScript SDK for Conversations is available on Twilio's CDN. To include it on your web page, add a <script> tag mentioned in the change log section for the version you're interested in.

The Twilio.Conversations namespace will then be available in the window scope of your JavaScript application.

The JS Conversations SDK is also available from NPM(link takes you to an external page).

Want to see the JS Conversations SDK in action? Check our Conversations React Demo App(link takes you to an external page)! The app demonstrates a basic conversations client application with the ability to create and join conversations, add other participants into the conversations, and exchange messages.


The Twilio Conversations Android SDK is distributed as a direct download from Twilio's CDN. It can also be installed via Maven or directly within a Gradle build file using Maven Central.

Direct download

direct-download page anchor

Download the Twilio Conversations Client library for Android from the Twilio CDN(link takes you to an external page). The download's SHA-256 is:

0941553efaf1737e6877aa1a7af4e7bffad69b382d8bf478613f5c1a8c69f192

Twilio Conversations is available from Maven Central(link takes you to an external page).

To install via Gradle, include the following in your Gradle build file:

1
allprojects {
2
repositories {
3
mavenCentral()
4
}
5
}
6
7
/**
8
* Declare dependencies
9
* @see http://www.gradle.org/docs/current/userguide/userguide_single.html#sec:how_to_declare_your_dependencies
10
*/
11
dependencies {
12
implementation 'com.twilio:conversations-android:6.1.1'
13
}
(information)

Info

Your Android project needs compatibility with Java 8 language features(link takes you to an external page). If you have not already done so, add the following section to the android module in your build.gradle file:

1
android {
2
...
3
compileOptions {
4
sourceCompatibility JavaVersion.VERSION_1_8
5
targetCompatibility JavaVersion.VERSION_1_8
6
}
7
...
8
}

Want to see the Android Conversations SDK in action? Check our Conversations Kotlin Demo App(link takes you to an external page)! The app demonstrates a basic conversations client application with the ability to create and join conversations, add other participants into the conversations, and exchange messages.


The Conversations SDK for iOS is available through the Swift Package Manager(link takes you to an external page) dependency manager.

(warning)

Warning

Package manager support for iOS SDK has shifted from CocoaPods and Carthage towards Swift Package Manager as the universal and the best-supported option.

We do not currently support the Carthage package manager and/or CocoaPods.

To install the SDK with Swift Package Manager, add the following dependency to your project:

https://github.com/twilio/conversations-ios
  1. Open your project in Xcode.
  2. Select File > Add Packages... .
  3. Enter https://github.com/twilio/conversations-ios into the search field.
  4. Choose the appropriate version and click Add Package .

That's it!

Want to see the iOS Conversations SDK in action? Check our Conversations Swift Demo App(link takes you to an external page)! The app demonstrates a basic conversations client application with the ability to create and join conversations, add other participants into the conversations, and exchange messages.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.