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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 71,
15
- patch: 2,
15
+ patch: 3,
16
16
  prerelease: null,
17
17
  };
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(71),
26
- RCTVersionPatch: @(2),
26
+ RCTVersionPatch: @(3),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.71.2
1
+ VERSION_NAME=0.71.3
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  # JVM Versions
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 71,
20
- "patch", 2,
20
+ "patch", 3,
21
21
  "prerelease", null);
22
22
  }
@@ -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
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 71;
20
- int32_t Patch = 2;
20
+ int32_t Patch = 3;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.71.2",
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": "^250230.2.1",
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.14",
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.3"
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
- package = JSON.parse(File.read(File.join(react_native_path, "package.json")))
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
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "18.2.0",
14
- "react-native": "0.71.2"
14
+ "react-native": "0.71.3"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.20.0",