react-native 0.84.0-nightly-20251203-a5e6addc6 → 0.84.0-nightly-20251205-95cc1e767
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/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +194 -186
- package/React/Fabric/RCTSurfaceTouchHandler.mm +1 -1
- package/ReactAndroid/api/ReactAndroid.api +0 -2
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt +85 -11
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +7 -3
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyOptimizer.java +9 -91
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java +0 -2
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java +4 -23
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java +1 -3
- package/ReactAndroid/src/main/jni/CMakeLists.txt +7 -0
- package/ReactAndroid/src/main/jni/react/devsupport/CMakeLists.txt +7 -0
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jsinspector-modern/tests/TracingTest.cpp +18 -0
- package/ReactCommon/jsinspector-modern/tracing/FrameTimingSequence.h +4 -2
- package/ReactCommon/jsinspector-modern/tracing/HostTracingProfileSerializer.cpp +14 -1
- package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.cpp +28 -4
- package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.h +13 -1
- package/ReactCommon/jsinspector-modern/tracing/TracingCategory.h +11 -6
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +51 -33
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
- package/ReactCommon/react/runtime/ReactInstance.cpp +1 -1
- package/package.json +10 -10
- package/scripts/cocoapods/utils.rb +2 -0
- package/scripts/codegen/generate-artifacts-executor/generateSchemaInfos.js +7 -6
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/featureflags/ReactNativeFeatureFlags.js +6 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt +0 -32
- /package/ReactCommon/jsi/jsi/{hermes.h → hermes-interfaces.h} +0 -0
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
namespace facebook::react::jsinspector_modern::tracing {
|
|
17
17
|
|
|
18
18
|
enum class Category {
|
|
19
|
-
HiddenTimeline, /* disabled-by-default-devtools.timeline
|
|
20
|
-
JavaScriptSampling, /* disabled-by-default-v8.cpu_profiler
|
|
21
|
-
RuntimeExecution, /* v8.execute
|
|
22
|
-
Timeline, /* devtools.timeline
|
|
23
|
-
UserTiming, /* blink.user_timing
|
|
24
|
-
|
|
19
|
+
HiddenTimeline, /* disabled-by-default-devtools.timeline */
|
|
20
|
+
JavaScriptSampling, /* disabled-by-default-v8.cpu_profiler */
|
|
21
|
+
RuntimeExecution, /* v8.execute */
|
|
22
|
+
Timeline, /* devtools.timeline */
|
|
23
|
+
UserTiming, /* blink.user_timing */
|
|
24
|
+
Frame, /* disabled-by-default-devtools.timeline.frame */
|
|
25
|
+
Screenshot, /* disabled-by-default-devtools.screenshot */
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
inline std::string tracingCategoryToString(const Category &category)
|
|
@@ -37,6 +38,8 @@ inline std::string tracingCategoryToString(const Category &category)
|
|
|
37
38
|
return "disabled-by-default-v8.cpu_profiler";
|
|
38
39
|
case Category::RuntimeExecution:
|
|
39
40
|
return "v8.execute";
|
|
41
|
+
case Category::Frame:
|
|
42
|
+
return "disabled-by-default-devtools.timeline.frame";
|
|
40
43
|
case Category::Screenshot:
|
|
41
44
|
return "disabled-by-default-devtools.screenshot";
|
|
42
45
|
default:
|
|
@@ -57,6 +60,8 @@ inline std::optional<Category> getTracingCategoryFromString(const std::string &s
|
|
|
57
60
|
return Category::JavaScriptSampling;
|
|
58
61
|
} else if (str == "v8.execute") {
|
|
59
62
|
return Category::RuntimeExecution;
|
|
63
|
+
} else if (str == "disabled-by-default-devtools.timeline.frame") {
|
|
64
|
+
return Category::Frame;
|
|
60
65
|
} else if (str == "disabled-by-default-devtools.screenshot") {
|
|
61
66
|
return Category::Screenshot;
|
|
62
67
|
} else {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<08d50062a88a227aa8800e549b6dfe57>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -254,6 +254,10 @@ bool ReactNativeFeatureFlags::fixMappingOfEventPrioritiesBetweenFabricAndReact()
|
|
|
254
254
|
return getAccessor().fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
+
bool ReactNativeFeatureFlags::fixTextClippingAndroid15useBoundsForWidth() {
|
|
258
|
+
return getAccessor().fixTextClippingAndroid15useBoundsForWidth();
|
|
259
|
+
}
|
|
260
|
+
|
|
257
261
|
bool ReactNativeFeatureFlags::fuseboxAssertSingleHostState() {
|
|
258
262
|
return getAccessor().fuseboxAssertSingleHostState();
|
|
259
263
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<4f6913d92515fd817a167ef2a505c777>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -324,6 +324,11 @@ class ReactNativeFeatureFlags {
|
|
|
324
324
|
*/
|
|
325
325
|
RN_EXPORT static bool fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
326
326
|
|
|
327
|
+
/**
|
|
328
|
+
* Fix text clipping starting in Android 15 due to usage of useBoundsForWidth
|
|
329
|
+
*/
|
|
330
|
+
RN_EXPORT static bool fixTextClippingAndroid15useBoundsForWidth();
|
|
331
|
+
|
|
327
332
|
/**
|
|
328
333
|
* Enable system assertion validating that Fusebox is configured with a single host. When set, the CDP backend will dynamically disable features (Perf and Network) in the event that multiple hosts are registered (undefined behaviour), and broadcast this over `ReactNativeApplication.systemStateChanged`.
|
|
329
334
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<c9a7ba46b550596ced6dfea4eb224ff4>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1055,6 +1055,24 @@ bool ReactNativeFeatureFlagsAccessor::fixMappingOfEventPrioritiesBetweenFabricAn
|
|
|
1055
1055
|
return flagValue.value();
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
bool ReactNativeFeatureFlagsAccessor::fixTextClippingAndroid15useBoundsForWidth() {
|
|
1059
|
+
auto flagValue = fixTextClippingAndroid15useBoundsForWidth_.load();
|
|
1060
|
+
|
|
1061
|
+
if (!flagValue.has_value()) {
|
|
1062
|
+
// This block is not exclusive but it is not necessary.
|
|
1063
|
+
// If multiple threads try to initialize the feature flag, we would only
|
|
1064
|
+
// be accessing the provider multiple times but the end state of this
|
|
1065
|
+
// instance and the returned flag value would be the same.
|
|
1066
|
+
|
|
1067
|
+
markFlagAsAccessed(57, "fixTextClippingAndroid15useBoundsForWidth");
|
|
1068
|
+
|
|
1069
|
+
flagValue = currentProvider_->fixTextClippingAndroid15useBoundsForWidth();
|
|
1070
|
+
fixTextClippingAndroid15useBoundsForWidth_ = flagValue;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
return flagValue.value();
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1058
1076
|
bool ReactNativeFeatureFlagsAccessor::fuseboxAssertSingleHostState() {
|
|
1059
1077
|
auto flagValue = fuseboxAssertSingleHostState_.load();
|
|
1060
1078
|
|
|
@@ -1064,7 +1082,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxAssertSingleHostState() {
|
|
|
1064
1082
|
// be accessing the provider multiple times but the end state of this
|
|
1065
1083
|
// instance and the returned flag value would be the same.
|
|
1066
1084
|
|
|
1067
|
-
markFlagAsAccessed(
|
|
1085
|
+
markFlagAsAccessed(58, "fuseboxAssertSingleHostState");
|
|
1068
1086
|
|
|
1069
1087
|
flagValue = currentProvider_->fuseboxAssertSingleHostState();
|
|
1070
1088
|
fuseboxAssertSingleHostState_ = flagValue;
|
|
@@ -1082,7 +1100,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxEnabledRelease() {
|
|
|
1082
1100
|
// be accessing the provider multiple times but the end state of this
|
|
1083
1101
|
// instance and the returned flag value would be the same.
|
|
1084
1102
|
|
|
1085
|
-
markFlagAsAccessed(
|
|
1103
|
+
markFlagAsAccessed(59, "fuseboxEnabledRelease");
|
|
1086
1104
|
|
|
1087
1105
|
flagValue = currentProvider_->fuseboxEnabledRelease();
|
|
1088
1106
|
fuseboxEnabledRelease_ = flagValue;
|
|
@@ -1100,7 +1118,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxNetworkInspectionEnabled() {
|
|
|
1100
1118
|
// be accessing the provider multiple times but the end state of this
|
|
1101
1119
|
// instance and the returned flag value would be the same.
|
|
1102
1120
|
|
|
1103
|
-
markFlagAsAccessed(
|
|
1121
|
+
markFlagAsAccessed(60, "fuseboxNetworkInspectionEnabled");
|
|
1104
1122
|
|
|
1105
1123
|
flagValue = currentProvider_->fuseboxNetworkInspectionEnabled();
|
|
1106
1124
|
fuseboxNetworkInspectionEnabled_ = flagValue;
|
|
@@ -1118,7 +1136,7 @@ bool ReactNativeFeatureFlagsAccessor::hideOffscreenVirtualViewsOnIOS() {
|
|
|
1118
1136
|
// be accessing the provider multiple times but the end state of this
|
|
1119
1137
|
// instance and the returned flag value would be the same.
|
|
1120
1138
|
|
|
1121
|
-
markFlagAsAccessed(
|
|
1139
|
+
markFlagAsAccessed(61, "hideOffscreenVirtualViewsOnIOS");
|
|
1122
1140
|
|
|
1123
1141
|
flagValue = currentProvider_->hideOffscreenVirtualViewsOnIOS();
|
|
1124
1142
|
hideOffscreenVirtualViewsOnIOS_ = flagValue;
|
|
@@ -1136,7 +1154,7 @@ bool ReactNativeFeatureFlagsAccessor::overrideBySynchronousMountPropsAtMountingA
|
|
|
1136
1154
|
// be accessing the provider multiple times but the end state of this
|
|
1137
1155
|
// instance and the returned flag value would be the same.
|
|
1138
1156
|
|
|
1139
|
-
markFlagAsAccessed(
|
|
1157
|
+
markFlagAsAccessed(62, "overrideBySynchronousMountPropsAtMountingAndroid");
|
|
1140
1158
|
|
|
1141
1159
|
flagValue = currentProvider_->overrideBySynchronousMountPropsAtMountingAndroid();
|
|
1142
1160
|
overrideBySynchronousMountPropsAtMountingAndroid_ = flagValue;
|
|
@@ -1154,7 +1172,7 @@ bool ReactNativeFeatureFlagsAccessor::perfIssuesEnabled() {
|
|
|
1154
1172
|
// be accessing the provider multiple times but the end state of this
|
|
1155
1173
|
// instance and the returned flag value would be the same.
|
|
1156
1174
|
|
|
1157
|
-
markFlagAsAccessed(
|
|
1175
|
+
markFlagAsAccessed(63, "perfIssuesEnabled");
|
|
1158
1176
|
|
|
1159
1177
|
flagValue = currentProvider_->perfIssuesEnabled();
|
|
1160
1178
|
perfIssuesEnabled_ = flagValue;
|
|
@@ -1172,7 +1190,7 @@ bool ReactNativeFeatureFlagsAccessor::perfMonitorV2Enabled() {
|
|
|
1172
1190
|
// be accessing the provider multiple times but the end state of this
|
|
1173
1191
|
// instance and the returned flag value would be the same.
|
|
1174
1192
|
|
|
1175
|
-
markFlagAsAccessed(
|
|
1193
|
+
markFlagAsAccessed(64, "perfMonitorV2Enabled");
|
|
1176
1194
|
|
|
1177
1195
|
flagValue = currentProvider_->perfMonitorV2Enabled();
|
|
1178
1196
|
perfMonitorV2Enabled_ = flagValue;
|
|
@@ -1190,7 +1208,7 @@ double ReactNativeFeatureFlagsAccessor::preparedTextCacheSize() {
|
|
|
1190
1208
|
// be accessing the provider multiple times but the end state of this
|
|
1191
1209
|
// instance and the returned flag value would be the same.
|
|
1192
1210
|
|
|
1193
|
-
markFlagAsAccessed(
|
|
1211
|
+
markFlagAsAccessed(65, "preparedTextCacheSize");
|
|
1194
1212
|
|
|
1195
1213
|
flagValue = currentProvider_->preparedTextCacheSize();
|
|
1196
1214
|
preparedTextCacheSize_ = flagValue;
|
|
@@ -1208,7 +1226,7 @@ bool ReactNativeFeatureFlagsAccessor::preventShadowTreeCommitExhaustion() {
|
|
|
1208
1226
|
// be accessing the provider multiple times but the end state of this
|
|
1209
1227
|
// instance and the returned flag value would be the same.
|
|
1210
1228
|
|
|
1211
|
-
markFlagAsAccessed(
|
|
1229
|
+
markFlagAsAccessed(66, "preventShadowTreeCommitExhaustion");
|
|
1212
1230
|
|
|
1213
1231
|
flagValue = currentProvider_->preventShadowTreeCommitExhaustion();
|
|
1214
1232
|
preventShadowTreeCommitExhaustion_ = flagValue;
|
|
@@ -1226,7 +1244,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldPressibilityUseW3CPointerEventsForHo
|
|
|
1226
1244
|
// be accessing the provider multiple times but the end state of this
|
|
1227
1245
|
// instance and the returned flag value would be the same.
|
|
1228
1246
|
|
|
1229
|
-
markFlagAsAccessed(
|
|
1247
|
+
markFlagAsAccessed(67, "shouldPressibilityUseW3CPointerEventsForHover");
|
|
1230
1248
|
|
|
1231
1249
|
flagValue = currentProvider_->shouldPressibilityUseW3CPointerEventsForHover();
|
|
1232
1250
|
shouldPressibilityUseW3CPointerEventsForHover_ = flagValue;
|
|
@@ -1244,7 +1262,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldResetClickableWhenRecyclingView() {
|
|
|
1244
1262
|
// be accessing the provider multiple times but the end state of this
|
|
1245
1263
|
// instance and the returned flag value would be the same.
|
|
1246
1264
|
|
|
1247
|
-
markFlagAsAccessed(
|
|
1265
|
+
markFlagAsAccessed(68, "shouldResetClickableWhenRecyclingView");
|
|
1248
1266
|
|
|
1249
1267
|
flagValue = currentProvider_->shouldResetClickableWhenRecyclingView();
|
|
1250
1268
|
shouldResetClickableWhenRecyclingView_ = flagValue;
|
|
@@ -1262,7 +1280,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldResetOnClickListenerWhenRecyclingVie
|
|
|
1262
1280
|
// be accessing the provider multiple times but the end state of this
|
|
1263
1281
|
// instance and the returned flag value would be the same.
|
|
1264
1282
|
|
|
1265
|
-
markFlagAsAccessed(
|
|
1283
|
+
markFlagAsAccessed(69, "shouldResetOnClickListenerWhenRecyclingView");
|
|
1266
1284
|
|
|
1267
1285
|
flagValue = currentProvider_->shouldResetOnClickListenerWhenRecyclingView();
|
|
1268
1286
|
shouldResetOnClickListenerWhenRecyclingView_ = flagValue;
|
|
@@ -1280,7 +1298,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldSetEnabledBasedOnAccessibilityState(
|
|
|
1280
1298
|
// be accessing the provider multiple times but the end state of this
|
|
1281
1299
|
// instance and the returned flag value would be the same.
|
|
1282
1300
|
|
|
1283
|
-
markFlagAsAccessed(
|
|
1301
|
+
markFlagAsAccessed(70, "shouldSetEnabledBasedOnAccessibilityState");
|
|
1284
1302
|
|
|
1285
1303
|
flagValue = currentProvider_->shouldSetEnabledBasedOnAccessibilityState();
|
|
1286
1304
|
shouldSetEnabledBasedOnAccessibilityState_ = flagValue;
|
|
@@ -1298,7 +1316,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldSetIsClickableByDefault() {
|
|
|
1298
1316
|
// be accessing the provider multiple times but the end state of this
|
|
1299
1317
|
// instance and the returned flag value would be the same.
|
|
1300
1318
|
|
|
1301
|
-
markFlagAsAccessed(
|
|
1319
|
+
markFlagAsAccessed(71, "shouldSetIsClickableByDefault");
|
|
1302
1320
|
|
|
1303
1321
|
flagValue = currentProvider_->shouldSetIsClickableByDefault();
|
|
1304
1322
|
shouldSetIsClickableByDefault_ = flagValue;
|
|
@@ -1316,7 +1334,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldTriggerResponderTransferOnScrollAndr
|
|
|
1316
1334
|
// be accessing the provider multiple times but the end state of this
|
|
1317
1335
|
// instance and the returned flag value would be the same.
|
|
1318
1336
|
|
|
1319
|
-
markFlagAsAccessed(
|
|
1337
|
+
markFlagAsAccessed(72, "shouldTriggerResponderTransferOnScrollAndroid");
|
|
1320
1338
|
|
|
1321
1339
|
flagValue = currentProvider_->shouldTriggerResponderTransferOnScrollAndroid();
|
|
1322
1340
|
shouldTriggerResponderTransferOnScrollAndroid_ = flagValue;
|
|
@@ -1334,7 +1352,7 @@ bool ReactNativeFeatureFlagsAccessor::skipActivityIdentityAssertionOnHostPause()
|
|
|
1334
1352
|
// be accessing the provider multiple times but the end state of this
|
|
1335
1353
|
// instance and the returned flag value would be the same.
|
|
1336
1354
|
|
|
1337
|
-
markFlagAsAccessed(
|
|
1355
|
+
markFlagAsAccessed(73, "skipActivityIdentityAssertionOnHostPause");
|
|
1338
1356
|
|
|
1339
1357
|
flagValue = currentProvider_->skipActivityIdentityAssertionOnHostPause();
|
|
1340
1358
|
skipActivityIdentityAssertionOnHostPause_ = flagValue;
|
|
@@ -1352,7 +1370,7 @@ bool ReactNativeFeatureFlagsAccessor::traceTurboModulePromiseRejectionsOnAndroid
|
|
|
1352
1370
|
// be accessing the provider multiple times but the end state of this
|
|
1353
1371
|
// instance and the returned flag value would be the same.
|
|
1354
1372
|
|
|
1355
|
-
markFlagAsAccessed(
|
|
1373
|
+
markFlagAsAccessed(74, "traceTurboModulePromiseRejectionsOnAndroid");
|
|
1356
1374
|
|
|
1357
1375
|
flagValue = currentProvider_->traceTurboModulePromiseRejectionsOnAndroid();
|
|
1358
1376
|
traceTurboModulePromiseRejectionsOnAndroid_ = flagValue;
|
|
@@ -1370,7 +1388,7 @@ bool ReactNativeFeatureFlagsAccessor::updateRuntimeShadowNodeReferencesOnCommit(
|
|
|
1370
1388
|
// be accessing the provider multiple times but the end state of this
|
|
1371
1389
|
// instance and the returned flag value would be the same.
|
|
1372
1390
|
|
|
1373
|
-
markFlagAsAccessed(
|
|
1391
|
+
markFlagAsAccessed(75, "updateRuntimeShadowNodeReferencesOnCommit");
|
|
1374
1392
|
|
|
1375
1393
|
flagValue = currentProvider_->updateRuntimeShadowNodeReferencesOnCommit();
|
|
1376
1394
|
updateRuntimeShadowNodeReferencesOnCommit_ = flagValue;
|
|
@@ -1388,7 +1406,7 @@ bool ReactNativeFeatureFlagsAccessor::useAlwaysAvailableJSErrorHandling() {
|
|
|
1388
1406
|
// be accessing the provider multiple times but the end state of this
|
|
1389
1407
|
// instance and the returned flag value would be the same.
|
|
1390
1408
|
|
|
1391
|
-
markFlagAsAccessed(
|
|
1409
|
+
markFlagAsAccessed(76, "useAlwaysAvailableJSErrorHandling");
|
|
1392
1410
|
|
|
1393
1411
|
flagValue = currentProvider_->useAlwaysAvailableJSErrorHandling();
|
|
1394
1412
|
useAlwaysAvailableJSErrorHandling_ = flagValue;
|
|
@@ -1406,7 +1424,7 @@ bool ReactNativeFeatureFlagsAccessor::useFabricInterop() {
|
|
|
1406
1424
|
// be accessing the provider multiple times but the end state of this
|
|
1407
1425
|
// instance and the returned flag value would be the same.
|
|
1408
1426
|
|
|
1409
|
-
markFlagAsAccessed(
|
|
1427
|
+
markFlagAsAccessed(77, "useFabricInterop");
|
|
1410
1428
|
|
|
1411
1429
|
flagValue = currentProvider_->useFabricInterop();
|
|
1412
1430
|
useFabricInterop_ = flagValue;
|
|
@@ -1424,7 +1442,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeEqualsInNativeReadableArrayAndroi
|
|
|
1424
1442
|
// be accessing the provider multiple times but the end state of this
|
|
1425
1443
|
// instance and the returned flag value would be the same.
|
|
1426
1444
|
|
|
1427
|
-
markFlagAsAccessed(
|
|
1445
|
+
markFlagAsAccessed(78, "useNativeEqualsInNativeReadableArrayAndroid");
|
|
1428
1446
|
|
|
1429
1447
|
flagValue = currentProvider_->useNativeEqualsInNativeReadableArrayAndroid();
|
|
1430
1448
|
useNativeEqualsInNativeReadableArrayAndroid_ = flagValue;
|
|
@@ -1442,7 +1460,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeTransformHelperAndroid() {
|
|
|
1442
1460
|
// be accessing the provider multiple times but the end state of this
|
|
1443
1461
|
// instance and the returned flag value would be the same.
|
|
1444
1462
|
|
|
1445
|
-
markFlagAsAccessed(
|
|
1463
|
+
markFlagAsAccessed(79, "useNativeTransformHelperAndroid");
|
|
1446
1464
|
|
|
1447
1465
|
flagValue = currentProvider_->useNativeTransformHelperAndroid();
|
|
1448
1466
|
useNativeTransformHelperAndroid_ = flagValue;
|
|
@@ -1460,7 +1478,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeViewConfigsInBridgelessMode() {
|
|
|
1460
1478
|
// be accessing the provider multiple times but the end state of this
|
|
1461
1479
|
// instance and the returned flag value would be the same.
|
|
1462
1480
|
|
|
1463
|
-
markFlagAsAccessed(
|
|
1481
|
+
markFlagAsAccessed(80, "useNativeViewConfigsInBridgelessMode");
|
|
1464
1482
|
|
|
1465
1483
|
flagValue = currentProvider_->useNativeViewConfigsInBridgelessMode();
|
|
1466
1484
|
useNativeViewConfigsInBridgelessMode_ = flagValue;
|
|
@@ -1478,7 +1496,7 @@ bool ReactNativeFeatureFlagsAccessor::useRawPropsJsiValue() {
|
|
|
1478
1496
|
// be accessing the provider multiple times but the end state of this
|
|
1479
1497
|
// instance and the returned flag value would be the same.
|
|
1480
1498
|
|
|
1481
|
-
markFlagAsAccessed(
|
|
1499
|
+
markFlagAsAccessed(81, "useRawPropsJsiValue");
|
|
1482
1500
|
|
|
1483
1501
|
flagValue = currentProvider_->useRawPropsJsiValue();
|
|
1484
1502
|
useRawPropsJsiValue_ = flagValue;
|
|
@@ -1496,7 +1514,7 @@ bool ReactNativeFeatureFlagsAccessor::useShadowNodeStateOnClone() {
|
|
|
1496
1514
|
// be accessing the provider multiple times but the end state of this
|
|
1497
1515
|
// instance and the returned flag value would be the same.
|
|
1498
1516
|
|
|
1499
|
-
markFlagAsAccessed(
|
|
1517
|
+
markFlagAsAccessed(82, "useShadowNodeStateOnClone");
|
|
1500
1518
|
|
|
1501
1519
|
flagValue = currentProvider_->useShadowNodeStateOnClone();
|
|
1502
1520
|
useShadowNodeStateOnClone_ = flagValue;
|
|
@@ -1514,7 +1532,7 @@ bool ReactNativeFeatureFlagsAccessor::useSharedAnimatedBackend() {
|
|
|
1514
1532
|
// be accessing the provider multiple times but the end state of this
|
|
1515
1533
|
// instance and the returned flag value would be the same.
|
|
1516
1534
|
|
|
1517
|
-
markFlagAsAccessed(
|
|
1535
|
+
markFlagAsAccessed(83, "useSharedAnimatedBackend");
|
|
1518
1536
|
|
|
1519
1537
|
flagValue = currentProvider_->useSharedAnimatedBackend();
|
|
1520
1538
|
useSharedAnimatedBackend_ = flagValue;
|
|
@@ -1532,7 +1550,7 @@ bool ReactNativeFeatureFlagsAccessor::useTraitHiddenOnAndroid() {
|
|
|
1532
1550
|
// be accessing the provider multiple times but the end state of this
|
|
1533
1551
|
// instance and the returned flag value would be the same.
|
|
1534
1552
|
|
|
1535
|
-
markFlagAsAccessed(
|
|
1553
|
+
markFlagAsAccessed(84, "useTraitHiddenOnAndroid");
|
|
1536
1554
|
|
|
1537
1555
|
flagValue = currentProvider_->useTraitHiddenOnAndroid();
|
|
1538
1556
|
useTraitHiddenOnAndroid_ = flagValue;
|
|
@@ -1550,7 +1568,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModuleInterop() {
|
|
|
1550
1568
|
// be accessing the provider multiple times but the end state of this
|
|
1551
1569
|
// instance and the returned flag value would be the same.
|
|
1552
1570
|
|
|
1553
|
-
markFlagAsAccessed(
|
|
1571
|
+
markFlagAsAccessed(85, "useTurboModuleInterop");
|
|
1554
1572
|
|
|
1555
1573
|
flagValue = currentProvider_->useTurboModuleInterop();
|
|
1556
1574
|
useTurboModuleInterop_ = flagValue;
|
|
@@ -1568,7 +1586,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModules() {
|
|
|
1568
1586
|
// be accessing the provider multiple times but the end state of this
|
|
1569
1587
|
// instance and the returned flag value would be the same.
|
|
1570
1588
|
|
|
1571
|
-
markFlagAsAccessed(
|
|
1589
|
+
markFlagAsAccessed(86, "useTurboModules");
|
|
1572
1590
|
|
|
1573
1591
|
flagValue = currentProvider_->useTurboModules();
|
|
1574
1592
|
useTurboModules_ = flagValue;
|
|
@@ -1586,7 +1604,7 @@ double ReactNativeFeatureFlagsAccessor::viewCullingOutsetRatio() {
|
|
|
1586
1604
|
// be accessing the provider multiple times but the end state of this
|
|
1587
1605
|
// instance and the returned flag value would be the same.
|
|
1588
1606
|
|
|
1589
|
-
markFlagAsAccessed(
|
|
1607
|
+
markFlagAsAccessed(87, "viewCullingOutsetRatio");
|
|
1590
1608
|
|
|
1591
1609
|
flagValue = currentProvider_->viewCullingOutsetRatio();
|
|
1592
1610
|
viewCullingOutsetRatio_ = flagValue;
|
|
@@ -1604,7 +1622,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewHysteresisRatio() {
|
|
|
1604
1622
|
// be accessing the provider multiple times but the end state of this
|
|
1605
1623
|
// instance and the returned flag value would be the same.
|
|
1606
1624
|
|
|
1607
|
-
markFlagAsAccessed(
|
|
1625
|
+
markFlagAsAccessed(88, "virtualViewHysteresisRatio");
|
|
1608
1626
|
|
|
1609
1627
|
flagValue = currentProvider_->virtualViewHysteresisRatio();
|
|
1610
1628
|
virtualViewHysteresisRatio_ = flagValue;
|
|
@@ -1622,7 +1640,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewPrerenderRatio() {
|
|
|
1622
1640
|
// be accessing the provider multiple times but the end state of this
|
|
1623
1641
|
// instance and the returned flag value would be the same.
|
|
1624
1642
|
|
|
1625
|
-
markFlagAsAccessed(
|
|
1643
|
+
markFlagAsAccessed(89, "virtualViewPrerenderRatio");
|
|
1626
1644
|
|
|
1627
1645
|
flagValue = currentProvider_->virtualViewPrerenderRatio();
|
|
1628
1646
|
virtualViewPrerenderRatio_ = flagValue;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<1bcf3e91c74400c90689e350fab7b4ce>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -89,6 +89,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
89
89
|
bool enableVirtualViewWindowFocusDetection();
|
|
90
90
|
bool enableWebPerformanceAPIsByDefault();
|
|
91
91
|
bool fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
92
|
+
bool fixTextClippingAndroid15useBoundsForWidth();
|
|
92
93
|
bool fuseboxAssertSingleHostState();
|
|
93
94
|
bool fuseboxEnabledRelease();
|
|
94
95
|
bool fuseboxNetworkInspectionEnabled();
|
|
@@ -132,7 +133,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
132
133
|
std::unique_ptr<ReactNativeFeatureFlagsProvider> currentProvider_;
|
|
133
134
|
bool wasOverridden_;
|
|
134
135
|
|
|
135
|
-
std::array<std::atomic<const char*>,
|
|
136
|
+
std::array<std::atomic<const char*>, 90> accessedFeatureFlags_;
|
|
136
137
|
|
|
137
138
|
std::atomic<std::optional<bool>> commonTestFlag_;
|
|
138
139
|
std::atomic<std::optional<bool>> cdpInteractionMetricsEnabled_;
|
|
@@ -191,6 +192,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
191
192
|
std::atomic<std::optional<bool>> enableVirtualViewWindowFocusDetection_;
|
|
192
193
|
std::atomic<std::optional<bool>> enableWebPerformanceAPIsByDefault_;
|
|
193
194
|
std::atomic<std::optional<bool>> fixMappingOfEventPrioritiesBetweenFabricAndReact_;
|
|
195
|
+
std::atomic<std::optional<bool>> fixTextClippingAndroid15useBoundsForWidth_;
|
|
194
196
|
std::atomic<std::optional<bool>> fuseboxAssertSingleHostState_;
|
|
195
197
|
std::atomic<std::optional<bool>> fuseboxEnabledRelease_;
|
|
196
198
|
std::atomic<std::optional<bool>> fuseboxNetworkInspectionEnabled_;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<5586a2963cb339f4d5241c790da60d62>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -255,6 +255,10 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
|
|
|
255
255
|
return false;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
bool fixTextClippingAndroid15useBoundsForWidth() override {
|
|
259
|
+
return false;
|
|
260
|
+
}
|
|
261
|
+
|
|
258
262
|
bool fuseboxAssertSingleHostState() override {
|
|
259
263
|
return true;
|
|
260
264
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<543338d7b54991244389bca238b2078d>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -558,6 +558,15 @@ class ReactNativeFeatureFlagsDynamicProvider : public ReactNativeFeatureFlagsDef
|
|
|
558
558
|
return ReactNativeFeatureFlagsDefaults::fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
+
bool fixTextClippingAndroid15useBoundsForWidth() override {
|
|
562
|
+
auto value = values_["fixTextClippingAndroid15useBoundsForWidth"];
|
|
563
|
+
if (!value.isNull()) {
|
|
564
|
+
return value.getBool();
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
return ReactNativeFeatureFlagsDefaults::fixTextClippingAndroid15useBoundsForWidth();
|
|
568
|
+
}
|
|
569
|
+
|
|
561
570
|
bool fuseboxAssertSingleHostState() override {
|
|
562
571
|
auto value = values_["fuseboxAssertSingleHostState"];
|
|
563
572
|
if (!value.isNull()) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<4c2b82eb2fc7f82b09b7b0b489f3d447>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -82,6 +82,7 @@ class ReactNativeFeatureFlagsProvider {
|
|
|
82
82
|
virtual bool enableVirtualViewWindowFocusDetection() = 0;
|
|
83
83
|
virtual bool enableWebPerformanceAPIsByDefault() = 0;
|
|
84
84
|
virtual bool fixMappingOfEventPrioritiesBetweenFabricAndReact() = 0;
|
|
85
|
+
virtual bool fixTextClippingAndroid15useBoundsForWidth() = 0;
|
|
85
86
|
virtual bool fuseboxAssertSingleHostState() = 0;
|
|
86
87
|
virtual bool fuseboxEnabledRelease() = 0;
|
|
87
88
|
virtual bool fuseboxNetworkInspectionEnabled() = 0;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<f22bdf728cccaf9d95e62256f630ee1b>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -329,6 +329,11 @@ bool NativeReactNativeFeatureFlags::fixMappingOfEventPrioritiesBetweenFabricAndR
|
|
|
329
329
|
return ReactNativeFeatureFlags::fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
+
bool NativeReactNativeFeatureFlags::fixTextClippingAndroid15useBoundsForWidth(
|
|
333
|
+
jsi::Runtime& /*runtime*/) {
|
|
334
|
+
return ReactNativeFeatureFlags::fixTextClippingAndroid15useBoundsForWidth();
|
|
335
|
+
}
|
|
336
|
+
|
|
332
337
|
bool NativeReactNativeFeatureFlags::fuseboxAssertSingleHostState(
|
|
333
338
|
jsi::Runtime& /*runtime*/) {
|
|
334
339
|
return ReactNativeFeatureFlags::fuseboxAssertSingleHostState();
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<3caa7ab068af35b4b198bce5925dea1d>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -150,6 +150,8 @@ class NativeReactNativeFeatureFlags
|
|
|
150
150
|
|
|
151
151
|
bool fixMappingOfEventPrioritiesBetweenFabricAndReact(jsi::Runtime& runtime);
|
|
152
152
|
|
|
153
|
+
bool fixTextClippingAndroid15useBoundsForWidth(jsi::Runtime& runtime);
|
|
154
|
+
|
|
153
155
|
bool fuseboxAssertSingleHostState(jsi::Runtime& runtime);
|
|
154
156
|
|
|
155
157
|
bool fuseboxEnabledRelease(jsi::Runtime& runtime);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
#include <cxxreact/TraceSection.h>
|
|
16
16
|
#include <glog/logging.h>
|
|
17
17
|
#include <jsi/JSIDynamic.h>
|
|
18
|
-
#include <jsi/hermes.h>
|
|
18
|
+
#include <jsi/hermes-interfaces.h>
|
|
19
19
|
#include <jsi/instrumentation.h>
|
|
20
20
|
#include <jsinspector-modern/HostTarget.h>
|
|
21
21
|
#include <react/featureflags/ReactNativeFeatureFlags.h>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.84.0-nightly-
|
|
3
|
+
"version": "0.84.0-nightly-20251205-95cc1e767",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
},
|
|
161
161
|
"dependencies": {
|
|
162
162
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
163
|
-
"@react-native/assets-registry": "0.84.0-nightly-
|
|
164
|
-
"@react-native/codegen": "0.84.0-nightly-
|
|
165
|
-
"@react-native/community-cli-plugin": "0.84.0-nightly-
|
|
166
|
-
"@react-native/gradle-plugin": "0.84.0-nightly-
|
|
167
|
-
"@react-native/js-polyfills": "0.84.0-nightly-
|
|
168
|
-
"@react-native/normalize-colors": "0.84.0-nightly-
|
|
169
|
-
"@react-native/virtualized-lists": "0.84.0-nightly-
|
|
163
|
+
"@react-native/assets-registry": "0.84.0-nightly-20251205-95cc1e767",
|
|
164
|
+
"@react-native/codegen": "0.84.0-nightly-20251205-95cc1e767",
|
|
165
|
+
"@react-native/community-cli-plugin": "0.84.0-nightly-20251205-95cc1e767",
|
|
166
|
+
"@react-native/gradle-plugin": "0.84.0-nightly-20251205-95cc1e767",
|
|
167
|
+
"@react-native/js-polyfills": "0.84.0-nightly-20251205-95cc1e767",
|
|
168
|
+
"@react-native/normalize-colors": "0.84.0-nightly-20251205-95cc1e767",
|
|
169
|
+
"@react-native/virtualized-lists": "0.84.0-nightly-20251205-95cc1e767",
|
|
170
170
|
"abort-controller": "^3.0.0",
|
|
171
171
|
"anser": "^1.4.9",
|
|
172
172
|
"ansi-regex": "^5.0.0",
|
|
@@ -175,8 +175,7 @@
|
|
|
175
175
|
"base64-js": "^1.5.1",
|
|
176
176
|
"commander": "^12.0.0",
|
|
177
177
|
"flow-enums-runtime": "^0.0.6",
|
|
178
|
-
"
|
|
179
|
-
"hermes-compiler": "0.14.0-commitly-202512022111-b17bcdb50",
|
|
178
|
+
"hermes-compiler": "0.14.0-commitly-202512030604-3713fb12a",
|
|
180
179
|
"invariant": "^2.2.4",
|
|
181
180
|
"jest-environment-node": "^29.7.0",
|
|
182
181
|
"memoize-one": "^5.0.0",
|
|
@@ -191,6 +190,7 @@
|
|
|
191
190
|
"scheduler": "0.27.0",
|
|
192
191
|
"semver": "^7.1.3",
|
|
193
192
|
"stacktrace-parser": "^0.1.10",
|
|
193
|
+
"tinyglobby": "^0.2.15",
|
|
194
194
|
"whatwg-fetch": "^3.0.0",
|
|
195
195
|
"ws": "^7.5.10",
|
|
196
196
|
"yargs": "^17.6.2"
|
|
@@ -58,9 +58,11 @@ class ReactNativePodsUtils
|
|
|
58
58
|
|
|
59
59
|
def self.set_gcc_preprocessor_definition_for_debugger(installer)
|
|
60
60
|
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-jsinspector", :debug)
|
|
61
|
+
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-jsinspectornetwork", :debug)
|
|
61
62
|
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-RCTNetwork", :debug)
|
|
62
63
|
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-networking", :debug)
|
|
63
64
|
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-jsinspector", :debug)
|
|
65
|
+
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-jsinspectornetwork", :debug)
|
|
64
66
|
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-RCTNetwork", :debug)
|
|
65
67
|
self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-networking", :debug)
|
|
66
68
|
end
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
const CodegenUtils = require('../codegen-utils');
|
|
14
14
|
const {codegenLog} = require('./utils');
|
|
15
15
|
const fs = require('fs');
|
|
16
|
-
const glob = require('glob');
|
|
17
16
|
const path = require('path');
|
|
17
|
+
const {globSync} = require('tinyglobby');
|
|
18
18
|
|
|
19
19
|
function generateSchemaInfos(
|
|
20
20
|
libraries /*: $ReadOnlyArray<$FlowFixMe> */,
|
|
@@ -57,17 +57,18 @@ function extractSupportedApplePlatforms(
|
|
|
57
57
|
dependencyPath /*: string */,
|
|
58
58
|
) /*: ?{[string]: boolean} */ {
|
|
59
59
|
codegenLog('Searching for podspec in the project dependencies.', true);
|
|
60
|
-
const podspecs =
|
|
60
|
+
const podspecs = globSync('*.podspec', {
|
|
61
|
+
cwd: dependencyPath,
|
|
62
|
+
onlyFiles: true,
|
|
63
|
+
absolute: true,
|
|
64
|
+
});
|
|
61
65
|
|
|
62
66
|
if (podspecs.length === 0) {
|
|
63
67
|
return;
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
// Take the first podspec found
|
|
67
|
-
const podspec = fs.readFileSync(
|
|
68
|
-
path.join(dependencyPath, podspecs[0]),
|
|
69
|
-
'utf8',
|
|
70
|
-
);
|
|
71
|
+
const podspec = fs.readFileSync(podspecs[0], 'utf8');
|
|
71
72
|
|
|
72
73
|
/**
|
|
73
74
|
* Podspec can have platforms defined in two ways:
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
HERMES_VERSION_NAME=0.14.0-commitly-
|
|
1
|
+
HERMES_VERSION_NAME=0.14.0-commitly-202512030604-3713fb12a
|
|
2
2
|
HERMES_V1_VERSION_NAME=250829098.0.4
|