react-native-tvos 0.83.6-0 → 0.83.10-0
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/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
- package/Libraries/Blob/React-RCTBlob.podspec +1 -1
- package/Libraries/Components/Button.js +2 -2
- package/Libraries/Components/ScrollView/ScrollView.d.ts +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +1 -1
- package/Libraries/Components/TV/TVViewPropTypes.js +9 -0
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +1 -1
- package/Libraries/Components/TextInput/TextInput.flow.js +1 -1
- package/Libraries/Components/Touchable/Touchable.d.ts +1 -1
- package/Libraries/Components/View/View.js +7 -3
- package/Libraries/Components/View/ViewAccessibility.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/Timers/JSTimers.js +1 -1
- package/Libraries/Core/setUpNavigator.js +1 -1
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +1 -1
- package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
- package/Libraries/Image/ImageSource.d.ts +1 -1
- package/Libraries/Image/RCTImageLoader.mm +1 -1
- package/Libraries/Image/React-RCTImage.podspec +1 -1
- package/Libraries/Interaction/PanResponder.js +1 -1
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
- package/Libraries/NativeComponent/TVViewConfig.js +1 -0
- package/Libraries/Network/React-RCTNetwork.podspec +1 -1
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
- package/Libraries/Renderer/README.md +2 -2
- package/Libraries/Required/RCTRequired.podspec +1 -1
- package/Libraries/Settings/React-RCTSettings.podspec +1 -1
- package/Libraries/Text/React-RCTText.podspec +1 -1
- package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
- package/Libraries/Utilities/PolyfillFunctions.js +1 -1
- package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
- package/README-core.md +6 -6
- package/README.md +13 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTJscSafeUrl+Internal.h +23 -0
- package/React/CoreModules/RCTJscSafeUrl.mm +38 -0
- package/React/CoreModules/RCTRedBox+Internal.h +42 -0
- package/React/CoreModules/RCTRedBox.mm +30 -471
- package/React/CoreModules/RCTRedBox2AnsiParser+Internal.h +22 -0
- package/React/CoreModules/RCTRedBox2AnsiParser.mm +55 -0
- package/React/CoreModules/RCTRedBox2Controller+Internal.h +34 -0
- package/React/CoreModules/RCTRedBox2Controller.mm +764 -0
- package/React/CoreModules/RCTRedBox2ErrorParser+Internal.h +46 -0
- package/React/CoreModules/RCTRedBox2ErrorParser.mm +57 -0
- package/React/CoreModules/RCTRedBoxController+Internal.h +31 -0
- package/React/CoreModules/RCTRedBoxController.mm +447 -0
- package/React/CoreModules/RCTRedBoxHMRClient+Internal.h +26 -0
- package/React/CoreModules/RCTRedBoxHMRClient.mm +125 -0
- package/React/CoreModules/React-CoreModules.podspec +2 -1
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +24 -0
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +49 -17
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +12 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +35 -7
- package/React/React-RCTFBReactNativeSpec.podspec +1 -1
- package/React/React-RCTFabric.podspec +1 -1
- package/React/Runtime/React-RCTRuntime.podspec +1 -1
- package/React/Tests/Mounting/RCTViewComponentViewTests.mm +145 -0
- package/React/Views/ScrollView/RCTScrollView.m +1 -1
- package/React-Core.podspec +1 -1
- package/React.podspec +1 -1
- package/ReactAndroid/build.gradle.kts +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/hermes-engine/build.gradle.kts +6 -0
- package/ReactAndroid/publish.gradle +20 -46
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt +99 -9
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/InspectorNetworkHelper.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +19 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +31 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +34 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/ReactAndroidHWInputDeviceHelper.java +1 -0
- package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +3 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +14 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +14 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.kt +46 -6
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +1 -0
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +5 -0
- package/ReactAndroid/src/main/jni/CMakeLists.txt +7 -0
- package/ReactAndroid/src/main/jni/react/devsupport/JCxxInspectorPackagerConnectionWebSocket.cpp +29 -2
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +43 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +10 -1
- package/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec +1 -1
- package/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec +1 -1
- package/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec +1 -1
- package/ReactCommon/React-Fabric.podspec +7 -1
- package/ReactCommon/React-FabricComponents.podspec +1 -1
- package/ReactCommon/React-FabricImage.podspec +1 -1
- package/ReactCommon/React-Mapbuffer.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/hermes/executor/React-jsitracing.podspec +1 -1
- package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/jsinspector-modern/InspectorInterfaces.cpp +7 -3
- package/ReactCommon/jsinspector-modern/React-jsinspector.podspec +1 -1
- package/ReactCommon/jsinspector-modern/TracingAgent.cpp +1 -5
- package/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec +1 -1
- package/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec +1 -1
- package/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec +1 -1
- package/ReactCommon/jsitooling/React-jsitooling.podspec +1 -1
- package/ReactCommon/logger/React-logger.podspec +1 -1
- package/ReactCommon/oscompat/React-oscompat.podspec +1 -1
- package/ReactCommon/react/debug/CMakeLists.txt +2 -1
- package/ReactCommon/react/debug/React-debug.podspec +8 -2
- package/ReactCommon/react/debug/redbox/AnsiParser.cpp +139 -0
- package/ReactCommon/react/debug/redbox/AnsiParser.h +35 -0
- package/ReactCommon/react/debug/redbox/JscSafeUrl.cpp +179 -0
- package/ReactCommon/react/debug/redbox/JscSafeUrl.h +27 -0
- package/ReactCommon/react/debug/redbox/RedBoxErrorParser.cpp +171 -0
- package/ReactCommon/react/debug/redbox/RedBoxErrorParser.h +40 -0
- package/ReactCommon/react/debug/redbox/tests/AnsiParserTest.cpp +97 -0
- package/ReactCommon/react/debug/redbox/tests/JscSafeUrlTest.cpp +173 -0
- package/ReactCommon/react/debug/redbox/tests/RedBoxErrorParserTest.cpp +107 -0
- package/ReactCommon/react/featureflags/React-featureflags.podspec +1 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +13 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +16 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +106 -52
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +8 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +13 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +28 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +4 -1
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/defaults/CMakeLists.txt +1 -0
- package/ReactCommon/react/nativemodule/defaults/DefaultTurboModules.cpp +7 -0
- package/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec +2 -1
- package/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +16 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +7 -1
- package/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/mutationobserver/NativeMutationObserver.h +4 -0
- package/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec +66 -0
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec +1 -1
- package/ReactCommon/react/networking/React-networking.podspec +1 -1
- package/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec +1 -1
- package/ReactCommon/react/performance/timeline/React-performancetimeline.podspec +1 -1
- package/ReactCommon/react/renderer/animated/internal/primitives.h +1 -1
- package/ReactCommon/react/renderer/components/view/BaseViewProps.cpp +7 -0
- package/ReactCommon/react/renderer/components/view/BaseViewProps.h +1 -0
- package/ReactCommon/react/renderer/components/view/platform/android/react/renderer/components/view/HostPlatformViewProps.cpp +18 -0
- package/ReactCommon/react/renderer/components/view/platform/android/react/renderer/components/view/HostPlatformViewProps.h +1 -0
- package/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec +1 -1
- package/ReactCommon/react/renderer/css/React-renderercss.podspec +1 -1
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +1 -1
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
- package/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
- package/ReactCommon/react/runtime/React-RuntimeCore.podspec +1 -1
- package/ReactCommon/react/runtime/React-RuntimeHermes.podspec +1 -1
- package/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec +1 -1
- package/ReactCommon/react/timing/React-timing.podspec +1 -1
- package/ReactCommon/react/utils/React-utils.podspec +1 -1
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
- package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
- package/ReactCommon/yoga/Yoga.podspec +2 -2
- package/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp +2 -0
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp +11 -7
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.h +2 -0
- package/ReactCommon/yoga/yoga/node/Node.cpp +6 -1
- package/package.json +9 -9
- package/scripts/cocoapods/rncore.rb +26 -8
- package/scripts/cocoapods/rndependencies.rb +26 -5
- package/scripts/cocoapods/spm.rb +1 -1
- package/scripts/cocoapods/utils.rb +2 -2
- package/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template +1 -1
- package/scripts/codegen/templates/ReactCodegen.podspec.template +1 -1
- package/scripts/ios-configure-glog.sh +1 -1
- package/scripts/react_native_pods.rb +1 -0
- package/sdks/hermes-engine/hermes-engine.podspec +6 -1
- package/sdks/hermes-engine/hermes-utils.rb +27 -5
- package/src/private/featureflags/ReactNativeFeatureFlags.js +16 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +4 -1
- package/src/private/setup/setUpDefaultReactNativeEnvironment.js +6 -0
- package/src/private/types/HostInstance.js +1 -1
- package/src/types/globals.d.ts +2 -2
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
- package/third-party-podspecs/glog.podspec +1 -1
- package/types/public/ReactNativeTVTypes.d.ts +9 -0
- package/types/public/ReactNativeTypes.d.ts +2 -2
|
@@ -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<<9c1e88ee388502478c3c1625b22178aa>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -677,6 +677,24 @@ bool ReactNativeFeatureFlagsAccessor::enableModuleArgumentNSNullConversionIOS()
|
|
|
677
677
|
return flagValue.value();
|
|
678
678
|
}
|
|
679
679
|
|
|
680
|
+
bool ReactNativeFeatureFlagsAccessor::enableMutationObserverByDefault() {
|
|
681
|
+
auto flagValue = enableMutationObserverByDefault_.load();
|
|
682
|
+
|
|
683
|
+
if (!flagValue.has_value()) {
|
|
684
|
+
// This block is not exclusive but it is not necessary.
|
|
685
|
+
// If multiple threads try to initialize the feature flag, we would only
|
|
686
|
+
// be accessing the provider multiple times but the end state of this
|
|
687
|
+
// instance and the returned flag value would be the same.
|
|
688
|
+
|
|
689
|
+
markFlagAsAccessed(36, "enableMutationObserverByDefault");
|
|
690
|
+
|
|
691
|
+
flagValue = currentProvider_->enableMutationObserverByDefault();
|
|
692
|
+
enableMutationObserverByDefault_ = flagValue;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
return flagValue.value();
|
|
696
|
+
}
|
|
697
|
+
|
|
680
698
|
bool ReactNativeFeatureFlagsAccessor::enableNativeCSSParsing() {
|
|
681
699
|
auto flagValue = enableNativeCSSParsing_.load();
|
|
682
700
|
|
|
@@ -686,7 +704,7 @@ bool ReactNativeFeatureFlagsAccessor::enableNativeCSSParsing() {
|
|
|
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, "enableNativeCSSParsing");
|
|
690
708
|
|
|
691
709
|
flagValue = currentProvider_->enableNativeCSSParsing();
|
|
692
710
|
enableNativeCSSParsing_ = flagValue;
|
|
@@ -704,7 +722,7 @@ bool ReactNativeFeatureFlagsAccessor::enableNetworkEventReporting() {
|
|
|
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, "enableNetworkEventReporting");
|
|
708
726
|
|
|
709
727
|
flagValue = currentProvider_->enableNetworkEventReporting();
|
|
710
728
|
enableNetworkEventReporting_ = flagValue;
|
|
@@ -722,7 +740,7 @@ bool ReactNativeFeatureFlagsAccessor::enablePreparedTextLayout() {
|
|
|
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, "enablePreparedTextLayout");
|
|
726
744
|
|
|
727
745
|
flagValue = currentProvider_->enablePreparedTextLayout();
|
|
728
746
|
enablePreparedTextLayout_ = flagValue;
|
|
@@ -740,7 +758,7 @@ bool ReactNativeFeatureFlagsAccessor::enablePropsUpdateReconciliationAndroid() {
|
|
|
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, "enablePropsUpdateReconciliationAndroid");
|
|
744
762
|
|
|
745
763
|
flagValue = currentProvider_->enablePropsUpdateReconciliationAndroid();
|
|
746
764
|
enablePropsUpdateReconciliationAndroid_ = flagValue;
|
|
@@ -758,7 +776,7 @@ bool ReactNativeFeatureFlagsAccessor::enableResourceTimingAPI() {
|
|
|
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, "enableResourceTimingAPI");
|
|
762
780
|
|
|
763
781
|
flagValue = currentProvider_->enableResourceTimingAPI();
|
|
764
782
|
enableResourceTimingAPI_ = flagValue;
|
|
@@ -776,7 +794,7 @@ bool ReactNativeFeatureFlagsAccessor::enableSwiftUIBasedFilters() {
|
|
|
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, "enableSwiftUIBasedFilters");
|
|
780
798
|
|
|
781
799
|
flagValue = currentProvider_->enableSwiftUIBasedFilters();
|
|
782
800
|
enableSwiftUIBasedFilters_ = flagValue;
|
|
@@ -794,7 +812,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewCulling() {
|
|
|
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, "enableViewCulling");
|
|
798
816
|
|
|
799
817
|
flagValue = currentProvider_->enableViewCulling();
|
|
800
818
|
enableViewCulling_ = flagValue;
|
|
@@ -812,7 +830,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecycling() {
|
|
|
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, "enableViewRecycling");
|
|
816
834
|
|
|
817
835
|
flagValue = currentProvider_->enableViewRecycling();
|
|
818
836
|
enableViewRecycling_ = flagValue;
|
|
@@ -830,7 +848,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForImage() {
|
|
|
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, "enableViewRecyclingForImage");
|
|
834
852
|
|
|
835
853
|
flagValue = currentProvider_->enableViewRecyclingForImage();
|
|
836
854
|
enableViewRecyclingForImage_ = flagValue;
|
|
@@ -848,7 +866,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForScrollView() {
|
|
|
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, "enableViewRecyclingForScrollView");
|
|
852
870
|
|
|
853
871
|
flagValue = currentProvider_->enableViewRecyclingForScrollView();
|
|
854
872
|
enableViewRecyclingForScrollView_ = flagValue;
|
|
@@ -866,7 +884,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForText() {
|
|
|
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, "enableViewRecyclingForText");
|
|
870
888
|
|
|
871
889
|
flagValue = currentProvider_->enableViewRecyclingForText();
|
|
872
890
|
enableViewRecyclingForText_ = flagValue;
|
|
@@ -884,7 +902,7 @@ bool ReactNativeFeatureFlagsAccessor::enableViewRecyclingForView() {
|
|
|
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, "enableViewRecyclingForView");
|
|
888
906
|
|
|
889
907
|
flagValue = currentProvider_->enableViewRecyclingForView();
|
|
890
908
|
enableViewRecyclingForView_ = flagValue;
|
|
@@ -902,7 +920,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewClippingWithoutScrollView
|
|
|
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, "enableVirtualViewClippingWithoutScrollViewClipping");
|
|
906
924
|
|
|
907
925
|
flagValue = currentProvider_->enableVirtualViewClippingWithoutScrollViewClipping();
|
|
908
926
|
enableVirtualViewClippingWithoutScrollViewClipping_ = flagValue;
|
|
@@ -920,7 +938,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewContainerStateExperimenta
|
|
|
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, "enableVirtualViewContainerStateExperimental");
|
|
924
942
|
|
|
925
943
|
flagValue = currentProvider_->enableVirtualViewContainerStateExperimental();
|
|
926
944
|
enableVirtualViewContainerStateExperimental_ = flagValue;
|
|
@@ -938,7 +956,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewDebugFeatures() {
|
|
|
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, "enableVirtualViewDebugFeatures");
|
|
942
960
|
|
|
943
961
|
flagValue = currentProvider_->enableVirtualViewDebugFeatures();
|
|
944
962
|
enableVirtualViewDebugFeatures_ = flagValue;
|
|
@@ -956,7 +974,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewRenderState() {
|
|
|
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, "enableVirtualViewRenderState");
|
|
960
978
|
|
|
961
979
|
flagValue = currentProvider_->enableVirtualViewRenderState();
|
|
962
980
|
enableVirtualViewRenderState_ = flagValue;
|
|
@@ -974,7 +992,7 @@ bool ReactNativeFeatureFlagsAccessor::enableVirtualViewWindowFocusDetection() {
|
|
|
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, "enableVirtualViewWindowFocusDetection");
|
|
978
996
|
|
|
979
997
|
flagValue = currentProvider_->enableVirtualViewWindowFocusDetection();
|
|
980
998
|
enableVirtualViewWindowFocusDetection_ = flagValue;
|
|
@@ -992,7 +1010,7 @@ bool ReactNativeFeatureFlagsAccessor::enableWebPerformanceAPIsByDefault() {
|
|
|
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, "enableWebPerformanceAPIsByDefault");
|
|
996
1014
|
|
|
997
1015
|
flagValue = currentProvider_->enableWebPerformanceAPIsByDefault();
|
|
998
1016
|
enableWebPerformanceAPIsByDefault_ = flagValue;
|
|
@@ -1010,7 +1028,7 @@ bool ReactNativeFeatureFlagsAccessor::fixMappingOfEventPrioritiesBetweenFabricAn
|
|
|
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, "fixMappingOfEventPrioritiesBetweenFabricAndReact");
|
|
1014
1032
|
|
|
1015
1033
|
flagValue = currentProvider_->fixMappingOfEventPrioritiesBetweenFabricAndReact();
|
|
1016
1034
|
fixMappingOfEventPrioritiesBetweenFabricAndReact_ = flagValue;
|
|
@@ -1028,7 +1046,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxAssertSingleHostState() {
|
|
|
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, "fuseboxAssertSingleHostState");
|
|
1032
1050
|
|
|
1033
1051
|
flagValue = currentProvider_->fuseboxAssertSingleHostState();
|
|
1034
1052
|
fuseboxAssertSingleHostState_ = flagValue;
|
|
@@ -1046,7 +1064,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxEnabledRelease() {
|
|
|
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, "fuseboxEnabledRelease");
|
|
1050
1068
|
|
|
1051
1069
|
flagValue = currentProvider_->fuseboxEnabledRelease();
|
|
1052
1070
|
fuseboxEnabledRelease_ = flagValue;
|
|
@@ -1064,7 +1082,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxFrameRecordingEnabled() {
|
|
|
1064
1082
|
// be accessing the provider multiple times but the end state of this
|
|
1065
1083
|
// instance and the returned flag value would be the same.
|
|
1066
1084
|
|
|
1067
|
-
markFlagAsAccessed(
|
|
1085
|
+
markFlagAsAccessed(58, "fuseboxFrameRecordingEnabled");
|
|
1068
1086
|
|
|
1069
1087
|
flagValue = currentProvider_->fuseboxFrameRecordingEnabled();
|
|
1070
1088
|
fuseboxFrameRecordingEnabled_ = flagValue;
|
|
@@ -1082,7 +1100,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxNetworkInspectionEnabled() {
|
|
|
1082
1100
|
// be accessing the provider multiple times but the end state of this
|
|
1083
1101
|
// instance and the returned flag value would be the same.
|
|
1084
1102
|
|
|
1085
|
-
markFlagAsAccessed(
|
|
1103
|
+
markFlagAsAccessed(59, "fuseboxNetworkInspectionEnabled");
|
|
1086
1104
|
|
|
1087
1105
|
flagValue = currentProvider_->fuseboxNetworkInspectionEnabled();
|
|
1088
1106
|
fuseboxNetworkInspectionEnabled_ = flagValue;
|
|
@@ -1100,7 +1118,7 @@ bool ReactNativeFeatureFlagsAccessor::fuseboxScreenshotCaptureEnabled() {
|
|
|
1100
1118
|
// be accessing the provider multiple times but the end state of this
|
|
1101
1119
|
// instance and the returned flag value would be the same.
|
|
1102
1120
|
|
|
1103
|
-
markFlagAsAccessed(
|
|
1121
|
+
markFlagAsAccessed(60, "fuseboxScreenshotCaptureEnabled");
|
|
1104
1122
|
|
|
1105
1123
|
flagValue = currentProvider_->fuseboxScreenshotCaptureEnabled();
|
|
1106
1124
|
fuseboxScreenshotCaptureEnabled_ = flagValue;
|
|
@@ -1118,7 +1136,7 @@ bool ReactNativeFeatureFlagsAccessor::hideOffscreenVirtualViewsOnIOS() {
|
|
|
1118
1136
|
// be accessing the provider multiple times but the end state of this
|
|
1119
1137
|
// instance and the returned flag value would be the same.
|
|
1120
1138
|
|
|
1121
|
-
markFlagAsAccessed(
|
|
1139
|
+
markFlagAsAccessed(61, "hideOffscreenVirtualViewsOnIOS");
|
|
1122
1140
|
|
|
1123
1141
|
flagValue = currentProvider_->hideOffscreenVirtualViewsOnIOS();
|
|
1124
1142
|
hideOffscreenVirtualViewsOnIOS_ = flagValue;
|
|
@@ -1136,7 +1154,7 @@ bool ReactNativeFeatureFlagsAccessor::overrideBySynchronousMountPropsAtMountingA
|
|
|
1136
1154
|
// be accessing the provider multiple times but the end state of this
|
|
1137
1155
|
// instance and the returned flag value would be the same.
|
|
1138
1156
|
|
|
1139
|
-
markFlagAsAccessed(
|
|
1157
|
+
markFlagAsAccessed(62, "overrideBySynchronousMountPropsAtMountingAndroid");
|
|
1140
1158
|
|
|
1141
1159
|
flagValue = currentProvider_->overrideBySynchronousMountPropsAtMountingAndroid();
|
|
1142
1160
|
overrideBySynchronousMountPropsAtMountingAndroid_ = flagValue;
|
|
@@ -1154,7 +1172,7 @@ bool ReactNativeFeatureFlagsAccessor::perfIssuesEnabled() {
|
|
|
1154
1172
|
// be accessing the provider multiple times but the end state of this
|
|
1155
1173
|
// instance and the returned flag value would be the same.
|
|
1156
1174
|
|
|
1157
|
-
markFlagAsAccessed(
|
|
1175
|
+
markFlagAsAccessed(63, "perfIssuesEnabled");
|
|
1158
1176
|
|
|
1159
1177
|
flagValue = currentProvider_->perfIssuesEnabled();
|
|
1160
1178
|
perfIssuesEnabled_ = flagValue;
|
|
@@ -1172,7 +1190,7 @@ bool ReactNativeFeatureFlagsAccessor::perfMonitorV2Enabled() {
|
|
|
1172
1190
|
// be accessing the provider multiple times but the end state of this
|
|
1173
1191
|
// instance and the returned flag value would be the same.
|
|
1174
1192
|
|
|
1175
|
-
markFlagAsAccessed(
|
|
1193
|
+
markFlagAsAccessed(64, "perfMonitorV2Enabled");
|
|
1176
1194
|
|
|
1177
1195
|
flagValue = currentProvider_->perfMonitorV2Enabled();
|
|
1178
1196
|
perfMonitorV2Enabled_ = flagValue;
|
|
@@ -1190,7 +1208,7 @@ double ReactNativeFeatureFlagsAccessor::preparedTextCacheSize() {
|
|
|
1190
1208
|
// be accessing the provider multiple times but the end state of this
|
|
1191
1209
|
// instance and the returned flag value would be the same.
|
|
1192
1210
|
|
|
1193
|
-
markFlagAsAccessed(
|
|
1211
|
+
markFlagAsAccessed(65, "preparedTextCacheSize");
|
|
1194
1212
|
|
|
1195
1213
|
flagValue = currentProvider_->preparedTextCacheSize();
|
|
1196
1214
|
preparedTextCacheSize_ = flagValue;
|
|
@@ -1208,7 +1226,7 @@ bool ReactNativeFeatureFlagsAccessor::preventShadowTreeCommitExhaustion() {
|
|
|
1208
1226
|
// be accessing the provider multiple times but the end state of this
|
|
1209
1227
|
// instance and the returned flag value would be the same.
|
|
1210
1228
|
|
|
1211
|
-
markFlagAsAccessed(
|
|
1229
|
+
markFlagAsAccessed(66, "preventShadowTreeCommitExhaustion");
|
|
1212
1230
|
|
|
1213
1231
|
flagValue = currentProvider_->preventShadowTreeCommitExhaustion();
|
|
1214
1232
|
preventShadowTreeCommitExhaustion_ = flagValue;
|
|
@@ -1217,6 +1235,42 @@ bool ReactNativeFeatureFlagsAccessor::preventShadowTreeCommitExhaustion() {
|
|
|
1217
1235
|
return flagValue.value();
|
|
1218
1236
|
}
|
|
1219
1237
|
|
|
1238
|
+
bool ReactNativeFeatureFlagsAccessor::redBoxV2Android() {
|
|
1239
|
+
auto flagValue = redBoxV2Android_.load();
|
|
1240
|
+
|
|
1241
|
+
if (!flagValue.has_value()) {
|
|
1242
|
+
// This block is not exclusive but it is not necessary.
|
|
1243
|
+
// If multiple threads try to initialize the feature flag, we would only
|
|
1244
|
+
// be accessing the provider multiple times but the end state of this
|
|
1245
|
+
// instance and the returned flag value would be the same.
|
|
1246
|
+
|
|
1247
|
+
markFlagAsAccessed(67, "redBoxV2Android");
|
|
1248
|
+
|
|
1249
|
+
flagValue = currentProvider_->redBoxV2Android();
|
|
1250
|
+
redBoxV2Android_ = flagValue;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
return flagValue.value();
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
bool ReactNativeFeatureFlagsAccessor::redBoxV2IOS() {
|
|
1257
|
+
auto flagValue = redBoxV2IOS_.load();
|
|
1258
|
+
|
|
1259
|
+
if (!flagValue.has_value()) {
|
|
1260
|
+
// This block is not exclusive but it is not necessary.
|
|
1261
|
+
// If multiple threads try to initialize the feature flag, we would only
|
|
1262
|
+
// be accessing the provider multiple times but the end state of this
|
|
1263
|
+
// instance and the returned flag value would be the same.
|
|
1264
|
+
|
|
1265
|
+
markFlagAsAccessed(68, "redBoxV2IOS");
|
|
1266
|
+
|
|
1267
|
+
flagValue = currentProvider_->redBoxV2IOS();
|
|
1268
|
+
redBoxV2IOS_ = flagValue;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
return flagValue.value();
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1220
1274
|
bool ReactNativeFeatureFlagsAccessor::shouldPressibilityUseW3CPointerEventsForHover() {
|
|
1221
1275
|
auto flagValue = shouldPressibilityUseW3CPointerEventsForHover_.load();
|
|
1222
1276
|
|
|
@@ -1226,7 +1280,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldPressibilityUseW3CPointerEventsForHo
|
|
|
1226
1280
|
// be accessing the provider multiple times but the end state of this
|
|
1227
1281
|
// instance and the returned flag value would be the same.
|
|
1228
1282
|
|
|
1229
|
-
markFlagAsAccessed(
|
|
1283
|
+
markFlagAsAccessed(69, "shouldPressibilityUseW3CPointerEventsForHover");
|
|
1230
1284
|
|
|
1231
1285
|
flagValue = currentProvider_->shouldPressibilityUseW3CPointerEventsForHover();
|
|
1232
1286
|
shouldPressibilityUseW3CPointerEventsForHover_ = flagValue;
|
|
@@ -1244,7 +1298,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldTriggerResponderTransferOnScrollAndr
|
|
|
1244
1298
|
// be accessing the provider multiple times but the end state of this
|
|
1245
1299
|
// instance and the returned flag value would be the same.
|
|
1246
1300
|
|
|
1247
|
-
markFlagAsAccessed(
|
|
1301
|
+
markFlagAsAccessed(70, "shouldTriggerResponderTransferOnScrollAndroid");
|
|
1248
1302
|
|
|
1249
1303
|
flagValue = currentProvider_->shouldTriggerResponderTransferOnScrollAndroid();
|
|
1250
1304
|
shouldTriggerResponderTransferOnScrollAndroid_ = flagValue;
|
|
@@ -1262,7 +1316,7 @@ bool ReactNativeFeatureFlagsAccessor::skipActivityIdentityAssertionOnHostPause()
|
|
|
1262
1316
|
// be accessing the provider multiple times but the end state of this
|
|
1263
1317
|
// instance and the returned flag value would be the same.
|
|
1264
1318
|
|
|
1265
|
-
markFlagAsAccessed(
|
|
1319
|
+
markFlagAsAccessed(71, "skipActivityIdentityAssertionOnHostPause");
|
|
1266
1320
|
|
|
1267
1321
|
flagValue = currentProvider_->skipActivityIdentityAssertionOnHostPause();
|
|
1268
1322
|
skipActivityIdentityAssertionOnHostPause_ = flagValue;
|
|
@@ -1280,7 +1334,7 @@ bool ReactNativeFeatureFlagsAccessor::sweepActiveTouchOnChildNativeGesturesAndro
|
|
|
1280
1334
|
// be accessing the provider multiple times but the end state of this
|
|
1281
1335
|
// instance and the returned flag value would be the same.
|
|
1282
1336
|
|
|
1283
|
-
markFlagAsAccessed(
|
|
1337
|
+
markFlagAsAccessed(72, "sweepActiveTouchOnChildNativeGesturesAndroid");
|
|
1284
1338
|
|
|
1285
1339
|
flagValue = currentProvider_->sweepActiveTouchOnChildNativeGesturesAndroid();
|
|
1286
1340
|
sweepActiveTouchOnChildNativeGesturesAndroid_ = flagValue;
|
|
@@ -1298,7 +1352,7 @@ bool ReactNativeFeatureFlagsAccessor::traceTurboModulePromiseRejectionsOnAndroid
|
|
|
1298
1352
|
// be accessing the provider multiple times but the end state of this
|
|
1299
1353
|
// instance and the returned flag value would be the same.
|
|
1300
1354
|
|
|
1301
|
-
markFlagAsAccessed(
|
|
1355
|
+
markFlagAsAccessed(73, "traceTurboModulePromiseRejectionsOnAndroid");
|
|
1302
1356
|
|
|
1303
1357
|
flagValue = currentProvider_->traceTurboModulePromiseRejectionsOnAndroid();
|
|
1304
1358
|
traceTurboModulePromiseRejectionsOnAndroid_ = flagValue;
|
|
@@ -1316,7 +1370,7 @@ bool ReactNativeFeatureFlagsAccessor::updateRuntimeShadowNodeReferencesOnCommit(
|
|
|
1316
1370
|
// be accessing the provider multiple times but the end state of this
|
|
1317
1371
|
// instance and the returned flag value would be the same.
|
|
1318
1372
|
|
|
1319
|
-
markFlagAsAccessed(
|
|
1373
|
+
markFlagAsAccessed(74, "updateRuntimeShadowNodeReferencesOnCommit");
|
|
1320
1374
|
|
|
1321
1375
|
flagValue = currentProvider_->updateRuntimeShadowNodeReferencesOnCommit();
|
|
1322
1376
|
updateRuntimeShadowNodeReferencesOnCommit_ = flagValue;
|
|
@@ -1334,7 +1388,7 @@ bool ReactNativeFeatureFlagsAccessor::useAlwaysAvailableJSErrorHandling() {
|
|
|
1334
1388
|
// be accessing the provider multiple times but the end state of this
|
|
1335
1389
|
// instance and the returned flag value would be the same.
|
|
1336
1390
|
|
|
1337
|
-
markFlagAsAccessed(
|
|
1391
|
+
markFlagAsAccessed(75, "useAlwaysAvailableJSErrorHandling");
|
|
1338
1392
|
|
|
1339
1393
|
flagValue = currentProvider_->useAlwaysAvailableJSErrorHandling();
|
|
1340
1394
|
useAlwaysAvailableJSErrorHandling_ = flagValue;
|
|
@@ -1352,7 +1406,7 @@ bool ReactNativeFeatureFlagsAccessor::useFabricInterop() {
|
|
|
1352
1406
|
// be accessing the provider multiple times but the end state of this
|
|
1353
1407
|
// instance and the returned flag value would be the same.
|
|
1354
1408
|
|
|
1355
|
-
markFlagAsAccessed(
|
|
1409
|
+
markFlagAsAccessed(76, "useFabricInterop");
|
|
1356
1410
|
|
|
1357
1411
|
flagValue = currentProvider_->useFabricInterop();
|
|
1358
1412
|
useFabricInterop_ = flagValue;
|
|
@@ -1370,7 +1424,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeEqualsInNativeReadableArrayAndroi
|
|
|
1370
1424
|
// be accessing the provider multiple times but the end state of this
|
|
1371
1425
|
// instance and the returned flag value would be the same.
|
|
1372
1426
|
|
|
1373
|
-
markFlagAsAccessed(
|
|
1427
|
+
markFlagAsAccessed(77, "useNativeEqualsInNativeReadableArrayAndroid");
|
|
1374
1428
|
|
|
1375
1429
|
flagValue = currentProvider_->useNativeEqualsInNativeReadableArrayAndroid();
|
|
1376
1430
|
useNativeEqualsInNativeReadableArrayAndroid_ = flagValue;
|
|
@@ -1388,7 +1442,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeTransformHelperAndroid() {
|
|
|
1388
1442
|
// be accessing the provider multiple times but the end state of this
|
|
1389
1443
|
// instance and the returned flag value would be the same.
|
|
1390
1444
|
|
|
1391
|
-
markFlagAsAccessed(
|
|
1445
|
+
markFlagAsAccessed(78, "useNativeTransformHelperAndroid");
|
|
1392
1446
|
|
|
1393
1447
|
flagValue = currentProvider_->useNativeTransformHelperAndroid();
|
|
1394
1448
|
useNativeTransformHelperAndroid_ = flagValue;
|
|
@@ -1406,7 +1460,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeViewConfigsInBridgelessMode() {
|
|
|
1406
1460
|
// be accessing the provider multiple times but the end state of this
|
|
1407
1461
|
// instance and the returned flag value would be the same.
|
|
1408
1462
|
|
|
1409
|
-
markFlagAsAccessed(
|
|
1463
|
+
markFlagAsAccessed(79, "useNativeViewConfigsInBridgelessMode");
|
|
1410
1464
|
|
|
1411
1465
|
flagValue = currentProvider_->useNativeViewConfigsInBridgelessMode();
|
|
1412
1466
|
useNativeViewConfigsInBridgelessMode_ = flagValue;
|
|
@@ -1424,7 +1478,7 @@ bool ReactNativeFeatureFlagsAccessor::useOptimizedEventBatchingOnAndroid() {
|
|
|
1424
1478
|
// be accessing the provider multiple times but the end state of this
|
|
1425
1479
|
// instance and the returned flag value would be the same.
|
|
1426
1480
|
|
|
1427
|
-
markFlagAsAccessed(
|
|
1481
|
+
markFlagAsAccessed(80, "useOptimizedEventBatchingOnAndroid");
|
|
1428
1482
|
|
|
1429
1483
|
flagValue = currentProvider_->useOptimizedEventBatchingOnAndroid();
|
|
1430
1484
|
useOptimizedEventBatchingOnAndroid_ = flagValue;
|
|
@@ -1442,7 +1496,7 @@ bool ReactNativeFeatureFlagsAccessor::useRawPropsJsiValue() {
|
|
|
1442
1496
|
// be accessing the provider multiple times but the end state of this
|
|
1443
1497
|
// instance and the returned flag value would be the same.
|
|
1444
1498
|
|
|
1445
|
-
markFlagAsAccessed(
|
|
1499
|
+
markFlagAsAccessed(81, "useRawPropsJsiValue");
|
|
1446
1500
|
|
|
1447
1501
|
flagValue = currentProvider_->useRawPropsJsiValue();
|
|
1448
1502
|
useRawPropsJsiValue_ = flagValue;
|
|
@@ -1460,7 +1514,7 @@ bool ReactNativeFeatureFlagsAccessor::useShadowNodeStateOnClone() {
|
|
|
1460
1514
|
// be accessing the provider multiple times but the end state of this
|
|
1461
1515
|
// instance and the returned flag value would be the same.
|
|
1462
1516
|
|
|
1463
|
-
markFlagAsAccessed(
|
|
1517
|
+
markFlagAsAccessed(82, "useShadowNodeStateOnClone");
|
|
1464
1518
|
|
|
1465
1519
|
flagValue = currentProvider_->useShadowNodeStateOnClone();
|
|
1466
1520
|
useShadowNodeStateOnClone_ = flagValue;
|
|
@@ -1478,7 +1532,7 @@ bool ReactNativeFeatureFlagsAccessor::useSharedAnimatedBackend() {
|
|
|
1478
1532
|
// be accessing the provider multiple times but the end state of this
|
|
1479
1533
|
// instance and the returned flag value would be the same.
|
|
1480
1534
|
|
|
1481
|
-
markFlagAsAccessed(
|
|
1535
|
+
markFlagAsAccessed(83, "useSharedAnimatedBackend");
|
|
1482
1536
|
|
|
1483
1537
|
flagValue = currentProvider_->useSharedAnimatedBackend();
|
|
1484
1538
|
useSharedAnimatedBackend_ = flagValue;
|
|
@@ -1496,7 +1550,7 @@ bool ReactNativeFeatureFlagsAccessor::useTraitHiddenOnAndroid() {
|
|
|
1496
1550
|
// be accessing the provider multiple times but the end state of this
|
|
1497
1551
|
// instance and the returned flag value would be the same.
|
|
1498
1552
|
|
|
1499
|
-
markFlagAsAccessed(
|
|
1553
|
+
markFlagAsAccessed(84, "useTraitHiddenOnAndroid");
|
|
1500
1554
|
|
|
1501
1555
|
flagValue = currentProvider_->useTraitHiddenOnAndroid();
|
|
1502
1556
|
useTraitHiddenOnAndroid_ = flagValue;
|
|
@@ -1514,7 +1568,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModuleInterop() {
|
|
|
1514
1568
|
// be accessing the provider multiple times but the end state of this
|
|
1515
1569
|
// instance and the returned flag value would be the same.
|
|
1516
1570
|
|
|
1517
|
-
markFlagAsAccessed(
|
|
1571
|
+
markFlagAsAccessed(85, "useTurboModuleInterop");
|
|
1518
1572
|
|
|
1519
1573
|
flagValue = currentProvider_->useTurboModuleInterop();
|
|
1520
1574
|
useTurboModuleInterop_ = flagValue;
|
|
@@ -1532,7 +1586,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModules() {
|
|
|
1532
1586
|
// be accessing the provider multiple times but the end state of this
|
|
1533
1587
|
// instance and the returned flag value would be the same.
|
|
1534
1588
|
|
|
1535
|
-
markFlagAsAccessed(
|
|
1589
|
+
markFlagAsAccessed(86, "useTurboModules");
|
|
1536
1590
|
|
|
1537
1591
|
flagValue = currentProvider_->useTurboModules();
|
|
1538
1592
|
useTurboModules_ = flagValue;
|
|
@@ -1550,7 +1604,7 @@ double ReactNativeFeatureFlagsAccessor::viewCullingOutsetRatio() {
|
|
|
1550
1604
|
// be accessing the provider multiple times but the end state of this
|
|
1551
1605
|
// instance and the returned flag value would be the same.
|
|
1552
1606
|
|
|
1553
|
-
markFlagAsAccessed(
|
|
1607
|
+
markFlagAsAccessed(87, "viewCullingOutsetRatio");
|
|
1554
1608
|
|
|
1555
1609
|
flagValue = currentProvider_->viewCullingOutsetRatio();
|
|
1556
1610
|
viewCullingOutsetRatio_ = flagValue;
|
|
@@ -1568,7 +1622,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewHysteresisRatio() {
|
|
|
1568
1622
|
// be accessing the provider multiple times but the end state of this
|
|
1569
1623
|
// instance and the returned flag value would be the same.
|
|
1570
1624
|
|
|
1571
|
-
markFlagAsAccessed(
|
|
1625
|
+
markFlagAsAccessed(88, "virtualViewHysteresisRatio");
|
|
1572
1626
|
|
|
1573
1627
|
flagValue = currentProvider_->virtualViewHysteresisRatio();
|
|
1574
1628
|
virtualViewHysteresisRatio_ = flagValue;
|
|
@@ -1586,7 +1640,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewPrerenderRatio() {
|
|
|
1586
1640
|
// be accessing the provider multiple times but the end state of this
|
|
1587
1641
|
// instance and the returned flag value would be the same.
|
|
1588
1642
|
|
|
1589
|
-
markFlagAsAccessed(
|
|
1643
|
+
markFlagAsAccessed(89, "virtualViewPrerenderRatio");
|
|
1590
1644
|
|
|
1591
1645
|
flagValue = currentProvider_->virtualViewPrerenderRatio();
|
|
1592
1646
|
virtualViewPrerenderRatio_ = flagValue;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<0b86f6df8b7e838d699980a9211c72df>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -68,6 +68,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
68
68
|
bool enableLayoutAnimationsOnIOS();
|
|
69
69
|
bool enableMainQueueCoordinatorOnIOS();
|
|
70
70
|
bool enableModuleArgumentNSNullConversionIOS();
|
|
71
|
+
bool enableMutationObserverByDefault();
|
|
71
72
|
bool enableNativeCSSParsing();
|
|
72
73
|
bool enableNetworkEventReporting();
|
|
73
74
|
bool enablePreparedTextLayout();
|
|
@@ -98,6 +99,8 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
98
99
|
bool perfMonitorV2Enabled();
|
|
99
100
|
double preparedTextCacheSize();
|
|
100
101
|
bool preventShadowTreeCommitExhaustion();
|
|
102
|
+
bool redBoxV2Android();
|
|
103
|
+
bool redBoxV2IOS();
|
|
101
104
|
bool shouldPressibilityUseW3CPointerEventsForHover();
|
|
102
105
|
bool shouldTriggerResponderTransferOnScrollAndroid();
|
|
103
106
|
bool skipActivityIdentityAssertionOnHostPause();
|
|
@@ -130,7 +133,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
130
133
|
std::unique_ptr<ReactNativeFeatureFlagsProvider> currentProvider_;
|
|
131
134
|
bool wasOverridden_;
|
|
132
135
|
|
|
133
|
-
std::array<std::atomic<const char*>,
|
|
136
|
+
std::array<std::atomic<const char*>, 90> accessedFeatureFlags_;
|
|
134
137
|
|
|
135
138
|
std::atomic<std::optional<bool>> commonTestFlag_;
|
|
136
139
|
std::atomic<std::optional<bool>> cdpInteractionMetricsEnabled_;
|
|
@@ -168,6 +171,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
168
171
|
std::atomic<std::optional<bool>> enableLayoutAnimationsOnIOS_;
|
|
169
172
|
std::atomic<std::optional<bool>> enableMainQueueCoordinatorOnIOS_;
|
|
170
173
|
std::atomic<std::optional<bool>> enableModuleArgumentNSNullConversionIOS_;
|
|
174
|
+
std::atomic<std::optional<bool>> enableMutationObserverByDefault_;
|
|
171
175
|
std::atomic<std::optional<bool>> enableNativeCSSParsing_;
|
|
172
176
|
std::atomic<std::optional<bool>> enableNetworkEventReporting_;
|
|
173
177
|
std::atomic<std::optional<bool>> enablePreparedTextLayout_;
|
|
@@ -198,6 +202,8 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
198
202
|
std::atomic<std::optional<bool>> perfMonitorV2Enabled_;
|
|
199
203
|
std::atomic<std::optional<double>> preparedTextCacheSize_;
|
|
200
204
|
std::atomic<std::optional<bool>> preventShadowTreeCommitExhaustion_;
|
|
205
|
+
std::atomic<std::optional<bool>> redBoxV2Android_;
|
|
206
|
+
std::atomic<std::optional<bool>> redBoxV2IOS_;
|
|
201
207
|
std::atomic<std::optional<bool>> shouldPressibilityUseW3CPointerEventsForHover_;
|
|
202
208
|
std::atomic<std::optional<bool>> shouldTriggerResponderTransferOnScrollAndroid_;
|
|
203
209
|
std::atomic<std::optional<bool>> skipActivityIdentityAssertionOnHostPause_;
|
|
@@ -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<<e75a652aae38d22df4d895d36bc07756>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -171,6 +171,10 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
|
|
|
171
171
|
return false;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
bool enableMutationObserverByDefault() override {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
|
|
174
178
|
bool enableNativeCSSParsing() override {
|
|
175
179
|
return false;
|
|
176
180
|
}
|
|
@@ -291,6 +295,14 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
|
|
|
291
295
|
return false;
|
|
292
296
|
}
|
|
293
297
|
|
|
298
|
+
bool redBoxV2Android() override {
|
|
299
|
+
return false;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
bool redBoxV2IOS() override {
|
|
303
|
+
return false;
|
|
304
|
+
}
|
|
305
|
+
|
|
294
306
|
bool shouldPressibilityUseW3CPointerEventsForHover() override {
|
|
295
307
|
return false;
|
|
296
308
|
}
|
|
@@ -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<<bb24ce8764d7c7049e3fd211dcd70510>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -369,6 +369,15 @@ class ReactNativeFeatureFlagsDynamicProvider : public ReactNativeFeatureFlagsDef
|
|
|
369
369
|
return ReactNativeFeatureFlagsDefaults::enableModuleArgumentNSNullConversionIOS();
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
+
bool enableMutationObserverByDefault() override {
|
|
373
|
+
auto value = values_["enableMutationObserverByDefault"];
|
|
374
|
+
if (!value.isNull()) {
|
|
375
|
+
return value.getBool();
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
return ReactNativeFeatureFlagsDefaults::enableMutationObserverByDefault();
|
|
379
|
+
}
|
|
380
|
+
|
|
372
381
|
bool enableNativeCSSParsing() override {
|
|
373
382
|
auto value = values_["enableNativeCSSParsing"];
|
|
374
383
|
if (!value.isNull()) {
|
|
@@ -639,6 +648,24 @@ class ReactNativeFeatureFlagsDynamicProvider : public ReactNativeFeatureFlagsDef
|
|
|
639
648
|
return ReactNativeFeatureFlagsDefaults::preventShadowTreeCommitExhaustion();
|
|
640
649
|
}
|
|
641
650
|
|
|
651
|
+
bool redBoxV2Android() override {
|
|
652
|
+
auto value = values_["redBoxV2Android"];
|
|
653
|
+
if (!value.isNull()) {
|
|
654
|
+
return value.getBool();
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
return ReactNativeFeatureFlagsDefaults::redBoxV2Android();
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
bool redBoxV2IOS() override {
|
|
661
|
+
auto value = values_["redBoxV2IOS"];
|
|
662
|
+
if (!value.isNull()) {
|
|
663
|
+
return value.getBool();
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
return ReactNativeFeatureFlagsDefaults::redBoxV2IOS();
|
|
667
|
+
}
|
|
668
|
+
|
|
642
669
|
bool shouldPressibilityUseW3CPointerEventsForHover() override {
|
|
643
670
|
auto value = values_["shouldPressibilityUseW3CPointerEventsForHover"];
|
|
644
671
|
if (!value.isNull()) {
|