react-native 0.84.0-nightly-20251204-5bb3a6d68 → 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.
Files changed (40) hide show
  1. package/Libraries/Core/ReactNativeVersion.js +1 -1
  2. package/React/Base/RCTVersion.m +1 -1
  3. package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +8 -0
  4. package/React/Fabric/RCTSurfaceTouchHandler.mm +1 -1
  5. package/ReactAndroid/api/ReactAndroid.api +0 -2
  6. package/ReactAndroid/gradle.properties +1 -1
  7. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt +85 -11
  8. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
  9. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
  10. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
  11. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
  12. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
  13. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
  14. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  15. package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +7 -3
  16. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyOptimizer.java +9 -91
  17. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java +0 -2
  18. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java +4 -23
  19. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java +1 -3
  20. package/ReactAndroid/src/main/jni/CMakeLists.txt +7 -0
  21. package/ReactAndroid/src/main/jni/react/devsupport/CMakeLists.txt +7 -0
  22. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
  23. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
  24. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  25. package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.cpp +4 -4
  26. package/ReactCommon/jsinspector-modern/tracing/TracingCategory.h +11 -6
  27. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
  28. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
  29. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +51 -33
  30. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
  31. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
  32. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
  33. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
  34. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
  35. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
  36. package/package.json +8 -8
  37. package/scripts/cocoapods/utils.rb +2 -0
  38. package/src/private/featureflags/ReactNativeFeatureFlags.js +6 -1
  39. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
  40. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt +0 -32
@@ -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<<66f2c701d95db2fbeefb2705ae326e08>>
7
+ * @generated SignedSource<<b9af351de972ddff807bd25f98f3ff42>>
8
8
  */
9
9
 
10
10
  /**
@@ -381,6 +381,12 @@ class ReactNativeFeatureFlagsJavaProvider
381
381
  return method(javaProvider_);
382
382
  }
383
383
 
384
+ bool fixTextClippingAndroid15useBoundsForWidth() override {
385
+ static const auto method =
386
+ getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("fixTextClippingAndroid15useBoundsForWidth");
387
+ return method(javaProvider_);
388
+ }
389
+
384
390
  bool fuseboxAssertSingleHostState() override {
385
391
  static const auto method =
386
392
  getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("fuseboxAssertSingleHostState");
@@ -862,6 +868,11 @@ bool JReactNativeFeatureFlagsCxxInterop::fixMappingOfEventPrioritiesBetweenFabri
862
868
  return ReactNativeFeatureFlags::fixMappingOfEventPrioritiesBetweenFabricAndReact();
863
869
  }
864
870
 
871
+ bool JReactNativeFeatureFlagsCxxInterop::fixTextClippingAndroid15useBoundsForWidth(
872
+ facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
873
+ return ReactNativeFeatureFlags::fixTextClippingAndroid15useBoundsForWidth();
874
+ }
875
+
865
876
  bool JReactNativeFeatureFlagsCxxInterop::fuseboxAssertSingleHostState(
866
877
  facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
867
878
  return ReactNativeFeatureFlags::fuseboxAssertSingleHostState();
@@ -1224,6 +1235,9 @@ void JReactNativeFeatureFlagsCxxInterop::registerNatives() {
1224
1235
  makeNativeMethod(
1225
1236
  "fixMappingOfEventPrioritiesBetweenFabricAndReact",
1226
1237
  JReactNativeFeatureFlagsCxxInterop::fixMappingOfEventPrioritiesBetweenFabricAndReact),
1238
+ makeNativeMethod(
1239
+ "fixTextClippingAndroid15useBoundsForWidth",
1240
+ JReactNativeFeatureFlagsCxxInterop::fixTextClippingAndroid15useBoundsForWidth),
1227
1241
  makeNativeMethod(
1228
1242
  "fuseboxAssertSingleHostState",
1229
1243
  JReactNativeFeatureFlagsCxxInterop::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<<f14600a85cec20388ba1a5bc63010a68>>
7
+ * @generated SignedSource<<c89b15dbb7d1cec571eed1551e1b7162>>
8
8
  */
9
9
 
10
10
  /**
@@ -201,6 +201,9 @@ class JReactNativeFeatureFlagsCxxInterop
201
201
  static bool fixMappingOfEventPrioritiesBetweenFabricAndReact(
202
202
  facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);
203
203
 
204
+ static bool fixTextClippingAndroid15useBoundsForWidth(
205
+ facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);
206
+
204
207
  static bool fuseboxAssertSingleHostState(
205
208
  facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);
206
209
 
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 84;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "nightly-20251204-5bb3a6d68";
25
+ std::string_view Prerelease = "nightly-20251205-95cc1e767";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
@@ -22,7 +22,7 @@ namespace facebook::react::jsinspector_modern::tracing {
22
22
 
23
23
  return TraceEvent{
24
24
  .name = "SetLayerTreeId",
25
- .cat = {Category::Timeline},
25
+ .cat = {Category::HiddenTimeline},
26
26
  .ph = 'I',
27
27
  .ts = timestamp,
28
28
  .pid = processId,
@@ -46,7 +46,7 @@ TraceEventGenerator::createFrameTimingsEvents(
46
46
 
47
47
  auto beginEvent = TraceEvent{
48
48
  .name = "BeginFrame",
49
- .cat = {Category::Timeline},
49
+ .cat = {Category::Frame},
50
50
  .ph = 'I',
51
51
  .ts = beginDrawingTimestamp,
52
52
  .pid = processId,
@@ -56,7 +56,7 @@ TraceEventGenerator::createFrameTimingsEvents(
56
56
  };
57
57
  auto commitEvent = TraceEvent{
58
58
  .name = "Commit",
59
- .cat = {Category::Timeline},
59
+ .cat = {Category::Frame},
60
60
  .ph = 'I',
61
61
  .ts = commitTimestamp,
62
62
  .pid = processId,
@@ -66,7 +66,7 @@ TraceEventGenerator::createFrameTimingsEvents(
66
66
  };
67
67
  auto drawEvent = TraceEvent{
68
68
  .name = "DrawFrame",
69
- .cat = {Category::Timeline},
69
+ .cat = {Category::Frame},
70
70
  .ph = 'I',
71
71
  .ts = endDrawingTimestamp,
72
72
  .pid = processId,
@@ -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
- Screenshot, /* disabled-by-default-devtools.screenshot */
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<<34d260e51b2f70825c4867c98bbcf3de>>
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<<502fa8935abd547231be7980d768b817>>
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<<34c34af7d83e132d6e9c75bff291d072>>
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(57, "fuseboxAssertSingleHostState");
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(58, "fuseboxEnabledRelease");
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(59, "fuseboxNetworkInspectionEnabled");
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(60, "hideOffscreenVirtualViewsOnIOS");
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(61, "overrideBySynchronousMountPropsAtMountingAndroid");
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(62, "perfIssuesEnabled");
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(63, "perfMonitorV2Enabled");
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(64, "preparedTextCacheSize");
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(65, "preventShadowTreeCommitExhaustion");
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(66, "shouldPressibilityUseW3CPointerEventsForHover");
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(67, "shouldResetClickableWhenRecyclingView");
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(68, "shouldResetOnClickListenerWhenRecyclingView");
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(69, "shouldSetEnabledBasedOnAccessibilityState");
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(70, "shouldSetIsClickableByDefault");
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(71, "shouldTriggerResponderTransferOnScrollAndroid");
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(72, "skipActivityIdentityAssertionOnHostPause");
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(73, "traceTurboModulePromiseRejectionsOnAndroid");
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(74, "updateRuntimeShadowNodeReferencesOnCommit");
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(75, "useAlwaysAvailableJSErrorHandling");
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(76, "useFabricInterop");
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(77, "useNativeEqualsInNativeReadableArrayAndroid");
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(78, "useNativeTransformHelperAndroid");
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(79, "useNativeViewConfigsInBridgelessMode");
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(80, "useRawPropsJsiValue");
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(81, "useShadowNodeStateOnClone");
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(82, "useSharedAnimatedBackend");
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(83, "useTraitHiddenOnAndroid");
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(84, "useTurboModuleInterop");
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(85, "useTurboModules");
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(86, "viewCullingOutsetRatio");
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(87, "virtualViewHysteresisRatio");
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(88, "virtualViewPrerenderRatio");
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<<d6e559e0a0919d0de99a32b27646fbce>>
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*>, 89> accessedFeatureFlags_;
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<<a220c6699baacba2e95d610314d90c67>>
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<<eef5fb5ff9153cedd8a25b39af0cc49f>>
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<<8d8563ead19635c98fe335864aa1cad0>>
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<<0e0ea09b8aa2c9649042df278241be28>>
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<<a9b91d43221aae62d3a6811867a72695>>
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);