fix(ffi): Don't override the default package_name and cdylib_name values for Kotlin bindings

Otherwise, the bindings expect the generated JAR/AAR files to contain separate `.so` libraries for each crate
This commit is contained in:
Jorge Martín
2026-02-04 10:37:51 +01:00
committed by Jorge Martin Espinosa
parent f05e0b1b81
commit 70dd02012b
6 changed files with 2 additions and 11 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ All notable changes to this project will be documented in this file.
[this issue](https://github.com/mozilla/uniffi-rs/issues/2740)).
([#6069](https://github.com/matrix-org/matrix-rust-sdk/pull/6069),
[#6112](https://github.com/matrix-org/matrix-rust-sdk/pull/6112),
[#6115](https://github.com/matrix-org/matrix-rust-sdk/pull/6115)).
[#6115](https://github.com/matrix-org/matrix-rust-sdk/pull/6115),
[#6116](https://github.com/matrix-org/matrix-rust-sdk/pull/6116)).
- `Client::create_room` now uses `RoomPowerLevelsContentOverride` under the hood instead of
`RoomPowerLevelsEventContent` to be able to explicitly set values which would previously be
ignored if they matched the default power level values specified by the spec: these may not be
-2
View File
@@ -1,6 +1,4 @@
[bindings.kotlin]
package_name = "uniffi.matrix_sdk_base"
cdylib_name = "matrix_sdk_base"
android_cleaner = true
# Checksums are incorrectly failing for users with 32bit (and sometimes 64bit?) devices at the moment
# Remove once https://github.com/mozilla/uniffi-rs/issues/2740 is fixed or JNI is used instead of JNA
-2
View File
@@ -1,6 +1,4 @@
[bindings.kotlin]
package_name = "uniffi.matrix_sdk_common"
cdylib_name = "matrix_sdk_common"
android_cleaner = true
# Checksums are incorrectly failing for users with 32bit (and sometimes 64bit?) devices at the moment
# Remove once https://github.com/mozilla/uniffi-rs/issues/2740 is fixed or JNI is used instead of JNA
-2
View File
@@ -1,6 +1,4 @@
[bindings.kotlin]
package_name = "uniffi.matrix_sdk_crypto"
cdylib_name = "matrix_sdk_crypto"
android_cleaner = true
# Checksums are incorrectly failing for users with 32bit (and sometimes 64bit?) devices at the moment
# Remove once https://github.com/mozilla/uniffi-rs/issues/2740 is fixed or JNI is used instead of JNA
-2
View File
@@ -1,6 +1,4 @@
[bindings.kotlin]
package_name = "uniffi.matrix_sdk_ui"
cdylib_name = "matrix_sdk_ui"
android_cleaner = true
# Checksums are incorrectly failing for users with 32bit (and sometimes 64bit?) devices at the moment
# Remove once https://github.com/mozilla/uniffi-rs/issues/2740 is fixed or JNI is used instead of JNA
-2
View File
@@ -1,6 +1,4 @@
[bindings.kotlin]
package_name = "uniffi.matrix_sdk"
cdylib_name = "matrix_sdk"
android_cleaner = true
# Checksums are incorrectly failing for users with 32bit (and sometimes 64bit?) devices at the moment
# Remove once https://github.com/mozilla/uniffi-rs/issues/2740 is fixed or JNI is used instead of JNA