diff --git a/CHANGELOG.md b/CHANGELOG.md index fe5a8254f3..e9c30a0954 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * None. ### Enhancements +* Support Android 15 page size 16 KB. (Issue [#1787](https://github.com/realm/realm-kotlin/issues/1787) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1105)). * Reduce the size of the local transaction log produced by creating objects, improving the performance of insertion-heavy transactions (Core issue [realm/realm-core#7734](https://github.com/realm/realm-core/pull/7734)). * Performance has been improved for range queries on integers and timestamps. Requires that you use the "BETWEEN" operation in RQL or the Query::between() method when you build the query. (Core issue [realm/realm-core#7785](https://github.com/realm/realm-core/pull/7785)) * Updated bundled OpenSSL version to 3.3.1 (Core issue [realm/realm-core#7947](https://github.com/realm/realm-core/pull/7947)). diff --git a/packages/cinterop/src/jvm/CMakeLists.txt b/packages/cinterop/src/jvm/CMakeLists.txt index 874f7226d8..34b38838e5 100644 --- a/packages/cinterop/src/jvm/CMakeLists.txt +++ b/packages/cinterop/src/jvm/CMakeLists.txt @@ -40,6 +40,7 @@ if(ANDROID) if (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-gc-sections -Wl,--exclude-libs,ALL") endif() + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,max-page-size=16384") endif() file(GLOB jni_SRC diff --git a/packages/library-base/build.gradle.kts b/packages/library-base/build.gradle.kts index f45b9dec9a..9c75f1a6c8 100644 --- a/packages/library-base/build.gradle.kts +++ b/packages/library-base/build.gradle.kts @@ -178,6 +178,12 @@ android { buildFeatures { buildConfig = false } + + packagingOptions { + jniLibs { + useLegacyPackaging = true + } + } } realmPublish { diff --git a/packages/library-sync/build.gradle.kts b/packages/library-sync/build.gradle.kts index 9b0410eca7..779a76db52 100644 --- a/packages/library-sync/build.gradle.kts +++ b/packages/library-sync/build.gradle.kts @@ -165,6 +165,12 @@ android { buildFeatures { buildConfig = false } + + packagingOptions { + jniLibs { + useLegacyPackaging = true + } + } } realmPublish {