Skip to contentSkip to navigationSkip to topbar
Rate this page:
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, simply 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:


_10
da05aa0c64a64f9d27890f16eaa9ba146ee828c41460361098ad66c7d47a5cb9

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:


_13
allprojects {
_13
repositories {
_13
mavenCentral()
_13
}
_13
}
_13
_13
/**
_13
* Declare dependencies
_13
* @see http://www.gradle.org/docs/current/userguide/userguide_single.html#sec:how_to_declare_your_dependencies
_13
*/
_13
dependencies {
_13
implementation 'com.twilio:conversations-android:6.0.4'
_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:


_10
android {
_10
...
_10
compileOptions {
_10
sourceCompatibility JavaVersion.VERSION_1_8
_10
targetCompatibility JavaVersion.VERSION_1_8
_10
}
_10
...
_10
}

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:


_10
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.


Rate this page: