react-native 0.71.2 → 0.71.3
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/jni/react/jscexecutor/CMakeLists.txt +13 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +4 -4
- package/scripts/react_native_pods.rb +2 -1
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/package.json +1 -1
package/React/Base/RCTVersion.m
CHANGED
|
@@ -13,9 +13,22 @@ add_library(jscexecutor SHARED ${jscexecutor_SRC})
|
|
|
13
13
|
|
|
14
14
|
target_include_directories(jscexecutor PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
15
15
|
|
|
16
|
+
# Patch from Expo: https://github.com/expo/react-native/blob/02714ab44d1e206fa80e81aef618e61017cccdc1/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/CMakeLists.txt#L16-L25
|
|
17
|
+
# Explicitly link libgcc.a to prevent undefined `_Unwind_Resume` symbol and crash from throwing c++ exceptions even someone tries to catch the exceptions.
|
|
18
|
+
# according to https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#unwinding,
|
|
19
|
+
# we should put the unwinder between static libs and shared libs.
|
|
20
|
+
#
|
|
21
|
+
# TODO(ncor): we don't need this patch anymore after upgrading to ndk r23
|
|
22
|
+
if(ANDROID_NDK_REVISION VERSION_LESS "23.0.0")
|
|
23
|
+
set(LIB_UNWIND gcc)
|
|
24
|
+
else()
|
|
25
|
+
set(LIB_UNWIND unwind)
|
|
26
|
+
endif()
|
|
27
|
+
|
|
16
28
|
target_link_libraries(jscexecutor
|
|
17
29
|
jsireact
|
|
18
30
|
jscruntime
|
|
31
|
+
${LIB_UNWIND}
|
|
19
32
|
fb
|
|
20
33
|
fbjni
|
|
21
34
|
folly_runtime
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.3",
|
|
4
4
|
"bin": "./cli.js",
|
|
5
5
|
"description": "A framework for building native apps using React",
|
|
6
6
|
"license": "MIT",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"event-target-shim": "^5.0.1",
|
|
121
121
|
"invariant": "^2.2.4",
|
|
122
122
|
"jest-environment-node": "^29.2.1",
|
|
123
|
-
"jsc-android": "^
|
|
123
|
+
"jsc-android": "^250231.0.0",
|
|
124
124
|
"memoize-one": "^5.0.0",
|
|
125
125
|
"metro-react-native-babel-transformer": "0.73.7",
|
|
126
126
|
"metro-runtime": "0.73.7",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"pretty-format": "^26.5.2",
|
|
131
131
|
"promise": "^8.3.0",
|
|
132
132
|
"react-devtools-core": "^4.26.1",
|
|
133
|
-
"react-native-gradle-plugin": "^0.71.
|
|
133
|
+
"react-native-gradle-plugin": "^0.71.15",
|
|
134
134
|
"react-refresh": "^0.4.0",
|
|
135
135
|
"react-shallow-renderer": "^16.15.0",
|
|
136
136
|
"regenerator-runtime": "^0.13.2",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"use-sync-external-store": "^1.0.0",
|
|
140
140
|
"whatwg-fetch": "^3.0.0",
|
|
141
141
|
"ws": "^6.2.2",
|
|
142
|
-
"react-native-codegen": "^0.71.
|
|
142
|
+
"react-native-codegen": "^0.71.5"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
145
|
"flow-bin": "^0.191.0",
|
|
@@ -209,7 +209,8 @@ def react_native_post_install(installer, react_native_path = "../node_modules/re
|
|
|
209
209
|
flipper_post_install(installer)
|
|
210
210
|
end
|
|
211
211
|
|
|
212
|
-
|
|
212
|
+
package_path = File.join(Pod::Config.instance.installation_root, react_native_path, "package.json")
|
|
213
|
+
package = JSON.parse(File.read(package_path))
|
|
213
214
|
version = package['version']
|
|
214
215
|
|
|
215
216
|
if ReactNativePodsUtils.has_pod(installer, 'hermes-engine') && is_building_hermes_from_source(version, react_native_path)
|
|
Binary file
|
|
Binary file
|