react-native-update 10.39.0-beta.3 → 10.39.1
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/build.gradle +0 -5
- package/android/jni/Application.mk +1 -1
- package/android/lib/arm64-v8a/librnupdate.so +0 -0
- package/android/lib/armeabi-v7a/librnupdate.so +0 -0
- package/android/lib/x86/librnupdate.so +0 -0
- package/android/lib/x86_64/librnupdate.so +0 -0
- package/android/src/main/java/cn/reactnative/modules/update/NativeUpdateCore.java +1 -9
- package/package/harmony/pushy.har +0 -0
- package/package.json +2 -2
- package/react-native-update-10.39.0.tgz +0 -0
- package/scripts/prune-host-stl.sh +0 -6
package/android/build.gradle
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -11,19 +11,11 @@ final class NativeUpdateCore {
|
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
try {
|
|
15
|
-
System.loadLibrary("c++_shared");
|
|
16
|
-
} catch (UnsatisfiedLinkError ignored) {
|
|
17
|
-
// Fall back to the transitive dependency load path when the host app already
|
|
18
|
-
// packages libc++_shared.so but the linker has not loaded it yet.
|
|
19
|
-
}
|
|
20
|
-
|
|
21
14
|
try {
|
|
22
15
|
System.loadLibrary("rnupdate");
|
|
23
16
|
} catch (UnsatisfiedLinkError error) {
|
|
24
17
|
UnsatisfiedLinkError wrapped = new UnsatisfiedLinkError(
|
|
25
|
-
"Failed to load rnupdate
|
|
26
|
-
+ "when using the shared C++ runtime. Original error: "
|
|
18
|
+
"Failed to load rnupdate native library. Original error: "
|
|
27
19
|
+ error.getMessage());
|
|
28
20
|
wrapped.initCause(error);
|
|
29
21
|
throw wrapped;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-update",
|
|
3
|
-
"version": "10.39.
|
|
3
|
+
"version": "10.39.1",
|
|
4
4
|
"description": "react-native hot update",
|
|
5
5
|
"main": "src/index",
|
|
6
6
|
"scripts": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test": "bun test src/__tests__",
|
|
14
14
|
"test:patch-core": "./scripts/test-patch-core.sh",
|
|
15
15
|
"build:harmony-har": "node scripts/build-harmony-har.js",
|
|
16
|
-
"build:so": "bun submodule && $ANDROID_HOME/ndk/28.2.13676358/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_APPLICATION_MK=android/jni/Application.mk NDK_LIBS_OUT=android/lib
|
|
16
|
+
"build:so": "bun submodule && $ANDROID_HOME/ndk/28.2.13676358/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_APPLICATION_MK=android/jni/Application.mk NDK_LIBS_OUT=android/lib",
|
|
17
17
|
"build:ios-debug": "cd Example/testHotUpdate && bun && detox build --configuration ios.sim.debug",
|
|
18
18
|
"build:ios-release": "cd Example/testHotUpdate && bun && detox build --configuration ios.sim.release",
|
|
19
19
|
"test:ios-debug": "cd Example/testHotUpdate && E2E_PLATFORM=ios detox test --configuration ios.sim.debug",
|
|
Binary file
|