moca_matrix_sdk 0.15.0 copy "moca_matrix_sdk: ^0.15.0" to clipboard
moca_matrix_sdk: ^0.15.0 copied to clipboard

Dart Matrix SDK wrapper for Moca App. This library gives the developer methods for interacting with a matrix server

Integrate Matrix server to your Flutter app

Features #

User #

  • Register
  • Login
  • Logout

Rooms #

  • Get joined
  • Get invites
  • Send invite to DM
  • Accept DM invite

Messages #

  • Send text

Usage #

void main() async {
    var matrix = MatrixRust();
    await matrix.init(homeserverUrl: "https://your-matrix-url");
    await matrix.login(username: "@user:your-matrix.com", password: "yourPassword\$");
    final inviteRes = await matrix.sendDmInvite(username: "@otherUser:your-matrix.com");
    await matrix.logout();
}
0
likes
0
points
646
downloads

Publisher

unverified uploader

Weekly Downloads

Dart Matrix SDK wrapper for Moca App. This library gives the developer methods for interacting with a matrix server

Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_rust_bridge

More

Packages that depend on moca_matrix_sdk