Commit graph

97 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
Jorge Martin Espinosa
861f268447
Replace knit with generate_toc.py (#6279) 2026-03-10 09:05:20 +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
ad8ad3d443 Add documentation to migrate from Dagger/Anvil to Metro 2025-09-05 14:37:44 +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
Benoit Marty
c61ee59528
Improve the callback uri format and customization. (#4664)
* Remove unused SUPPORT_EMAIL_ADDRESS

* Improve the callback uri format and customization.

Use io.element.android for the scheme of Oidc redirection for Element X.
For nightly the scheme will be io.element.android.nightly
For debug the scheme will be  io.element.android.debug

Element Pro is using `io.element`
2025-05-05 17:46:17 +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
Jorge Martin Espinosa
9b5b76203f
Use secret Sentry DSN value (#4210)
* Use secret Sentry DSN value.

We realised our DSN entry has been shipped along with the code and it was being used in several forks as is, resulting in wrong bug reports coming into our Sentry dashboard and making it very hard to debug actual issues in the app.
2025-01-29 13:47:06 +01:00
Benoit Marty
84a9118992 We do not require Sign-off anymore, but use CLA instead. 2024-12-13 16:10:21 +01: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
4c61e5dfa2 Remove :samples:minimal module 2024-11-14 09:06:13 +01:00
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty
65eff95335 Remove CI properties, this is not needed when publishing locally. 2024-07-02 14:40:49 +02:00
Benoit Marty
ffa4bec78c Towncrier is gone, iterate on danger checks 2024-06-27 12:02:29 +02:00
Benoit Marty
a565a0396f Remove towncrier invocation when building nightly. 2024-06-27 11:52:38 +02:00
Benoit Marty
181742b251 Add documentation and small script to test external deep links. 2024-05-02 18:48:28 +02:00
Benoit Marty
3c182a0009
Fix small typos
Co-authored-by: Jorge Martin Espinosa <jorgem@element.io>
2024-01-31 11:51:30 +01:00
Benoit Marty
969962f4bc Update recipe to install the app from a GitHub release. GitHub release now should provide a universal APK. 2024-01-31 11:16:56 +01:00
Benoit Marty
3b06576d21 Upgrade Kover to 0.7.5 2024-01-09 10:51:30 +01:00
Benoit Marty
2a3c3d842c Fix issue in doc (detected with knit 0.5.0) 2023-12-28 12:41:02 +01:00
Benoit Marty
406e641fcd Organization renaming: fix teams URL. There is no redirection on those links 2023-12-13 09:53:11 +01:00
Benoit Marty
f12f878316 Organization renaming: update text and fix link, develop branch does not exist. 2023-12-13 09:44:02 +01:00
Benoit Marty
a969528ae1 Fix issue in project name. 2023-12-13 09:42:32 +01:00
Benoit Marty
30eabd0fa2 Organization renaming: update git clone command 2023-12-13 09:42:11 +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
Marco Romano
82593367a4
Add docs for debug mitm proxying. (#1490) 2023-10-04 14:54:40 +00: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
ce12b7f3f7 Draft a documentation about the continuous integration 2023-09-06 09:23:22 +02:00
Benoit Marty
eef5aa1949
fix typo in git url.
Co-authored-by: Florian Renaud <Florian14@users.noreply.github.com>
2023-08-31 15:41:48 +02:00
Benoit Marty
7129a526b0 Iterate and reformulate after PR review. 2023-08-30 12:48:33 +02:00
Benoit Marty
eb041277a9 Grammar. 2023-08-29 11:22:14 +02:00
Benoit Marty
bbc7974442 Add documentation to explain how to install the application from a Github release. 2023-08-29 11:04:36 +02:00
Benoit Marty
6928dc6e44 Restore OIDC support. 2023-08-23 12:18:42 +02:00
Benoit Marty
8fabf6bc8d Paparazzi 1.3.1 exports failure deltas from PROJECT_ROOT/out/failures/ to BUILD_DIR/paparazzi/failures/. 2023-08-18 09:13:19 +02:00
Benoit Marty
faec5a200e ElementX -> Element X 2023-07-27 23:12:54 +02:00
Benoit Marty
7c56f80bd6 Update the recipe about screenshots recording. 2023-07-27 23:10:26 +02:00
Benoit Marty
7180e7f276 Update screenshots of the application 2023-07-26 17:15:51 +02:00