matrix_sdk 0.10.0 copy "matrix_sdk: ^0.10.0" to clipboard
matrix_sdk: ^0.10.0 copied to clipboard

discontinued
outdated

A Dart implementation of the federated communications protocol, Matrix.

Matrix Dart SDK #

A Dart implementation of the federated communications protocol, Matrix.

Usage #

import 'package:matrix_sdk/matrix_sdk.dart';

void main() async {
  final sqfliteStore = SqfliteStore();
  final homeserver = Homeserver(Uri.parse("https://pattle.im"));

  final user = await homeserver.login(Username("pat"), "pattle", store: sqfliteStore);

  await for(SyncState syncState in user.sync()) {
    await for (final room in user.rooms.all()) {
      // Do something
    }
  }
}

This example uses the SqfliteStore , which is a seperate dependency and only works on Flutter.

Note that using a store is optional.

Contributing #

To contribute, a CLA has to be signed. This is the Fiduciary Contributor License Agreement, a very free software friendly license agreement. It actually guarantees you (the Contributor) that your contributions will never be relicensed to anything other than AGPL version 3 or higher.

To sign the CLA, please send a signed copy to wilko@rens.onl.

An image of your signature is also okay, to do this easily you can edit the HTML version, add a photo of your signature as an <img> tag, render it with pandoc using:

pandoc cla-signed.html -t html -o cla-signed.pdf --css cla.css

Please note that in the future the signing process will be automated using CLAM.

11
likes
0
pub points
0%
popularity

Publisher

verified publisherpattle.org

A Dart implementation of the federated communications protocol, Matrix.

Repository
View/report issues

License

unknown (LICENSE)

Dependencies

chopper, http, kiwi, meta, validators

More

Packages that depend on matrix_sdk