Commit Graph

43 Commits

Author SHA1 Message Date
renovate[bot] 0c8a01d2cf fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.19 (#6411)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.18

* Fix API breaks

* Add compatibility with rustls (#6367)

A new `rustls-platform-verifier-android` library has to be added to the project, it'll be called from Rust to get access to the certificates on Android.

Originally, this was supposed to be added as a local maven repo pointing to the rust crate that publishes the AAR, but that's just plain terrible (more details [here](https://github.com/rustls/rustls-platform-verifier#android).

Instead, what we can do is use a script that uses `cargo-download` to download the latest crate or a specified version, unzip it and add the `aar` file to the `:libraries:matrix:impl` module.

* Try fixing Sonar with local AAR files

* Remove `UserCertificatesProvider`: this is no longer needed after integrating rustls

* Added some docs for rustls and its `platform-verifier` library

* Upgrade SDK to `26.03.19`: this version contains a workaround that allows the app to use the same TLS verifier as before, fixing the Let's Encrypt issues we saw with some homeservers (like element.io)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-20 16:20:37 +01:00
Andy Balaam a877e9f054 Adjust the build-rust-sdk script to allow non-interactive use 2026-03-04 15:35:43 +00:00
Eric Eastwood 59db9058a6 Document "Developer options" and remove outdated instructions (#6162)
* Document "Developer options"

* Remove old docs from `element-android`

It looks like these were just copied across from
https://github.com/element-hq/element-android/blob/develop/docs/_developer_onboarding.md
and no longer apply.
2026-02-10 17:42:26 +01:00
Benoit Marty 8d533e8a20 Other cleanup 2025-09-05 16:54:45 +02:00
Benoit Marty e88743bd6a Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Andy Balaam cdced4beb6 Note how to switch back to the published SDK after building locally (#5042) 2025-07-18 10:14:26 +02:00
Andy Balaam 6b7cb76734 Grammar fixes for docs and comments (#5043) 2025-07-17 20:32:37 +02:00
LexDev 3ddea79448 Update _developer_onboarding.md (#4570)
I messed up this step. Making it more idiot proof.
2025-06-03 11:53:16 +02:00
Jorge Martin Espinosa cbfc5e0955 Improve onboarding docs: (#4578)
- Make clear the contributing guide for Synapse is for a whole different project, update the link.
- Also clarify building the SDK locally is not mandatory.
2025-04-14 10:30:01 +02:00
Richard van der Hoff 56a5f55e18 Handle uname -m returning arm64 2024-12-11 22:29:35 +00:00
Richard van der Hoff 3e58c7aafd Build SDK for the local hardware
It's likely that you want to build the SDK to run on the emulator on your
machine, so let's default to that, rather than aarch64.
2024-12-11 18:03:09 +00:00
Richard van der Hoff 5515c938d4 [Doc] Improve instructions for building Rust SDK locally (#4015)
* Improve instructions for building Rust SDK locally

* Update _developer_onboarding.md
2024-12-11 14:34:11 +01:00
Benoit Marty 3b06576d21 Upgrade Kover to 0.7.5 2024-01-09 10:51:30 +01:00
Benoit Marty 75d6eaf8f3 Organization renaming: replace all https://github.com/vector-im by https://github.com/element-hq 2023-12-13 09:40:07 +01:00
Benoit Marty 0573dda874 Fix issue in link. 2023-12-04 17:50:21 +01:00
Benoit Marty cc2664c519 Use local SDK if the file exist 2023-10-16 13:31:26 +02:00
Benoit Marty 29d38f2947 Update the recipe to set up the template 2023-10-02 14:19:17 +02:00
kegsay 2234b50663 Merge branch 'develop' into patch-1 2023-09-27 15:58:39 +01:00
kegsay 44d9628363 Update _developer_onboarding.md 2023-09-27 14:12:55 +01:00
ganfra a0bf000ab6 Update _developer_onboarding.md 2023-09-27 13:42:12 +02:00
kegsay 67259a8ebf Update _developer_onboarding.md 2023-09-27 12:22:09 +01:00
Benoit Marty faec5a200e ElementX -> Element X 2023-07-27 23:12:54 +02:00
Benoit Marty 28f597bd2d Fix item indentation. 2023-07-26 15:25:19 +02:00
Benoit Marty b284a34542 Update doc about Push 2023-07-26 15:24:54 +02:00
Chris Smith 99f571b4eb Search for users to start a new DM. (#376)
Search for users to start a new DM.

Hooks up the create room UI to the matrix client to get
search results. Searches are debounced for 500ms and
only executed when 3 or more characters are entered.

Wrap the result state so we can distinguish between
"no results because we haven't searched yet" and
"no results because the API returned nothing", and
add a "No results found" message in the UI for the
latter case.

Closes #95
2023-05-03 13:26:31 +00:00
Chris Smith 34cc352053 Invite list view
Adds a CTA on the room list to view invites if there are any.

The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.

Fixes #102
2023-04-19 10:20:48 +01:00
Chris Smith b98b280a3c Merge remote-tracking branch 'origin/develop' into local-sdk-fixes 2023-04-11 09:07:13 +01:00
Benoit Marty cc58c0c8c9 Add a link to a video presenting Anvil. 2023-04-05 16:18:44 +02:00
Chris Smith fa46356202 Fix using local rust aar
The rustsdk library wasn't included in the gradle build because
it still used a groovy build file (and settings.gradle includes
projects based on `build.gradle.kts` existing).

Also reword the onboarding docs slightly to clarify the deps
that need changing
2023-04-03 13:48:59 +01:00
ganfra d5bc8923b9 [Templates] changes after review 2023-03-27 17:43:02 +02:00
ganfra 61eae879d4 Share the template files and update documentation about it. 2023-03-24 17:24:06 +01:00
Benoit Marty 4930640b4c Update the graph in the doc. 2023-03-16 10:10:55 +01:00
Benoit Marty b96477bb4c Update doc about dependency upgrade. 2023-03-13 11:43:10 +01:00
Benoit Marty b0478862c1 Update the doc, mainly add formatting. 2023-03-07 12:41:02 +01:00
ganfra 96d1a7c00f Apply suggestions from code review
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-07 10:43:06 +01:00
ganfra 2beb8439e8 [Doc] add some documentation about rust-sdk 2023-03-06 21:22:35 +01:00
Benoit Marty fa226e37c7 Fix typo in the doc. 2023-02-17 11:25:07 +01:00
Benoit Marty ce7bcdff7f Add link to Appyx presentation video. 2023-02-14 18:13:05 +01:00
Benoit Marty 40399d5c37 Update documentation related to tests and naming rules. 2023-02-14 17:03:02 +01:00
Benoit Marty 616f71b440 Knit 2023-02-03 12:54:04 +01:00
ganfra 4810464af9 Add some notes about architecture 2023-01-19 18:10:05 +01:00
Benoit Marty 49db79ecad Update doc 2023-01-18 09:26:43 +01:00
Benoit Marty 976e5534ad Add some docs - lots of outdated part. 2023-01-11 17:02:56 +01:00