@taladb/react-native 0.7.8 → 0.7.10
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.
- package/android/CMakeLists.txt +5 -9
- package/android/build.gradle +2 -0
- package/android/src/main/jniLibs/arm64-v8a/libtaladb_ffi.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libtaladb_ffi.so +0 -0
- package/android/src/main/jniLibs/x86_64/libtaladb_ffi.so +0 -0
- package/ios/TalaDBFfi.xcframework/ios-arm64/libtaladb_ffi.a +0 -0
- package/ios/TalaDBFfi.xcframework/ios-arm64_x86_64-simulator/libtaladb_ffi_sim.a +0 -0
- package/package.json +1 -1
package/android/CMakeLists.txt
CHANGED
|
@@ -11,22 +11,18 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
11
11
|
# Root of the taladb-react-native package
|
|
12
12
|
get_filename_component(PACKAGE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/.." ABSOLUTE)
|
|
13
13
|
|
|
14
|
-
# Pre-built Rust static library (built by cargo ndk, copied by build.gradle)
|
|
15
|
-
set(TALADB_FFI_LIB
|
|
16
|
-
"${CMAKE_CURRENT_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}/libtaladb_ffi.so")
|
|
17
|
-
|
|
18
14
|
# ---------------------------------------------------------------------------
|
|
19
15
|
# React Native JSI headers
|
|
20
|
-
# React Native ships jsi/ headers inside node_modules — resolve from package root.
|
|
21
16
|
# ---------------------------------------------------------------------------
|
|
22
17
|
find_package(ReactAndroid REQUIRED CONFIG)
|
|
23
18
|
|
|
24
19
|
# ---------------------------------------------------------------------------
|
|
25
|
-
# taladb_ffi shared library (Rust pre-built
|
|
20
|
+
# taladb_ffi shared library (Rust pre-built)
|
|
26
21
|
# ---------------------------------------------------------------------------
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
|
|
23
|
+
# Add the directory containing libtaladb_ffi.so to the linker search path.
|
|
24
|
+
# This ensures we link by name (soname) rather than embedding a relative path.
|
|
25
|
+
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}")
|
|
30
26
|
|
|
31
27
|
# ---------------------------------------------------------------------------
|
|
32
28
|
# taladb_jsi — C++ JSI HostObject, compiled into a thin shared library that
|
package/android/build.gradle
CHANGED
|
@@ -6,6 +6,7 @@ buildscript {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
apply plugin: "com.android.library"
|
|
9
|
+
apply plugin: "kotlin-android"
|
|
9
10
|
apply plugin: "com.facebook.react"
|
|
10
11
|
|
|
11
12
|
react {
|
|
@@ -63,4 +64,5 @@ repositories {
|
|
|
63
64
|
|
|
64
65
|
dependencies {
|
|
65
66
|
implementation "com.facebook.react:react-android"
|
|
67
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:2.1.20"
|
|
66
68
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|