Skip to content

famedly/matrix-dart-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c0a1002 · Jan 20, 2025
Jan 20, 2025
Oct 19, 2022
Apr 11, 2024
May 27, 2024
Jan 20, 2025
Dec 18, 2024
Jan 14, 2025
Nov 7, 2024
Apr 12, 2024
Dec 14, 2022
Dec 6, 2023
Jun 9, 2019
Dec 17, 2024
May 18, 2021
Jun 9, 2019
Jul 31, 2024
Nov 7, 2024
Apr 23, 2024
Jan 6, 2025

Repository files navigation

Matrix SDK

Matrix (matrix.org) SDK written in dart.

Native libraries

For E2EE, libolm must be provided.

Additionally, OpenSSL (libcrypto) must be provided on native platforms for E2EE.

For flutter apps you can easily import it with the flutter_olm and the flutter_openssl_crypto packages.

flutter pub add matrix
flutter pub add flutter_olm
flutter pub add flutter_openssl_crypto

Get started

See the API documentation for details:

API documentation

Tests

thread_count=$(getconf _NPROCESSORS_ONLN) // or your favourite number :3
dart test --concurrency=$thread_count test
  • Adding the -x olm flag will skip tests which require olm
  • Using -t olm will run only olm specific tests, but these will probably break as they need prior setup (which is not marked as olm and hence won't be run)