@runanywhere/core 0.17.3 → 0.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,12 @@ set(PACKAGE_NAME runanywherecore)
5
5
  set(CMAKE_VERBOSE_MAKEFILE ON)
6
6
  set(CMAKE_CXX_STANDARD 20)
7
7
 
8
+ # =============================================================================
9
+ # 16KB Page Alignment for Android 15+ (API 35) Compliance
10
+ # Required starting November 1, 2025 for Google Play submissions
11
+ # =============================================================================
12
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,max-page-size=16384")
13
+
8
14
  # Path to pre-built native libraries (downloaded from runanywhere-sdks)
9
15
  set(JNILIB_DIR ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI})
10
16
 
@@ -105,5 +111,8 @@ target_link_libraries(
105
111
  target_link_libraries(${PACKAGE_NAME} rac_commons)
106
112
  target_compile_definitions(${PACKAGE_NAME} PRIVATE HAS_RACOMMONS=1)
107
113
 
114
+ # 16KB page alignment - MUST be on target for Android 15+ compliance
115
+ target_link_options(${PACKAGE_NAME} PRIVATE -Wl,-z,max-page-size=16384)
116
+
108
117
  # NOTE: No LlamaCPP or ONNX linking here
109
118
  # Those are in @runanywhere/llamacpp and @runanywhere/onnx packages respectively
@@ -19,7 +19,7 @@
19
19
  #include <string>
20
20
  #include <optional>
21
21
  #include <functional>
22
- // // #include <NitroModules/Null.hpp> // Removed - file does not exist in nitro-modules 0.31.3 // Removed - file does not exist in nitro-modules 0.31.3
22
+ // #include <NitroModules/Null.hpp> // Removed - file does not exist in nitro-modules 0.31.3
23
23
  #include <variant>
24
24
 
25
25
  namespace margelo::nitro::runanywhere {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runanywhere/core",
3
- "version": "0.17.3",
3
+ "version": "0.17.6",
4
4
  "description": "Core SDK for RunAnywhere React Native - includes RACommons bindings, native bridges, and public API",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",