From 8e6db1714bcaa23571541835cc808029c64bf934 Mon Sep 17 00:00:00 2001 From: valere Date: Thu, 20 Apr 2023 09:53:48 +0200 Subject: [PATCH] Clean and update doc --- docs/rust_crypto_integration.md | 6 +++--- matrix-sdk-android/build.gradle | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/rust_crypto_integration.md b/docs/rust_crypto_integration.md index 887fac9037..aad370d80a 100644 --- a/docs/rust_crypto_integration.md +++ b/docs/rust_crypto_integration.md @@ -25,13 +25,13 @@ TLDR; Verification UI and engine has been refactored. In order to run a custom rust SDK branch you can follow the direction in the [bindings repository](https://github.com/matrix-org/matrix-rust-components-kotlin) in order to build the `matrix-rust-sdk-crypto.aar`. -Copy this lib in `library/rustCrypto/`. +Copy this lib in `library/rustCrypto/`, and rename it `matrix-rust-sdk-crypto.aar`. Then go to `matrix-sdk-android/build.gradle` and toggle the comments between the following lines. ```` -// rustCryptoImplementation files('libs/matrix-rust-sdk-crypto.aar') -rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.4") + rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.1") + // rustCryptoApi project(":library:rustCrypto") ```` ## Changes in CI diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index b85f11303e..9b5ff72f32 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -216,8 +216,6 @@ dependencies { implementation libs.google.phonenumber - // rustCryptoImplementation 'org.matrix.rustcomponents:crypto-android:0.2.1-SNAPSHOT' -// rustCryptoImplementation files('libs/matrix-rust-sdk-crypto.aar') rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.1") // rustCryptoApi project(":library:rustCrypto")