@taladb/react-native 0.11.4 → 0.11.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.
@@ -43,3 +43,15 @@ target_link_libraries(taladb_jsi
43
43
  android
44
44
  log
45
45
  )
46
+
47
+ # ---------------------------------------------------------------------------
48
+ # 16 KB page size (Android 15+)
49
+ #
50
+ # A device with 16 KB pages cannot load a shared library whose LOAD segments are
51
+ # aligned to 4 KB, and Google Play requires 16 KB support of every app targeting
52
+ # Android 15 or later. NDK r28+ links with a 16 KB max-page-size by default, but
53
+ # r27 and earlier do not — so set it here rather than inheriting whatever the
54
+ # consuming app's NDK happens to default to. The prebuilt Rust libraries are
55
+ # already aligned; this is the one object we link ourselves.
56
+ # ---------------------------------------------------------------------------
57
+ target_link_options(taladb_jsi PRIVATE "-Wl,-z,max-page-size=16384")
@@ -17,7 +17,11 @@ react {
17
17
 
18
18
  android {
19
19
  compileSdkVersion 36
20
- ndkVersion "27.1.12297006"
20
+ // Honour the consuming app's NDK when it declares one — the React Native
21
+ // template sets `ext.ndkVersion` in its root build.gradle. Pinning this
22
+ // unconditionally forced every consumer onto r27 regardless of what the rest
23
+ // of their app was built with.
24
+ ndkVersion rootProject.ext.has("ndkVersion") ? rootProject.ext.get("ndkVersion") : "27.1.12297006"
21
25
  namespace "com.taladb"
22
26
 
23
27
  buildFeatures {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taladb/react-native",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "description": "TalaDB React Native module — document and vector database via JSI HostObject",
5
5
  "main": "src/index",
6
6
  "types": "src/index.tsx",
@@ -49,7 +49,7 @@
49
49
  "react-native": "^0.83.0"
50
50
  },
51
51
  "dependencies": {
52
- "taladb": "0.11.4"
52
+ "taladb": "0.11.6"
53
53
  },
54
54
  "scripts": {
55
55
  "typecheck": "tsc --noEmit",