react-native 0.84.0-nightly-20251109-b7012ba92 → 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.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Text/Text.js +42 -2
- package/React/Base/RCTVersion.m +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +16 -0
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +20 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +13 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +21 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +23 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +5 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BackgroundStyleApplicator.kt +1 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +29 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +7 -1
- package/ReactApple/RCTAnimatedModuleProvider/RCTAnimatedModuleProvider.mm +4 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +1 -0
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -0
- package/ReactCommon/jsinspector-modern/HostAgent.cpp +33 -0
- package/ReactCommon/jsinspector-modern/HostAgent.h +6 -0
- package/ReactCommon/jsinspector-modern/HostTarget.h +5 -0
- package/ReactCommon/jsinspector-modern/InspectorFlags.cpp +6 -0
- package/ReactCommon/jsinspector-modern/InspectorFlags.h +7 -0
- package/ReactCommon/jsinspector-modern/InspectorInterfaces.cpp +37 -0
- package/ReactCommon/jsinspector-modern/InspectorInterfaces.h +12 -1
- package/ReactCommon/jsinspector-modern/TracingAgent.cpp +11 -0
- package/ReactCommon/jsitooling/React-jsitooling.podspec +4 -0
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +9 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +11 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +92 -56
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +6 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +9 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +19 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +3 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +11 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +5 -1
- package/ReactCommon/react/renderer/components/text/BaseTextProps.cpp +2 -1
- package/ReactCommon/react/renderer/components/view/platform/android/react/renderer/components/view/HostPlatformViewProps.cpp +4 -0
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextLayoutManager.mm +3 -2
- package/package.json +8 -8
- package/scripts/cocoapods/rncore.rb +3 -2
- package/scripts/cocoapods/spm.rb +28 -10
- package/sdks/hermes-engine/hermes-utils.rb +14 -10
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/featureflags/ReactNativeFeatureFlags.js +17 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +3 -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<<
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
1067
|
+
markFlagAsAccessed(57, "fixMappingOfEventPrioritiesBetweenFabricAndReact");
|
|
1050
1068
|
|
|
1051
1069
|
flagValue = currentProvider_->fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
1052
1070
|
fixMappingOfEventPrioritiesBetweenFabricAndReact_ = flagValue;
|
|
@@ -1055,6 +1073,24 @@ bool ReactNativeFeatureFlagsAccessor::fixMappingOfEventPrioritiesBetweenFabricAn
|
|
|
1055
1073
|
return flagValue.value();
|
|
1056
1074
|
}
|
|
1057
1075
|
|
|
1076
|
+
bool ReactNativeFeatureFlagsAccessor::fuseboxAssertSingleHostState() {
|
|
1077
|
+
auto flagValue = fuseboxAssertSingleHostState_.load();
|
|
1078
|
+
|
|
1079
|
+
if (!flagValue.has_value()) {
|
|
1080
|
+
// This block is not exclusive but it is not necessary.
|
|
1081
|
+
// If multiple threads try to initialize the feature flag, we would only
|
|
1082
|
+
// be accessing the provider multiple times but the end state of this
|
|
1083
|
+
// instance and the returned flag value would be the same.
|
|
1084
|
+
|
|
1085
|
+
markFlagAsAccessed(58, "fuseboxAssertSingleHostState");
|
|
1086
|
+
|
|
1087
|
+
flagValue = currentProvider_->fuseboxAssertSingleHostState();
|
|
1088
|
+
fuseboxAssertSingleHostState_ = flagValue;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
return flagValue.value();
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1058
1094
|
bool ReactNativeFeatureFlagsAccessor::fuseboxEnabledRelease() {
|
|
1059
1095
|
auto flagValue = fuseboxEnabledRelease_.load();
|
|
1060
1096
|
|
|
@@ -1064,7 +1100,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxEnabledRelease() {
|
|
|
1064
1100
|
// be accessing the provider multiple times but the end state of this
|
|
1065
1101
|
// instance and the returned flag value would be the same.
|
|
1066
1102
|
|
|
1067
|
-
markFlagAsAccessed(
|
|
1103
|
+
markFlagAsAccessed(59, "fuseboxEnabledRelease");
|
|
1068
1104
|
|
|
1069
1105
|
flagValue = currentProvider_->fuseboxEnabledRelease();
|
|
1070
1106
|
fuseboxEnabledRelease_ = flagValue;
|
|
@@ -1082,7 +1118,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxNetworkInspectionEnabled() {
|
|
|
1082
1118
|
// be accessing the provider multiple times but the end state of this
|
|
1083
1119
|
// instance and the returned flag value would be the same.
|
|
1084
1120
|
|
|
1085
|
-
markFlagAsAccessed(
|
|
1121
|
+
markFlagAsAccessed(60, "fuseboxNetworkInspectionEnabled");
|
|
1086
1122
|
|
|
1087
1123
|
flagValue = currentProvider_->fuseboxNetworkInspectionEnabled();
|
|
1088
1124
|
fuseboxNetworkInspectionEnabled_ = flagValue;
|
|
@@ -1100,7 +1136,7 @@ bool ReactNativeFeatureFlagsAccessor::hideOffscreenVirtualViewsOnIOS() {
|
|
|
1100
1136
|
// be accessing the provider multiple times but the end state of this
|
|
1101
1137
|
// instance and the returned flag value would be the same.
|
|
1102
1138
|
|
|
1103
|
-
markFlagAsAccessed(
|
|
1139
|
+
markFlagAsAccessed(61, "hideOffscreenVirtualViewsOnIOS");
|
|
1104
1140
|
|
|
1105
1141
|
flagValue = currentProvider_->hideOffscreenVirtualViewsOnIOS();
|
|
1106
1142
|
hideOffscreenVirtualViewsOnIOS_ = flagValue;
|
|
@@ -1118,7 +1154,7 @@ bool ReactNativeFeatureFlagsAccessor::overrideBySynchronousMountPropsAtMountingA
|
|
|
1118
1154
|
// be accessing the provider multiple times but the end state of this
|
|
1119
1155
|
// instance and the returned flag value would be the same.
|
|
1120
1156
|
|
|
1121
|
-
markFlagAsAccessed(
|
|
1157
|
+
markFlagAsAccessed(62, "overrideBySynchronousMountPropsAtMountingAndroid");
|
|
1122
1158
|
|
|
1123
1159
|
flagValue = currentProvider_->overrideBySynchronousMountPropsAtMountingAndroid();
|
|
1124
1160
|
overrideBySynchronousMountPropsAtMountingAndroid_ = flagValue;
|
|
@@ -1136,7 +1172,7 @@ bool ReactNativeFeatureFlagsAccessor::perfIssuesEnabled() {
|
|
|
1136
1172
|
// be accessing the provider multiple times but the end state of this
|
|
1137
1173
|
// instance and the returned flag value would be the same.
|
|
1138
1174
|
|
|
1139
|
-
markFlagAsAccessed(
|
|
1175
|
+
markFlagAsAccessed(63, "perfIssuesEnabled");
|
|
1140
1176
|
|
|
1141
1177
|
flagValue = currentProvider_->perfIssuesEnabled();
|
|
1142
1178
|
perfIssuesEnabled_ = flagValue;
|
|
@@ -1154,7 +1190,7 @@ bool ReactNativeFeatureFlagsAccessor::perfMonitorV2Enabled() {
|
|
|
1154
1190
|
// be accessing the provider multiple times but the end state of this
|
|
1155
1191
|
// instance and the returned flag value would be the same.
|
|
1156
1192
|
|
|
1157
|
-
markFlagAsAccessed(
|
|
1193
|
+
markFlagAsAccessed(64, "perfMonitorV2Enabled");
|
|
1158
1194
|
|
|
1159
1195
|
flagValue = currentProvider_->perfMonitorV2Enabled();
|
|
1160
1196
|
perfMonitorV2Enabled_ = flagValue;
|
|
@@ -1172,7 +1208,7 @@ double ReactNativeFeatureFlagsAccessor::preparedTextCacheSize() {
|
|
|
1172
1208
|
// be accessing the provider multiple times but the end state of this
|
|
1173
1209
|
// instance and the returned flag value would be the same.
|
|
1174
1210
|
|
|
1175
|
-
markFlagAsAccessed(
|
|
1211
|
+
markFlagAsAccessed(65, "preparedTextCacheSize");
|
|
1176
1212
|
|
|
1177
1213
|
flagValue = currentProvider_->preparedTextCacheSize();
|
|
1178
1214
|
preparedTextCacheSize_ = flagValue;
|
|
@@ -1190,7 +1226,7 @@ bool ReactNativeFeatureFlagsAccessor::preventShadowTreeCommitExhaustion() {
|
|
|
1190
1226
|
// be accessing the provider multiple times but the end state of this
|
|
1191
1227
|
// instance and the returned flag value would be the same.
|
|
1192
1228
|
|
|
1193
|
-
markFlagAsAccessed(
|
|
1229
|
+
markFlagAsAccessed(66, "preventShadowTreeCommitExhaustion");
|
|
1194
1230
|
|
|
1195
1231
|
flagValue = currentProvider_->preventShadowTreeCommitExhaustion();
|
|
1196
1232
|
preventShadowTreeCommitExhaustion_ = flagValue;
|
|
@@ -1208,7 +1244,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldPressibilityUseW3CPointerEventsForHo
|
|
|
1208
1244
|
// be accessing the provider multiple times but the end state of this
|
|
1209
1245
|
// instance and the returned flag value would be the same.
|
|
1210
1246
|
|
|
1211
|
-
markFlagAsAccessed(
|
|
1247
|
+
markFlagAsAccessed(67, "shouldPressibilityUseW3CPointerEventsForHover");
|
|
1212
1248
|
|
|
1213
1249
|
flagValue = currentProvider_->shouldPressibilityUseW3CPointerEventsForHover();
|
|
1214
1250
|
shouldPressibilityUseW3CPointerEventsForHover_ = flagValue;
|
|
@@ -1226,7 +1262,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldTriggerResponderTransferOnScrollAndr
|
|
|
1226
1262
|
// be accessing the provider multiple times but the end state of this
|
|
1227
1263
|
// instance and the returned flag value would be the same.
|
|
1228
1264
|
|
|
1229
|
-
markFlagAsAccessed(
|
|
1265
|
+
markFlagAsAccessed(68, "shouldTriggerResponderTransferOnScrollAndroid");
|
|
1230
1266
|
|
|
1231
1267
|
flagValue = currentProvider_->shouldTriggerResponderTransferOnScrollAndroid();
|
|
1232
1268
|
shouldTriggerResponderTransferOnScrollAndroid_ = flagValue;
|
|
@@ -1244,7 +1280,7 @@ bool ReactNativeFeatureFlagsAccessor::skipActivityIdentityAssertionOnHostPause()
|
|
|
1244
1280
|
// be accessing the provider multiple times but the end state of this
|
|
1245
1281
|
// instance and the returned flag value would be the same.
|
|
1246
1282
|
|
|
1247
|
-
markFlagAsAccessed(
|
|
1283
|
+
markFlagAsAccessed(69, "skipActivityIdentityAssertionOnHostPause");
|
|
1248
1284
|
|
|
1249
1285
|
flagValue = currentProvider_->skipActivityIdentityAssertionOnHostPause();
|
|
1250
1286
|
skipActivityIdentityAssertionOnHostPause_ = flagValue;
|
|
@@ -1262,7 +1298,7 @@ bool ReactNativeFeatureFlagsAccessor::traceTurboModulePromiseRejectionsOnAndroid
|
|
|
1262
1298
|
// be accessing the provider multiple times but the end state of this
|
|
1263
1299
|
// instance and the returned flag value would be the same.
|
|
1264
1300
|
|
|
1265
|
-
markFlagAsAccessed(
|
|
1301
|
+
markFlagAsAccessed(70, "traceTurboModulePromiseRejectionsOnAndroid");
|
|
1266
1302
|
|
|
1267
1303
|
flagValue = currentProvider_->traceTurboModulePromiseRejectionsOnAndroid();
|
|
1268
1304
|
traceTurboModulePromiseRejectionsOnAndroid_ = flagValue;
|
|
@@ -1280,7 +1316,7 @@ bool ReactNativeFeatureFlagsAccessor::updateRuntimeShadowNodeReferencesOnCommit(
|
|
|
1280
1316
|
// be accessing the provider multiple times but the end state of this
|
|
1281
1317
|
// instance and the returned flag value would be the same.
|
|
1282
1318
|
|
|
1283
|
-
markFlagAsAccessed(
|
|
1319
|
+
markFlagAsAccessed(71, "updateRuntimeShadowNodeReferencesOnCommit");
|
|
1284
1320
|
|
|
1285
1321
|
flagValue = currentProvider_->updateRuntimeShadowNodeReferencesOnCommit();
|
|
1286
1322
|
updateRuntimeShadowNodeReferencesOnCommit_ = flagValue;
|
|
@@ -1298,7 +1334,7 @@ bool ReactNativeFeatureFlagsAccessor::useAlwaysAvailableJSErrorHandling() {
|
|
|
1298
1334
|
// be accessing the provider multiple times but the end state of this
|
|
1299
1335
|
// instance and the returned flag value would be the same.
|
|
1300
1336
|
|
|
1301
|
-
markFlagAsAccessed(
|
|
1337
|
+
markFlagAsAccessed(72, "useAlwaysAvailableJSErrorHandling");
|
|
1302
1338
|
|
|
1303
1339
|
flagValue = currentProvider_->useAlwaysAvailableJSErrorHandling();
|
|
1304
1340
|
useAlwaysAvailableJSErrorHandling_ = flagValue;
|
|
@@ -1316,7 +1352,7 @@ bool ReactNativeFeatureFlagsAccessor::useFabricInterop() {
|
|
|
1316
1352
|
// be accessing the provider multiple times but the end state of this
|
|
1317
1353
|
// instance and the returned flag value would be the same.
|
|
1318
1354
|
|
|
1319
|
-
markFlagAsAccessed(
|
|
1355
|
+
markFlagAsAccessed(73, "useFabricInterop");
|
|
1320
1356
|
|
|
1321
1357
|
flagValue = currentProvider_->useFabricInterop();
|
|
1322
1358
|
useFabricInterop_ = flagValue;
|
|
@@ -1334,7 +1370,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeEqualsInNativeReadableArrayAndroi
|
|
|
1334
1370
|
// be accessing the provider multiple times but the end state of this
|
|
1335
1371
|
// instance and the returned flag value would be the same.
|
|
1336
1372
|
|
|
1337
|
-
markFlagAsAccessed(
|
|
1373
|
+
markFlagAsAccessed(74, "useNativeEqualsInNativeReadableArrayAndroid");
|
|
1338
1374
|
|
|
1339
1375
|
flagValue = currentProvider_->useNativeEqualsInNativeReadableArrayAndroid();
|
|
1340
1376
|
useNativeEqualsInNativeReadableArrayAndroid_ = flagValue;
|
|
@@ -1352,7 +1388,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeTransformHelperAndroid() {
|
|
|
1352
1388
|
// be accessing the provider multiple times but the end state of this
|
|
1353
1389
|
// instance and the returned flag value would be the same.
|
|
1354
1390
|
|
|
1355
|
-
markFlagAsAccessed(
|
|
1391
|
+
markFlagAsAccessed(75, "useNativeTransformHelperAndroid");
|
|
1356
1392
|
|
|
1357
1393
|
flagValue = currentProvider_->useNativeTransformHelperAndroid();
|
|
1358
1394
|
useNativeTransformHelperAndroid_ = flagValue;
|
|
@@ -1370,7 +1406,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeViewConfigsInBridgelessMode() {
|
|
|
1370
1406
|
// be accessing the provider multiple times but the end state of this
|
|
1371
1407
|
// instance and the returned flag value would be the same.
|
|
1372
1408
|
|
|
1373
|
-
markFlagAsAccessed(
|
|
1409
|
+
markFlagAsAccessed(76, "useNativeViewConfigsInBridgelessMode");
|
|
1374
1410
|
|
|
1375
1411
|
flagValue = currentProvider_->useNativeViewConfigsInBridgelessMode();
|
|
1376
1412
|
useNativeViewConfigsInBridgelessMode_ = flagValue;
|
|
@@ -1388,7 +1424,7 @@ bool ReactNativeFeatureFlagsAccessor::useRawPropsJsiValue() {
|
|
|
1388
1424
|
// be accessing the provider multiple times but the end state of this
|
|
1389
1425
|
// instance and the returned flag value would be the same.
|
|
1390
1426
|
|
|
1391
|
-
markFlagAsAccessed(
|
|
1427
|
+
markFlagAsAccessed(77, "useRawPropsJsiValue");
|
|
1392
1428
|
|
|
1393
1429
|
flagValue = currentProvider_->useRawPropsJsiValue();
|
|
1394
1430
|
useRawPropsJsiValue_ = flagValue;
|
|
@@ -1406,7 +1442,7 @@ bool ReactNativeFeatureFlagsAccessor::useShadowNodeStateOnClone() {
|
|
|
1406
1442
|
// be accessing the provider multiple times but the end state of this
|
|
1407
1443
|
// instance and the returned flag value would be the same.
|
|
1408
1444
|
|
|
1409
|
-
markFlagAsAccessed(
|
|
1445
|
+
markFlagAsAccessed(78, "useShadowNodeStateOnClone");
|
|
1410
1446
|
|
|
1411
1447
|
flagValue = currentProvider_->useShadowNodeStateOnClone();
|
|
1412
1448
|
useShadowNodeStateOnClone_ = flagValue;
|
|
@@ -1424,7 +1460,7 @@ bool ReactNativeFeatureFlagsAccessor::useSharedAnimatedBackend() {
|
|
|
1424
1460
|
// be accessing the provider multiple times but the end state of this
|
|
1425
1461
|
// instance and the returned flag value would be the same.
|
|
1426
1462
|
|
|
1427
|
-
markFlagAsAccessed(
|
|
1463
|
+
markFlagAsAccessed(79, "useSharedAnimatedBackend");
|
|
1428
1464
|
|
|
1429
1465
|
flagValue = currentProvider_->useSharedAnimatedBackend();
|
|
1430
1466
|
useSharedAnimatedBackend_ = flagValue;
|
|
@@ -1442,7 +1478,7 @@ bool ReactNativeFeatureFlagsAccessor::useTraitHiddenOnAndroid() {
|
|
|
1442
1478
|
// be accessing the provider multiple times but the end state of this
|
|
1443
1479
|
// instance and the returned flag value would be the same.
|
|
1444
1480
|
|
|
1445
|
-
markFlagAsAccessed(
|
|
1481
|
+
markFlagAsAccessed(80, "useTraitHiddenOnAndroid");
|
|
1446
1482
|
|
|
1447
1483
|
flagValue = currentProvider_->useTraitHiddenOnAndroid();
|
|
1448
1484
|
useTraitHiddenOnAndroid_ = flagValue;
|
|
@@ -1460,7 +1496,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModuleInterop() {
|
|
|
1460
1496
|
// be accessing the provider multiple times but the end state of this
|
|
1461
1497
|
// instance and the returned flag value would be the same.
|
|
1462
1498
|
|
|
1463
|
-
markFlagAsAccessed(
|
|
1499
|
+
markFlagAsAccessed(81, "useTurboModuleInterop");
|
|
1464
1500
|
|
|
1465
1501
|
flagValue = currentProvider_->useTurboModuleInterop();
|
|
1466
1502
|
useTurboModuleInterop_ = flagValue;
|
|
@@ -1478,7 +1514,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModules() {
|
|
|
1478
1514
|
// be accessing the provider multiple times but the end state of this
|
|
1479
1515
|
// instance and the returned flag value would be the same.
|
|
1480
1516
|
|
|
1481
|
-
markFlagAsAccessed(
|
|
1517
|
+
markFlagAsAccessed(82, "useTurboModules");
|
|
1482
1518
|
|
|
1483
1519
|
flagValue = currentProvider_->useTurboModules();
|
|
1484
1520
|
useTurboModules_ = flagValue;
|
|
@@ -1496,7 +1532,7 @@ double ReactNativeFeatureFlagsAccessor::viewCullingOutsetRatio() {
|
|
|
1496
1532
|
// be accessing the provider multiple times but the end state of this
|
|
1497
1533
|
// instance and the returned flag value would be the same.
|
|
1498
1534
|
|
|
1499
|
-
markFlagAsAccessed(
|
|
1535
|
+
markFlagAsAccessed(83, "viewCullingOutsetRatio");
|
|
1500
1536
|
|
|
1501
1537
|
flagValue = currentProvider_->viewCullingOutsetRatio();
|
|
1502
1538
|
viewCullingOutsetRatio_ = flagValue;
|
|
@@ -1514,7 +1550,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewHysteresisRatio() {
|
|
|
1514
1550
|
// be accessing the provider multiple times but the end state of this
|
|
1515
1551
|
// instance and the returned flag value would be the same.
|
|
1516
1552
|
|
|
1517
|
-
markFlagAsAccessed(
|
|
1553
|
+
markFlagAsAccessed(84, "virtualViewHysteresisRatio");
|
|
1518
1554
|
|
|
1519
1555
|
flagValue = currentProvider_->virtualViewHysteresisRatio();
|
|
1520
1556
|
virtualViewHysteresisRatio_ = flagValue;
|
|
@@ -1532,7 +1568,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewPrerenderRatio() {
|
|
|
1532
1568
|
// be accessing the provider multiple times but the end state of this
|
|
1533
1569
|
// instance and the returned flag value would be the same.
|
|
1534
1570
|
|
|
1535
|
-
markFlagAsAccessed(
|
|
1571
|
+
markFlagAsAccessed(85, "virtualViewPrerenderRatio");
|
|
1536
1572
|
|
|
1537
1573
|
flagValue = currentProvider_->virtualViewPrerenderRatio();
|
|
1538
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<<
|
|
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();
|
|
@@ -89,6 +90,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
89
90
|
bool enableVirtualViewWindowFocusDetection();
|
|
90
91
|
bool enableWebPerformanceAPIsByDefault();
|
|
91
92
|
bool fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
93
|
+
bool fuseboxAssertSingleHostState();
|
|
92
94
|
bool fuseboxEnabledRelease();
|
|
93
95
|
bool fuseboxNetworkInspectionEnabled();
|
|
94
96
|
bool hideOffscreenVirtualViewsOnIOS();
|
|
@@ -127,7 +129,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
127
129
|
std::unique_ptr<ReactNativeFeatureFlagsProvider> currentProvider_;
|
|
128
130
|
bool wasOverridden_;
|
|
129
131
|
|
|
130
|
-
std::array<std::atomic<const char*>,
|
|
132
|
+
std::array<std::atomic<const char*>, 86> accessedFeatureFlags_;
|
|
131
133
|
|
|
132
134
|
std::atomic<std::optional<bool>> commonTestFlag_;
|
|
133
135
|
std::atomic<std::optional<bool>> cdpInteractionMetricsEnabled_;
|
|
@@ -158,6 +160,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
158
160
|
std::atomic<std::optional<bool>> enableIOSTextBaselineOffsetPerLine_;
|
|
159
161
|
std::atomic<std::optional<bool>> enableIOSViewClipToPaddingBox_;
|
|
160
162
|
std::atomic<std::optional<bool>> enableImagePrefetchingAndroid_;
|
|
163
|
+
std::atomic<std::optional<bool>> enableImagePrefetchingJNIBatchingAndroid_;
|
|
161
164
|
std::atomic<std::optional<bool>> enableImagePrefetchingOnUiThreadAndroid_;
|
|
162
165
|
std::atomic<std::optional<bool>> enableImmediateUpdateModeForContentOffsetChanges_;
|
|
163
166
|
std::atomic<std::optional<bool>> enableImperativeFocus_;
|
|
@@ -186,6 +189,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
186
189
|
std::atomic<std::optional<bool>> enableVirtualViewWindowFocusDetection_;
|
|
187
190
|
std::atomic<std::optional<bool>> enableWebPerformanceAPIsByDefault_;
|
|
188
191
|
std::atomic<std::optional<bool>> fixMappingOfEventPrioritiesBetweenFabricAndReact_;
|
|
192
|
+
std::atomic<std::optional<bool>> fuseboxAssertSingleHostState_;
|
|
189
193
|
std::atomic<std::optional<bool>> fuseboxEnabledRelease_;
|
|
190
194
|
std::atomic<std::optional<bool>> fuseboxNetworkInspectionEnabled_;
|
|
191
195
|
std::atomic<std::optional<bool>> hideOffscreenVirtualViewsOnIOS_;
|
|
@@ -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<<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
|
}
|
|
@@ -255,6 +259,10 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
|
|
|
255
259
|
return false;
|
|
256
260
|
}
|
|
257
261
|
|
|
262
|
+
bool fuseboxAssertSingleHostState() override {
|
|
263
|
+
return true;
|
|
264
|
+
}
|
|
265
|
+
|
|
258
266
|
bool fuseboxEnabledRelease() override {
|
|
259
267
|
return false;
|
|
260
268
|
}
|
|
@@ -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<<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()) {
|
|
@@ -558,6 +567,15 @@ class ReactNativeFeatureFlagsDynamicProvider : public ReactNativeFeatureFlagsDef
|
|
|
558
567
|
return ReactNativeFeatureFlagsDefaults::fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
559
568
|
}
|
|
560
569
|
|
|
570
|
+
bool fuseboxAssertSingleHostState() override {
|
|
571
|
+
auto value = values_["fuseboxAssertSingleHostState"];
|
|
572
|
+
if (!value.isNull()) {
|
|
573
|
+
return value.getBool();
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
return ReactNativeFeatureFlagsDefaults::fuseboxAssertSingleHostState();
|
|
577
|
+
}
|
|
578
|
+
|
|
561
579
|
bool fuseboxEnabledRelease() override {
|
|
562
580
|
auto value = values_["fuseboxEnabledRelease"];
|
|
563
581
|
if (!value.isNull()) {
|