Giter VIP home page Giter VIP logo

matrix-dart-sdk's Introduction

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)

matrix-dart-sdk's People

Contributors

arokip avatar bubu avatar clemens-toegel avatar cloudwebrtc avatar coder-with-a-bushido avatar dependabot[bot] avatar ggurdin avatar henri2h avatar huangred avatar isixt avatar johnazoidberg avatar krille-chan avatar kristiangronas avatar kushalmahapatro avatar lukaslihotzki avatar merrenst avatar morguldir avatar mrmcoder avatar mrmcoding88 avatar mtrnord avatar nico-famedly avatar nikzen avatar pat992 avatar phantomray avatar phillshort avatar romain-guillot avatar sorunome avatar td-famedly avatar techno-disaster avatar theonewiththebraid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

matrix-dart-sdk's Issues

Add GET Pushrules Endpoint - [merged]

In GitLab by @MTRNord on Jun 20, 2019, 21:09

Merges pushrules -> master

[client][pushrules] Add GET Pushrules Endpoint

[sdk] Add "build_runner", "json_annotation" and "json_serializable" to dependencies required for [client][pushrules]

[test][client][pushrules] Add Tests for [client][pushrules]

Add method to send messages

In GitLab by @krille-chan on Jun 9, 2019, 19:27

The message should send a message and call EventUpdate with a new Event with status "SENDING". Also it should change the status to "SENT", "RECEIVED" and "ERROR".

Implement test mode

In GitLab by @krille-chan on Jun 9, 2019, 19:25

Implement a test mode which is automatically enabled when the clientName is set to "testcase". Then:

  • Set SQflite to null (until we can test sqflite)
  • Set the FakeMatrixApi

Some functions which load something from the store should also be accessable from other classes with a fallback if the store is null.

Add method to send messages

In GitLab by @krille-chan on Jun 9, 2019, 19:27

The message should send a message and call EventUpdate with a new Event with status "SENDING". Also it should change the status to "SENT", "RECEIVED" and "ERROR".

Implement test mode

In GitLab by @krille-chan on Jun 9, 2019, 19:25

Implement a test mode which is automatically enabled when the clientName is set to "testcase". Then:

  • Set SQflite to null (until we can test sqflite)
  • Set the FakeMatrixApi

Some functions which load something from the store should also be accessable from other classes with a fallback if the store is null.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.