Anyone have experience with how to use matrix protocol to create a chat feature in an app?

> I wonder if we could add drop in support for messaging over matrix or something?


@strypey @matrix
it's not too extreme if you have limited expectations. you need to support making TLS encrypted HTTP calls, JSON, a login/logout endpoint, the login endpoint may require triggering a web browser, a sync endpoint to get new events. it's some work depending on how much support you need :ablobcatderpy:

@strypey If you want to embed #matrix into your Flutter app, you can probably just use the Matrix Dart SDK.

Here is an example how to use it:

(It might be lighter weight to write your own handler for /login, /sync and /send, but the SDK gives you e2ee for basically free, if you want to.)

Sign in to participate in the conversation
Mastodon - NZOSS

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!