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")