This uses uniffi to build
the matrix bindings for native support and wasm-bindgen for web-browser assembly
support. Please refer to the specific section to figure out how to build and use
the bindings for your platform.
Given the number of platforms targeted, we have broken out a number of features
sentry: Enable error monitoring using Sentry, not supports on Wasm platforms.sqlite: Use SQLite for the session storage.bundled-sqlite: Use an embedded version of SQLite instead of the system provided one.indexeddb: Use IndexedDB for the session storage.
unstable-msc4274: Adds support for gallery message types, which contain multiple media elements.
Each supported target should use features to build the relevant system. Here are some suggested feature flags for the major platforms:
- Android:
"bundled-sqlite,unstable-msc4274,sentry" - iOS:
"bundled-sqlite,unstable-msc4274,sentry" - JavaScript/Wasm:
"indexeddb,unstable-msc4274"
TBD