react-native 0.84.0-nightly-20251111-4f490818a → 0.84.0-nightly-20251112-7dcedf1de

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 (31) hide show
  1. package/Libraries/Core/ReactNativeVersion.js +1 -1
  2. package/Libraries/Text/Text.js +42 -2
  3. package/React/Base/RCTVersion.m +1 -1
  4. package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +8 -0
  5. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +20 -0
  6. package/ReactAndroid/gradle.properties +1 -1
  7. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
  8. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
  9. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
  10. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
  11. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
  12. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
  13. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  14. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BackgroundStyleApplicator.kt +1 -1
  15. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
  16. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
  17. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  18. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
  19. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
  20. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +75 -57
  21. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
  22. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
  23. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
  24. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
  25. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
  26. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
  27. package/package.json +8 -8
  28. package/scripts/cocoapods/spm.rb +28 -10
  29. package/sdks/hermes-engine/hermes-utils.rb +14 -10
  30. package/src/private/featureflags/ReactNativeFeatureFlags.js +12 -1
  31. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
@@ -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<<9d264b6f4cbd1bde0de0948355eba034>>
7
+ * @generated SignedSource<<f3ca754ef97fef2a2509eac76a7b113b>>
8
8
  */
9
9
 
10
10
  /**
@@ -551,6 +551,24 @@ bool ReactNativeFeatureFlagsAccessor::enableImagePrefetchingAndroid() {
551
551
  return flagValue.value();
552
552
  }
553
553
 
554
+ bool ReactNativeFeatureFlagsAccessor::enableImagePrefetchingJNIBatchingAndroid() {
555
+ auto flagValue = enableImagePrefetchingJNIBatchingAndroid_.load();
556
+
557
+ if (!flagValue.has_value()) {
558
+ // This block is not exclusive but it is not necessary.
559
+ // If multiple threads try to initialize the feature flag, we would only
560
+ // be accessing the provider multiple times but the end state of this
561
+ // instance and the returned flag value would be the same.
562
+
563
+ markFlagAsAccessed(29, "enableImagePrefetchingJNIBatchingAndroid");
564
+
565
+ flagValue = currentProvider_->enableImagePrefetchingJNIBatchingAndroid();
566
+ enableImagePrefetchingJNIBatchingAndroid_ = flagValue;
567
+ }
568
+
569
+ return flagValue.value();
570
+ }
571
+
554
572
  bool ReactNativeFeatureFlagsAccessor::enableImagePrefetchingOnUiThreadAndroid() {
555
573
  auto flagValue = enableImagePrefetchingOnUiThreadAndroid_.load();
556
574
 
@@ -560,7 +578,7 @@ bool ReactNativeFeatureFlagsAccessor::enableImagePrefetchingOnUiThreadAndroid()
560
578
  // be accessing the provider multiple times but the end state of this
561
579
  // instance and the returned flag value would be the same.
562
580
 
563
- markFlagAsAccessed(29, "enableImagePrefetchingOnUiThreadAndroid");
581
+ markFlagAsAccessed(30, "enableImagePrefetchingOnUiThreadAndroid");
564
582
 
565
583
  flagValue = currentProvider_->enableImagePrefetchingOnUiThreadAndroid();
566
584
  enableImagePrefetchingOnUiThreadAndroid_ = flagValue;
@@ -578,7 +596,7 @@ bool ReactNativeFeatureFlagsAccessor::enableImmediateUpdateModeForContentOffsetC
578
596
  // be accessing the provider multiple times but the end state of this
579
597
  // instance and the returned flag value would be the same.
580
598
 
581
- markFlagAsAccessed(30, "enableImmediateUpdateModeForContentOffsetChanges");
599
+ markFlagAsAccessed(31, "enableImmediateUpdateModeForContentOffsetChanges");
582
600
 
583
601
  flagValue = currentProvider_->enableImmediateUpdateModeForContentOffsetChanges();
584
602
  enableImmediateUpdateModeForContentOffsetChanges_ = flagValue;
@@ -596,7 +614,7 @@ bool ReactNativeFeatureFlagsAccessor::enableImperativeFocus() {
596
614
  // be accessing the provider multiple times but the end state of this
597
615
  // instance and the returned flag value would be the same.
598
616
 
599
- markFlagAsAccessed(31, "enableImperativeFocus");
617
+ markFlagAsAccessed(32, "enableImperativeFocus");
600
618
 
601
619
  flagValue = currentProvider_->enableImperativeFocus();
602
620
  enableImperativeFocus_ = flagValue;
@@ -614,7 +632,7 @@ bool ReactNativeFeatureFlagsAccessor::enableInteropViewManagerClassLookUpOptimiz
614
632
  // be accessing the provider multiple times but the end state of this
615
633
  // instance and the returned flag value would be the same.
616
634
 
617
- markFlagAsAccessed(32, "enableInteropViewManagerClassLookUpOptimizationIOS");
635
+ markFlagAsAccessed(33, "enableInteropViewManagerClassLookUpOptimizationIOS");
618
636
 
619
637
  flagValue = currentProvider_->enableInteropViewManagerClassLookUpOptimizationIOS();
620
638
  enableInteropViewManagerClassLookUpOptimizationIOS_ = flagValue;
@@ -632,7 +650,7 @@ bool ReactNativeFeatureFlagsAccessor::enableKeyEvents() {
632
650
  // be accessing the provider multiple times but the end state of this
633
651
  // instance and the returned flag value would be the same.
634
652
 
635
- markFlagAsAccessed(33, "enableKeyEvents");
653
+ markFlagAsAccessed(34, "enableKeyEvents");
636
654
 
637
655
  flagValue = currentProvider_->enableKeyEvents();
638
656
  enableKeyEvents_ = flagValue;
@@ -650,7 +668,7 @@ bool ReactNativeFeatureFlagsAccessor::enableLayoutAnimationsOnAndroid() {
650
668
  // be accessing the provider multiple times but the end state of this
651
669
  // instance and the returned flag value would be the same.
652
670
 
653
- markFlagAsAccessed(34, "enableLayoutAnimationsOnAndroid");
671
+ markFlagAsAccessed(35, "enableLayoutAnimationsOnAndroid");
654
672
 
655
673
  flagValue = currentProvider_->enableLayoutAnimationsOnAndroid();
656
674
  enableLayoutAnimationsOnAndroid_ = flagValue;
@@ -668,7 +686,7 @@ bool ReactNativeFeatureFlagsAccessor::enableLayoutAnimationsOnIOS() {
668
686
  // be accessing the provider multiple times but the end state of this
669
687
  // instance and the returned flag value would be the same.
670
688
 
671
- markFlagAsAccessed(35, "enableLayoutAnimationsOnIOS");
689
+ markFlagAsAccessed(36, "enableLayoutAnimationsOnIOS");
672
690
 
673
691
  flagValue = currentProvider_->enableLayoutAnimationsOnIOS();
674
692
  enableLayoutAnimationsOnIOS_ = flagValue;
@@ -686,7 +704,7 @@ bool ReactNativeFeatureFlagsAccessor::enableMainQueueCoordinatorOnIOS() {
686
704
  // be accessing the provider multiple times but the end state of this
687
705
  // instance and the returned flag value would be the same.
688
706
 
689
- markFlagAsAccessed(36, "enableMainQueueCoordinatorOnIOS");
707
+ markFlagAsAccessed(37, "enableMainQueueCoordinatorOnIOS");
690
708
 
691
709
  flagValue = currentProvider_->enableMainQueueCoordinatorOnIOS();
692
710
  enableMainQueueCoordinatorOnIOS_ = flagValue;
@@ -704,7 +722,7 @@ bool ReactNativeFeatureFlagsAccessor::enableModuleArgumentNSNullConversionIOS()
704
722
  // be accessing the provider multiple times but the end state of this
705
723
  // instance and the returned flag value would be the same.
706
724
 
707
- markFlagAsAccessed(37, "enableModuleArgumentNSNullConversionIOS");
725
+ markFlagAsAccessed(38, "enableModuleArgumentNSNullConversionIOS");
708
726
 
709
727
  flagValue = currentProvider_->enableModuleArgumentNSNullConversionIOS();
710
728
  enableModuleArgumentNSNullConversionIOS_ = flagValue;
@@ -722,7 +740,7 @@ bool ReactNativeFeatureFlagsAccessor::enableNativeCSSParsing() {
722
740
  // be accessing the provider multiple times but the end state of this
723
741
  // instance and the returned flag value would be the same.
724
742
 
725
- markFlagAsAccessed(38, "enableNativeCSSParsing");
743
+ markFlagAsAccessed(39, "enableNativeCSSParsing");
726
744
 
727
745
  flagValue = currentProvider_->enableNativeCSSParsing();
728
746
  enableNativeCSSParsing_ = flagValue;
@@ -740,7 +758,7 @@ bool ReactNativeFeatureFlagsAccessor::enableNetworkEventReporting() {
740
758
  // be accessing the provider multiple times but the end state of this
741
759
  // instance and the returned flag value would be the same.
742
760
 
743
- markFlagAsAccessed(39, "enableNetworkEventReporting");
761
+ markFlagAsAccessed(40, "enableNetworkEventReporting");
744
762
 
745
763
  flagValue = currentProvider_->enableNetworkEventReporting();
746
764
  enableNetworkEventReporting_ = flagValue;
@@ -758,7 +776,7 @@ bool ReactNativeFeatureFlagsAccessor::enablePreparedTextLayout() {
758
776
  // be accessing the provider multiple times but the end state of this
759
777
  // instance and the returned flag value would be the same.
760
778
 
761
- markFlagAsAccessed(40, "enablePreparedTextLayout");
779
+ markFlagAsAccessed(41, "enablePreparedTextLayout");
762
780
 
763
781
  flagValue = currentProvider_->enablePreparedTextLayout();
764
782
  enablePreparedTextLayout_ = flagValue;
@@ -776,7 +794,7 @@ bool ReactNativeFeatureFlagsAccessor::enablePropsUpdateReconciliationAndroid() {
776
794
  // be accessing the provider multiple times but the end state of this
777
795
  // instance and the returned flag value would be the same.
778
796
 
779
- markFlagAsAccessed(41, "enablePropsUpdateReconciliationAndroid");
797
+ markFlagAsAccessed(42, "enablePropsUpdateReconciliationAndroid");
780
798
 
781
799
  flagValue = currentProvider_->enablePropsUpdateReconciliationAndroid();
782
800
  enablePropsUpdateReconciliationAndroid_ = flagValue;
@@ -794,7 +812,7 @@ bool ReactNativeFeatureFlagsAccessor::enableResourceTimingAPI() {
794
812
  // be accessing the provider multiple times but the end state of this
795
813
  // instance and the returned flag value would be the same.
796
814
 
797
- markFlagAsAccessed(42, "enableResourceTimingAPI");
815
+ markFlagAsAccessed(43, "enableResourceTimingAPI");
798
816
 
799
817
  flagValue = currentProvider_->enableResourceTimingAPI();
800
818
  enableResourceTimingAPI_ = flagValue;
@@ -812,7 +830,7 @@ bool ReactNativeFeatureFlagsAccessor::enableSwiftUIBasedFilters() {
812
830
  // be accessing the provider multiple times but the end state of this
813
831
  // instance and the returned flag value would be the same.
814
832
 
815
- markFlagAsAccessed(43, "enableSwiftUIBasedFilters");
833
+ markFlagAsAccessed(44, "enableSwiftUIBasedFilters");
816
834
 
817
835
  flagValue = currentProvider_->enableSwiftUIBasedFilters();
818
836
  enableSwiftUIBasedFilters_ = flagValue;
@@ -830,7 +848,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewCulling() {
830
848
  // be accessing the provider multiple times but the end state of this
831
849
  // instance and the returned flag value would be the same.
832
850
 
833
- markFlagAsAccessed(44, "enableViewCulling");
851
+ markFlagAsAccessed(45, "enableViewCulling");
834
852
 
835
853
  flagValue = currentProvider_->enableViewCulling();
836
854
  enableViewCulling_ = flagValue;
@@ -848,7 +866,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecycling() {
848
866
  // be accessing the provider multiple times but the end state of this
849
867
  // instance and the returned flag value would be the same.
850
868
 
851
- markFlagAsAccessed(45, "enableViewRecycling");
869
+ markFlagAsAccessed(46, "enableViewRecycling");
852
870
 
853
871
  flagValue = currentProvider_->enableViewRecycling();
854
872
  enableViewRecycling_ = flagValue;
@@ -866,7 +884,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForImage() {
866
884
  // be accessing the provider multiple times but the end state of this
867
885
  // instance and the returned flag value would be the same.
868
886
 
869
- markFlagAsAccessed(46, "enableViewRecyclingForImage");
887
+ markFlagAsAccessed(47, "enableViewRecyclingForImage");
870
888
 
871
889
  flagValue = currentProvider_->enableViewRecyclingForImage();
872
890
  enableViewRecyclingForImage_ = flagValue;
@@ -884,7 +902,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForScrollView() {
884
902
  // be accessing the provider multiple times but the end state of this
885
903
  // instance and the returned flag value would be the same.
886
904
 
887
- markFlagAsAccessed(47, "enableViewRecyclingForScrollView");
905
+ markFlagAsAccessed(48, "enableViewRecyclingForScrollView");
888
906
 
889
907
  flagValue = currentProvider_->enableViewRecyclingForScrollView();
890
908
  enableViewRecyclingForScrollView_ = flagValue;
@@ -902,7 +920,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForText() {
902
920
  // be accessing the provider multiple times but the end state of this
903
921
  // instance and the returned flag value would be the same.
904
922
 
905
- markFlagAsAccessed(48, "enableViewRecyclingForText");
923
+ markFlagAsAccessed(49, "enableViewRecyclingForText");
906
924
 
907
925
  flagValue = currentProvider_->enableViewRecyclingForText();
908
926
  enableViewRecyclingForText_ = flagValue;
@@ -920,7 +938,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForView() {
920
938
  // be accessing the provider multiple times but the end state of this
921
939
  // instance and the returned flag value would be the same.
922
940
 
923
- markFlagAsAccessed(49, "enableViewRecyclingForView");
941
+ markFlagAsAccessed(50, "enableViewRecyclingForView");
924
942
 
925
943
  flagValue = currentProvider_->enableViewRecyclingForView();
926
944
  enableViewRecyclingForView_ = flagValue;
@@ -938,7 +956,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewClippingWithoutScrollView
938
956
  // be accessing the provider multiple times but the end state of this
939
957
  // instance and the returned flag value would be the same.
940
958
 
941
- markFlagAsAccessed(50, "enableVirtualViewClippingWithoutScrollViewClipping");
959
+ markFlagAsAccessed(51, "enableVirtualViewClippingWithoutScrollViewClipping");
942
960
 
943
961
  flagValue = currentProvider_->enableVirtualViewClippingWithoutScrollViewClipping();
944
962
  enableVirtualViewClippingWithoutScrollViewClipping_ = flagValue;
@@ -956,7 +974,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewContainerStateExperimenta
956
974
  // be accessing the provider multiple times but the end state of this
957
975
  // instance and the returned flag value would be the same.
958
976
 
959
- markFlagAsAccessed(51, "enableVirtualViewContainerStateExperimental");
977
+ markFlagAsAccessed(52, "enableVirtualViewContainerStateExperimental");
960
978
 
961
979
  flagValue = currentProvider_->enableVirtualViewContainerStateExperimental();
962
980
  enableVirtualViewContainerStateExperimental_ = flagValue;
@@ -974,7 +992,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewDebugFeatures() {
974
992
  // be accessing the provider multiple times but the end state of this
975
993
  // instance and the returned flag value would be the same.
976
994
 
977
- markFlagAsAccessed(52, "enableVirtualViewDebugFeatures");
995
+ markFlagAsAccessed(53, "enableVirtualViewDebugFeatures");
978
996
 
979
997
  flagValue = currentProvider_->enableVirtualViewDebugFeatures();
980
998
  enableVirtualViewDebugFeatures_ = flagValue;
@@ -992,7 +1010,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewRenderState() {
992
1010
  // be accessing the provider multiple times but the end state of this
993
1011
  // instance and the returned flag value would be the same.
994
1012
 
995
- markFlagAsAccessed(53, "enableVirtualViewRenderState");
1013
+ markFlagAsAccessed(54, "enableVirtualViewRenderState");
996
1014
 
997
1015
  flagValue = currentProvider_->enableVirtualViewRenderState();
998
1016
  enableVirtualViewRenderState_ = flagValue;
@@ -1010,7 +1028,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewWindowFocusDetection() {
1010
1028
  // be accessing the provider multiple times but the end state of this
1011
1029
  // instance and the returned flag value would be the same.
1012
1030
 
1013
- markFlagAsAccessed(54, "enableVirtualViewWindowFocusDetection");
1031
+ markFlagAsAccessed(55, "enableVirtualViewWindowFocusDetection");
1014
1032
 
1015
1033
  flagValue = currentProvider_->enableVirtualViewWindowFocusDetection();
1016
1034
  enableVirtualViewWindowFocusDetection_ = flagValue;
@@ -1028,7 +1046,7 @@ bool ReactNativeFeatureFlagsAccessor::enableWebPerformanceAPIsByDefault() {
1028
1046
  // be accessing the provider multiple times but the end state of this
1029
1047
  // instance and the returned flag value would be the same.
1030
1048
 
1031
- markFlagAsAccessed(55, "enableWebPerformanceAPIsByDefault");
1049
+ markFlagAsAccessed(56, "enableWebPerformanceAPIsByDefault");
1032
1050
 
1033
1051
  flagValue = currentProvider_->enableWebPerformanceAPIsByDefault();
1034
1052
  enableWebPerformanceAPIsByDefault_ = flagValue;
@@ -1046,7 +1064,7 @@ bool ReactNativeFeatureFlagsAccessor::fixMappingOfEventPrioritiesBetweenFabricAn
1046
1064
  // be accessing the provider multiple times but the end state of this
1047
1065
  // instance and the returned flag value would be the same.
1048
1066
 
1049
- markFlagAsAccessed(56, "fixMappingOfEventPrioritiesBetweenFabricAndReact");
1067
+ markFlagAsAccessed(57, "fixMappingOfEventPrioritiesBetweenFabricAndReact");
1050
1068
 
1051
1069
  flagValue = currentProvider_->fixMappingOfEventPrioritiesBetweenFabricAndReact();
1052
1070
  fixMappingOfEventPrioritiesBetweenFabricAndReact_ = flagValue;
@@ -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::shouldTriggerResponderTransferOnScrollAndr
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, "shouldTriggerResponderTransferOnScrollAndroid");
1265
+ markFlagAsAccessed(68, "shouldTriggerResponderTransferOnScrollAndroid");
1248
1266
 
1249
1267
  flagValue = currentProvider_->shouldTriggerResponderTransferOnScrollAndroid();
1250
1268
  shouldTriggerResponderTransferOnScrollAndroid_ = flagValue;
@@ -1262,7 +1280,7 @@ bool ReactNativeFeatureFlagsAccessor::skipActivityIdentityAssertionOnHostPause()
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, "skipActivityIdentityAssertionOnHostPause");
1283
+ markFlagAsAccessed(69, "skipActivityIdentityAssertionOnHostPause");
1266
1284
 
1267
1285
  flagValue = currentProvider_->skipActivityIdentityAssertionOnHostPause();
1268
1286
  skipActivityIdentityAssertionOnHostPause_ = flagValue;
@@ -1280,7 +1298,7 @@ bool ReactNativeFeatureFlagsAccessor::traceTurboModulePromiseRejectionsOnAndroid
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, "traceTurboModulePromiseRejectionsOnAndroid");
1301
+ markFlagAsAccessed(70, "traceTurboModulePromiseRejectionsOnAndroid");
1284
1302
 
1285
1303
  flagValue = currentProvider_->traceTurboModulePromiseRejectionsOnAndroid();
1286
1304
  traceTurboModulePromiseRejectionsOnAndroid_ = flagValue;
@@ -1298,7 +1316,7 @@ bool ReactNativeFeatureFlagsAccessor::updateRuntimeShadowNodeReferencesOnCommit(
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, "updateRuntimeShadowNodeReferencesOnCommit");
1319
+ markFlagAsAccessed(71, "updateRuntimeShadowNodeReferencesOnCommit");
1302
1320
 
1303
1321
  flagValue = currentProvider_->updateRuntimeShadowNodeReferencesOnCommit();
1304
1322
  updateRuntimeShadowNodeReferencesOnCommit_ = flagValue;
@@ -1316,7 +1334,7 @@ bool ReactNativeFeatureFlagsAccessor::useAlwaysAvailableJSErrorHandling() {
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, "useAlwaysAvailableJSErrorHandling");
1337
+ markFlagAsAccessed(72, "useAlwaysAvailableJSErrorHandling");
1320
1338
 
1321
1339
  flagValue = currentProvider_->useAlwaysAvailableJSErrorHandling();
1322
1340
  useAlwaysAvailableJSErrorHandling_ = flagValue;
@@ -1334,7 +1352,7 @@ bool ReactNativeFeatureFlagsAccessor::useFabricInterop() {
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, "useFabricInterop");
1355
+ markFlagAsAccessed(73, "useFabricInterop");
1338
1356
 
1339
1357
  flagValue = currentProvider_->useFabricInterop();
1340
1358
  useFabricInterop_ = flagValue;
@@ -1352,7 +1370,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeEqualsInNativeReadableArrayAndroi
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, "useNativeEqualsInNativeReadableArrayAndroid");
1373
+ markFlagAsAccessed(74, "useNativeEqualsInNativeReadableArrayAndroid");
1356
1374
 
1357
1375
  flagValue = currentProvider_->useNativeEqualsInNativeReadableArrayAndroid();
1358
1376
  useNativeEqualsInNativeReadableArrayAndroid_ = flagValue;
@@ -1370,7 +1388,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeTransformHelperAndroid() {
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, "useNativeTransformHelperAndroid");
1391
+ markFlagAsAccessed(75, "useNativeTransformHelperAndroid");
1374
1392
 
1375
1393
  flagValue = currentProvider_->useNativeTransformHelperAndroid();
1376
1394
  useNativeTransformHelperAndroid_ = flagValue;
@@ -1388,7 +1406,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeViewConfigsInBridgelessMode() {
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, "useNativeViewConfigsInBridgelessMode");
1409
+ markFlagAsAccessed(76, "useNativeViewConfigsInBridgelessMode");
1392
1410
 
1393
1411
  flagValue = currentProvider_->useNativeViewConfigsInBridgelessMode();
1394
1412
  useNativeViewConfigsInBridgelessMode_ = flagValue;
@@ -1406,7 +1424,7 @@ bool ReactNativeFeatureFlagsAccessor::useRawPropsJsiValue() {
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, "useRawPropsJsiValue");
1427
+ markFlagAsAccessed(77, "useRawPropsJsiValue");
1410
1428
 
1411
1429
  flagValue = currentProvider_->useRawPropsJsiValue();
1412
1430
  useRawPropsJsiValue_ = flagValue;
@@ -1424,7 +1442,7 @@ bool ReactNativeFeatureFlagsAccessor::useShadowNodeStateOnClone() {
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, "useShadowNodeStateOnClone");
1445
+ markFlagAsAccessed(78, "useShadowNodeStateOnClone");
1428
1446
 
1429
1447
  flagValue = currentProvider_->useShadowNodeStateOnClone();
1430
1448
  useShadowNodeStateOnClone_ = flagValue;
@@ -1442,7 +1460,7 @@ bool ReactNativeFeatureFlagsAccessor::useSharedAnimatedBackend() {
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, "useSharedAnimatedBackend");
1463
+ markFlagAsAccessed(79, "useSharedAnimatedBackend");
1446
1464
 
1447
1465
  flagValue = currentProvider_->useSharedAnimatedBackend();
1448
1466
  useSharedAnimatedBackend_ = flagValue;
@@ -1460,7 +1478,7 @@ bool ReactNativeFeatureFlagsAccessor::useTraitHiddenOnAndroid() {
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, "useTraitHiddenOnAndroid");
1481
+ markFlagAsAccessed(80, "useTraitHiddenOnAndroid");
1464
1482
 
1465
1483
  flagValue = currentProvider_->useTraitHiddenOnAndroid();
1466
1484
  useTraitHiddenOnAndroid_ = flagValue;
@@ -1478,7 +1496,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModuleInterop() {
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, "useTurboModuleInterop");
1499
+ markFlagAsAccessed(81, "useTurboModuleInterop");
1482
1500
 
1483
1501
  flagValue = currentProvider_->useTurboModuleInterop();
1484
1502
  useTurboModuleInterop_ = flagValue;
@@ -1496,7 +1514,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModules() {
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, "useTurboModules");
1517
+ markFlagAsAccessed(82, "useTurboModules");
1500
1518
 
1501
1519
  flagValue = currentProvider_->useTurboModules();
1502
1520
  useTurboModules_ = flagValue;
@@ -1514,7 +1532,7 @@ double ReactNativeFeatureFlagsAccessor::viewCullingOutsetRatio() {
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, "viewCullingOutsetRatio");
1535
+ markFlagAsAccessed(83, "viewCullingOutsetRatio");
1518
1536
 
1519
1537
  flagValue = currentProvider_->viewCullingOutsetRatio();
1520
1538
  viewCullingOutsetRatio_ = flagValue;
@@ -1532,7 +1550,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewHysteresisRatio() {
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, "virtualViewHysteresisRatio");
1553
+ markFlagAsAccessed(84, "virtualViewHysteresisRatio");
1536
1554
 
1537
1555
  flagValue = currentProvider_->virtualViewHysteresisRatio();
1538
1556
  virtualViewHysteresisRatio_ = flagValue;
@@ -1550,7 +1568,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewPrerenderRatio() {
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, "virtualViewPrerenderRatio");
1571
+ markFlagAsAccessed(85, "virtualViewPrerenderRatio");
1554
1572
 
1555
1573
  flagValue = currentProvider_->virtualViewPrerenderRatio();
1556
1574
  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<<5e53aa1a6fbbdc6e04a747e76677960c>>
7
+ * @generated SignedSource<<5aeb6768c5aa7b104efdd97273a4317f>>
8
8
  */
9
9
 
10
10
  /**
@@ -61,6 +61,7 @@ class ReactNativeFeatureFlagsAccessor {
61
61
  bool enableIOSTextBaselineOffsetPerLine();
62
62
  bool enableIOSViewClipToPaddingBox();
63
63
  bool enableImagePrefetchingAndroid();
64
+ bool enableImagePrefetchingJNIBatchingAndroid();
64
65
  bool enableImagePrefetchingOnUiThreadAndroid();
65
66
  bool enableImmediateUpdateModeForContentOffsetChanges();
66
67
  bool enableImperativeFocus();
@@ -128,7 +129,7 @@ class ReactNativeFeatureFlagsAccessor {
128
129
  std::unique_ptr<ReactNativeFeatureFlagsProvider> currentProvider_;
129
130
  bool wasOverridden_;
130
131
 
131
- std::array<std::atomic<const char*>, 85> accessedFeatureFlags_;
132
+ std::array<std::atomic<const char*>, 86> accessedFeatureFlags_;
132
133
 
133
134
  std::atomic<std::optional<bool>> commonTestFlag_;
134
135
  std::atomic<std::optional<bool>> cdpInteractionMetricsEnabled_;
@@ -159,6 +160,7 @@ class ReactNativeFeatureFlagsAccessor {
159
160
  std::atomic<std::optional<bool>> enableIOSTextBaselineOffsetPerLine_;
160
161
  std::atomic<std::optional<bool>> enableIOSViewClipToPaddingBox_;
161
162
  std::atomic<std::optional<bool>> enableImagePrefetchingAndroid_;
163
+ std::atomic<std::optional<bool>> enableImagePrefetchingJNIBatchingAndroid_;
162
164
  std::atomic<std::optional<bool>> enableImagePrefetchingOnUiThreadAndroid_;
163
165
  std::atomic<std::optional<bool>> enableImmediateUpdateModeForContentOffsetChanges_;
164
166
  std::atomic<std::optional<bool>> enableImperativeFocus_;
@@ -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<<28355cbf76db9aa5aca8ea05db43d5ab>>
7
+ * @generated SignedSource<<05ec95744854d57a2dd67e8aeb726674>>
8
8
  */
9
9
 
10
10
  /**
@@ -143,6 +143,10 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
143
143
  return false;
144
144
  }
145
145
 
146
+ bool enableImagePrefetchingJNIBatchingAndroid() override {
147
+ return false;
148
+ }
149
+
146
150
  bool enableImagePrefetchingOnUiThreadAndroid() override {
147
151
  return false;
148
152
  }
@@ -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<<9d03fa7e131f02dc08a6ffa75d09bdba>>
7
+ * @generated SignedSource<<629402fcbd2669693a7a9539998f36b5>>
8
8
  */
9
9
 
10
10
  /**
@@ -306,6 +306,15 @@ class ReactNativeFeatureFlagsDynamicProvider : public ReactNativeFeatureFlagsDef
306
306
  return ReactNativeFeatureFlagsDefaults::enableImagePrefetchingAndroid();
307
307
  }
308
308
 
309
+ bool enableImagePrefetchingJNIBatchingAndroid() override {
310
+ auto value = values_["enableImagePrefetchingJNIBatchingAndroid"];
311
+ if (!value.isNull()) {
312
+ return value.getBool();
313
+ }
314
+
315
+ return ReactNativeFeatureFlagsDefaults::enableImagePrefetchingJNIBatchingAndroid();
316
+ }
317
+
309
318
  bool enableImagePrefetchingOnUiThreadAndroid() override {
310
319
  auto value = values_["enableImagePrefetchingOnUiThreadAndroid"];
311
320
  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<<71b74d31b17c008bbf5a0e381cdabe94>>
7
+ * @generated SignedSource<<329ab653374a33c5785e314d0f98bf58>>
8
8
  */
9
9
 
10
10
  /**
@@ -54,6 +54,7 @@ class ReactNativeFeatureFlagsProvider {
54
54
  virtual bool enableIOSTextBaselineOffsetPerLine() = 0;
55
55
  virtual bool enableIOSViewClipToPaddingBox() = 0;
56
56
  virtual bool enableImagePrefetchingAndroid() = 0;
57
+ virtual bool enableImagePrefetchingJNIBatchingAndroid() = 0;
57
58
  virtual bool enableImagePrefetchingOnUiThreadAndroid() = 0;
58
59
  virtual bool enableImmediateUpdateModeForContentOffsetChanges() = 0;
59
60
  virtual bool enableImperativeFocus() = 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<<06396bfb1e5af10dd7ef72fd1d17607b>>
7
+ * @generated SignedSource<<0d1e0e562fccf44607da76b7eb6a7af7>>
8
8
  */
9
9
 
10
10
  /**
@@ -189,6 +189,11 @@ bool NativeReactNativeFeatureFlags::enableImagePrefetchingAndroid(
189
189
  return ReactNativeFeatureFlags::enableImagePrefetchingAndroid();
190
190
  }
191
191
 
192
+ bool NativeReactNativeFeatureFlags::enableImagePrefetchingJNIBatchingAndroid(
193
+ jsi::Runtime& /*runtime*/) {
194
+ return ReactNativeFeatureFlags::enableImagePrefetchingJNIBatchingAndroid();
195
+ }
196
+
192
197
  bool NativeReactNativeFeatureFlags::enableImagePrefetchingOnUiThreadAndroid(
193
198
  jsi::Runtime& /*runtime*/) {
194
199
  return ReactNativeFeatureFlags::enableImagePrefetchingOnUiThreadAndroid();
@@ -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<<9d84bc60152fe0f894d49c8b45eb6505>>
7
+ * @generated SignedSource<<60d6b086a6a9eafb58027763bce3a1c8>>
8
8
  */
9
9
 
10
10
  /**
@@ -94,6 +94,8 @@ class NativeReactNativeFeatureFlags
94
94
 
95
95
  bool enableImagePrefetchingAndroid(jsi::Runtime& runtime);
96
96
 
97
+ bool enableImagePrefetchingJNIBatchingAndroid(jsi::Runtime& runtime);
98
+
97
99
  bool enableImagePrefetchingOnUiThreadAndroid(jsi::Runtime& runtime);
98
100
 
99
101
  bool enableImmediateUpdateModeForContentOffsetChanges(jsi::Runtime& runtime);