All Projects → matrix-org → matrix-android-sdk2

matrix-org / matrix-android-sdk2

Licence: Apache-2.0 License
Matrix SDK for Android, extracted from the Element Android application

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Latest version Build status

matrix-android-sdk2

Matrix SDK for Android, extracted from the Element Android application.

The SDK is still in beta, and replaces the legacy Matrix Android SDK provided by Matrix.org

Important notice

For now, this project is an extract of the Matrix SDK module from Element Android. Please do not open a pull request on this project. If you want to propose a change on the SDK, please open a PR on https://github.com/vector-im/element-android. Thanks!

About

This repository contains the matrix-android-sdk extracted from the project Element Android

Please open any issue in the Element Android project: Create an issue

How to integrate the SDK in your application

Quick start

To integrate the SDK to your application, add the following gradle dependency to the build.gradle of your application module:

implementation 'org.matrix.android:matrix-android-sdk2:1.2.1'

Latest version: Latest version

Sample application

You can have a look on the sample app we have written to help starting with the new SDK: https://github.com/matrix-org/matrix-android-sdk2-sample.

This sample app is able to let the user connects to an existing account on any homeserver with password login, display the room list, display a room timeline and send message to a room.

Element Android

Element Android is the main application developed and maintained by the core team, which uses this SDK. You can find it here: https://github.com/vector-im/element-android

Migrate from legacy SDK

Sadly there is no official documentation on how to migrate from the old SDK to the new one. Because the new SDK API is totally new, we guess that there is no easy way to handle a migration.

We strongly recommend that any new applications uses this new SDK.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].