bump crypto sdk to 0.3.8
This commit is contained in:
parent
61d4e468cb
commit
1eda087233
@ -216,7 +216,7 @@ dependencies {
|
|||||||
|
|
||||||
implementation libs.google.phonenumber
|
implementation libs.google.phonenumber
|
||||||
|
|
||||||
rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.7")
|
rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.8")
|
||||||
// rustCryptoApi project(":library:rustCrypto")
|
// rustCryptoApi project(":library:rustCrypto")
|
||||||
|
|
||||||
testImplementation libs.tests.junit
|
testImplementation libs.tests.junit
|
||||||
|
@ -183,8 +183,9 @@ internal class RustCryptoService @Inject constructor(
|
|||||||
|
|
||||||
override fun getCryptoVersion(context: Context, longFormat: Boolean): String {
|
override fun getCryptoVersion(context: Context, longFormat: Boolean): String {
|
||||||
val version = org.matrix.rustcomponents.sdk.crypto.version()
|
val version = org.matrix.rustcomponents.sdk.crypto.version()
|
||||||
|
val gitHash = org.matrix.rustcomponents.sdk.crypto.versionInfo().gitSha
|
||||||
val vodozemac = org.matrix.rustcomponents.sdk.crypto.vodozemacVersion()
|
val vodozemac = org.matrix.rustcomponents.sdk.crypto.vodozemacVersion()
|
||||||
return if (longFormat) "Rust SDK $version, Vodozemac $vodozemac" else version
|
return if (longFormat) "Rust SDK $version ($gitHash), Vodozemac $vodozemac" else version
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun getMyCryptoDevice(): CryptoDeviceInfo = withContext(coroutineDispatchers.io) {
|
override suspend fun getMyCryptoDevice(): CryptoDeviceInfo = withContext(coroutineDispatchers.io) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user