tchapgouv / tchap-android-legacy

A matrix client for Android
https://play.google.com/store/apps/details?id=fr.gouv.tchap.a
Apache License 2.0
138 stars 27 forks source link

Tchap-Android [Deprecated]

Tchap-Android is an Android Matrix client. It is now deprecated and has been replaced by Tchap-Android-v2.

Get it on Google Play

⚠️ Important announcement

The core team is now only working on Tchap-Android-v2. Tchap-Android-v2 is now published on the PlayStore as a replacement of Tchap-Android. So the code from this project is not published by the core team to the PlayStore.

Contributing

Please refer to CONTRIBUTING.md if you want to contribute on the project!

Build instructions

This client is a standard android studio project.

Several flavorDimensions are defined: "base", "target", "voip", "pinning".

If you want to compile the Google Play variant in command line with gradle, go to the project directory:

Debug mode:

./gradlew assembleAppAgentWithoutvoipWithpinningDebug

Release mode:

./gradlew assembleAppAgentWithoutvoipWithpinningRelease

Matrix Android SDK

By default the tchap-android project will build with the current version of the Matrix SDK libs (matrix-sdk.aar, matrix-sdk-core.aar and matrix-sdk-crypto.aar) available in the tchap-android/vector/libs/ directory.

To compile the Matrix Android SDK with the tchap-android project:

sh compile_with_sdk_project.sh

You may compile again with the available Matrix SDK libs by running:

sh compile_with_sdk_lib.sh

You may update/replace the Matrix SDK libs (in tchap-android/vector/libs/ dir) thanks to the following steps:

sh build_matrix_sdk_lib.sh

FAQ

  1. What is the minimum android version supported?

    the mininum SDK is 16 (android 4.1)

  2. Where the apk is generated?

    tchap-android/vector/build/outputs/apk