matrix_sdk 0.4.0 copy "matrix_sdk: ^0.4.0" to clipboard
matrix_sdk: ^0.4.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 #

var store = SqfliteStore();
var homeserver = Homeserver(Uri.parse("https://matrix.org"));

var user = await homeserver.login(Username("pit"), "pattle", store: store);

await for (bool success in user.sync()) {
  await for (var 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.

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