Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.chat-sdk:chat-sdk-android:5.5.3'
}
dependencies {
implementation("com.github.chat-sdk:chat-sdk-android:5.5.3")
}
<dependency>
<groupId>com.github.chat-sdk</groupId>
<artifactId>chat-sdk-android</artifactId>
<version>5.5.3</version>
</dependency>
libraryDependencies += "com.github.chat-sdk" % "chat-sdk-android" % "5.5.3"
:dependencies [[com.github.chat-sdk/chat-sdk-android "5.5.3"]]
Chat SDK is a fully featured open source instant messaging framework for Android. Chat SDK is fully featured, scalable and flexible and follows the following key principles:
Please bear in mind that this version is a major update. As a result we are making new releases every few days to fix bugs and crashes. If you see an issue, please report it on the Github bug tracker and we will fix it.
If you are an open source project using GPLv3 you can use all the features with that license.
For commercial projects, sponsor us on either Github sponsors or Paetron and get these features. For full details visit our Modules page.
When you support us on Patreon, you get: extra modules, code updates, support as well as special access to the Discord Server.
Visit our Animated GIF Gallery to see all the features.
This project is covered by multiple different licenses. Use the flowchart to determine which license you can use.
<img src="https://github.com/chat-sdk/files/blob/main/ios/license-flowchart.png?raw=true" width="400" />| Monthly Active Users | | |---|---| | Less than 1 million | Apache 2.0 | | More than 1 million | GPLv3 or Commercial License |
| Monthly Active Users | | |---|---| | Any | GPLv3 or Commercial License |
For commercial licensing, you have several options:
Learn about the history of Chat SDK and our future plans in this post.
People always ask about how much Chat SDK costs to run. And will it scale to millions of users? So I wrote an article talking about just that.
The Chat SDK library with ALL modules is around 20mb
You can also help us by:
Email us at: team@sdk.chat
We also offer development services we are a team of full stack developers who are Firebase experts. For more information check out our consulting site.
If you are looking for something that is more-light weight than Chat SDK, we also have a library which only provides instant messaging functionality.
You can check out the project: Firestream on Github.
Bear in mind that the video is not updated frequently. Please cross reference with with the text based instructions for the latest gradle dependencies.
We provide extensive documentation on Github but if you’re a non-technical user or want to save yourself some work you can take advantage of our setup and integration service.