react-native 0.72.9 → 0.72.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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/promiseRejectionTrackingOptions.js +5 -0
- 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/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/helpers.rb +1 -1
- package/scripts/cocoapods/utils.rb +4 -3
- package/sdks/hermes-engine/utils/build-apple-framework.sh +3 -7
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/package.json +1 -1
|
@@ -36,6 +36,11 @@ let rejectionTrackingOptions: $Call<ExtractOptionsType, enable> = {
|
|
|
36
36
|
? rejection
|
|
37
37
|
: JSON.stringify((rejection: $FlowFixMe));
|
|
38
38
|
}
|
|
39
|
+
// It could although this object is not a standard error, it still has stack information to unwind
|
|
40
|
+
// $FlowFixMe ignore types just check if stack is there
|
|
41
|
+
if (rejection.stack && typeof rejection.stack === 'string') {
|
|
42
|
+
stack = rejection.stack;
|
|
43
|
+
}
|
|
39
44
|
}
|
|
40
45
|
|
|
41
46
|
const warning = `Possible unhandled promise rejection (id: ${id}):\n${
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@ class ReactNativePodsUtils
|
|
|
137
137
|
|
|
138
138
|
# fix for weak linking
|
|
139
139
|
self.safe_init(config, other_ld_flags_key)
|
|
140
|
-
if self.
|
|
140
|
+
if self.is_using_xcode15_0(:xcodebuild_manager => xcodebuild_manager)
|
|
141
141
|
self.add_value_to_setting_if_missing(config, other_ld_flags_key, xcode15_compatibility_flags)
|
|
142
142
|
else
|
|
143
143
|
self.remove_value_from_setting_if_present(config, other_ld_flags_key, xcode15_compatibility_flags)
|
|
@@ -321,7 +321,7 @@ class ReactNativePodsUtils
|
|
|
321
321
|
end
|
|
322
322
|
end
|
|
323
323
|
|
|
324
|
-
def self.
|
|
324
|
+
def self.is_using_xcode15_0(xcodebuild_manager: Xcodebuild)
|
|
325
325
|
xcodebuild_version = xcodebuild_manager.version
|
|
326
326
|
|
|
327
327
|
# The output of xcodebuild -version is something like
|
|
@@ -332,7 +332,8 @@ class ReactNativePodsUtils
|
|
|
332
332
|
regex = /(\d+)\.(\d+)(?:\.(\d+))?/
|
|
333
333
|
if match_data = xcodebuild_version.match(regex)
|
|
334
334
|
major = match_data[1].to_i
|
|
335
|
-
|
|
335
|
+
minor = match_data[2].to_i
|
|
336
|
+
return major == 15 && minor == 0
|
|
336
337
|
end
|
|
337
338
|
|
|
338
339
|
return false
|
|
@@ -52,13 +52,9 @@ function build_host_hermesc {
|
|
|
52
52
|
|
|
53
53
|
# Utility function to configure an Apple framework
|
|
54
54
|
function configure_apple_framework {
|
|
55
|
-
local build_cli_tools
|
|
55
|
+
local build_cli_tools enable_debugger cmake_build_type xcode_15_flags xcode_major_version
|
|
56
|
+
|
|
56
57
|
|
|
57
|
-
if [[ $1 == iphoneos || $1 == catalyst ]]; then
|
|
58
|
-
enable_bitcode="true"
|
|
59
|
-
else
|
|
60
|
-
enable_bitcode="false"
|
|
61
|
-
fi
|
|
62
58
|
if [[ $1 == macosx ]]; then
|
|
63
59
|
build_cli_tools="true"
|
|
64
60
|
else
|
|
@@ -94,7 +90,7 @@ function configure_apple_framework {
|
|
|
94
90
|
-DHERMES_ENABLE_LIBFUZZER:BOOLEAN=false \
|
|
95
91
|
-DHERMES_ENABLE_FUZZILLI:BOOLEAN=false \
|
|
96
92
|
-DHERMES_ENABLE_TEST_SUITE:BOOLEAN=false \
|
|
97
|
-
-DHERMES_ENABLE_BITCODE:BOOLEAN=
|
|
93
|
+
-DHERMES_ENABLE_BITCODE:BOOLEAN=false \
|
|
98
94
|
-DHERMES_BUILD_APPLE_FRAMEWORK:BOOLEAN=true \
|
|
99
95
|
-DHERMES_BUILD_APPLE_DSYM:BOOLEAN=true \
|
|
100
96
|
-DHERMES_ENABLE_TOOLS:BOOLEAN="$build_cli_tools" \
|
|
Binary file
|
|
Binary file
|