@json-eval-rs/react-native 0.0.29 → 0.0.32
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 +10 -1
- package/android/build.gradle +9 -4
- package/android/src/main/jniLibs/arm64-v8a/libjson_eval_rs.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libjson_eval_rs.so +0 -0
- package/android/src/main/jniLibs/x86/libjson_eval_rs.so +0 -0
- package/android/src/main/jniLibs/x86_64/libjson_eval_rs.so +0 -0
- package/ios/JsonEvalRs.xcframework/ios-arm64/libjson_eval_rs.a +0 -0
- package/ios/JsonEvalRs.xcframework/ios-arm64_x86_64-simulator/libjson_eval_rs.a +0 -0
- package/package.json +1 -1
package/android/CMakeLists.txt
CHANGED
|
@@ -58,9 +58,18 @@ target_link_libraries(
|
|
|
58
58
|
android
|
|
59
59
|
log
|
|
60
60
|
ReactAndroid::jsi
|
|
61
|
-
ReactAndroid::reactnativejni
|
|
62
61
|
)
|
|
63
62
|
|
|
63
|
+
if(TARGET ReactAndroid::reactnative)
|
|
64
|
+
message(STATUS "Linking against ReactAndroid::reactnative")
|
|
65
|
+
target_link_libraries(json_eval_rn ReactAndroid::reactnative)
|
|
66
|
+
elseif(TARGET ReactAndroid::reactnativejni)
|
|
67
|
+
message(STATUS "Linking against ReactAndroid::reactnativejni")
|
|
68
|
+
target_link_libraries(json_eval_rn ReactAndroid::reactnativejni)
|
|
69
|
+
else()
|
|
70
|
+
message(WARNING "Could not find ReactAndroid linkage target. Ensuring JSI is present.")
|
|
71
|
+
endif()
|
|
72
|
+
|
|
64
73
|
# Modern React Native (0.71+) uses prefab which properly handles shared libraries
|
|
65
74
|
# The libraries are marked as shared dependencies, not to be packaged in our module
|
|
66
75
|
# If you still see duplicate library warnings, ensure your React Native version is up to date
|
package/android/build.gradle
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
ext.kotlin_version = '1.
|
|
2
|
+
ext.kotlin_version = '1.9.24'
|
|
3
3
|
repositories {
|
|
4
4
|
google()
|
|
5
5
|
mavenCentral()
|
|
6
6
|
}
|
|
7
7
|
dependencies {
|
|
8
|
-
classpath 'com.android.tools.build:gradle:
|
|
8
|
+
classpath 'com.android.tools.build:gradle:8.2.1'
|
|
9
9
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -21,13 +21,13 @@ def safeExtGet(prop, fallback) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
android {
|
|
24
|
-
compileSdkVersion safeExtGet('compileSdkVersion',
|
|
24
|
+
compileSdkVersion safeExtGet('compileSdkVersion', 34)
|
|
25
25
|
|
|
26
26
|
namespace "com.jsonevalrs"
|
|
27
27
|
|
|
28
28
|
defaultConfig {
|
|
29
29
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
30
|
-
targetSdkVersion safeExtGet('targetSdkVersion',
|
|
30
|
+
targetSdkVersion safeExtGet('targetSdkVersion', 34)
|
|
31
31
|
|
|
32
32
|
externalNativeBuild {
|
|
33
33
|
cmake {
|
|
@@ -37,6 +37,11 @@ android {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
compileOptions {
|
|
42
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
43
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
44
|
+
}
|
|
40
45
|
|
|
41
46
|
buildFeatures {
|
|
42
47
|
prefab true
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED