react-native 0.83.8 → 0.83.10
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/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/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/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.md +6 -6
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +8 -0
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +34 -5
- 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/publish.gradle +5 -5
- 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 +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt +1 -1
- 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/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/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 +15 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -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/React-debug.podspec +1 -1
- package/ReactCommon/react/debug/redbox/JscSafeUrl.h +1 -1
- package/ReactCommon/react/featureflags/React-featureflags.podspec +1 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +72 -54
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
- package/ReactCommon/react/nativemodule/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 +6 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -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/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 +10 -10
- 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 +6 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -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/ReactNativeTypes.d.ts +2 -2
- package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +2 -2
- package/types_generated/Libraries/Components/Button.d.ts +3 -3
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +2 -2
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +4 -4
- package/types_generated/Libraries/Interaction/PanResponder.d.ts +2 -2
- package/types_generated/src/private/types/HostInstance.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;
|
|
@@ -1226,7 +1244,7 @@ bool ReactNativeFeatureFlagsAccessor::redBoxV2Android() {
|
|
|
1226
1244
|
// be accessing the provider multiple times but the end state of this
|
|
1227
1245
|
// instance and the returned flag value would be the same.
|
|
1228
1246
|
|
|
1229
|
-
markFlagAsAccessed(
|
|
1247
|
+
markFlagAsAccessed(67, "redBoxV2Android");
|
|
1230
1248
|
|
|
1231
1249
|
flagValue = currentProvider_->redBoxV2Android();
|
|
1232
1250
|
redBoxV2Android_ = flagValue;
|
|
@@ -1244,7 +1262,7 @@ bool ReactNativeFeatureFlagsAccessor::redBoxV2IOS() {
|
|
|
1244
1262
|
// be accessing the provider multiple times but the end state of this
|
|
1245
1263
|
// instance and the returned flag value would be the same.
|
|
1246
1264
|
|
|
1247
|
-
markFlagAsAccessed(
|
|
1265
|
+
markFlagAsAccessed(68, "redBoxV2IOS");
|
|
1248
1266
|
|
|
1249
1267
|
flagValue = currentProvider_->redBoxV2IOS();
|
|
1250
1268
|
redBoxV2IOS_ = flagValue;
|
|
@@ -1262,7 +1280,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldPressibilityUseW3CPointerEventsForHo
|
|
|
1262
1280
|
// be accessing the provider multiple times but the end state of this
|
|
1263
1281
|
// instance and the returned flag value would be the same.
|
|
1264
1282
|
|
|
1265
|
-
markFlagAsAccessed(
|
|
1283
|
+
markFlagAsAccessed(69, "shouldPressibilityUseW3CPointerEventsForHover");
|
|
1266
1284
|
|
|
1267
1285
|
flagValue = currentProvider_->shouldPressibilityUseW3CPointerEventsForHover();
|
|
1268
1286
|
shouldPressibilityUseW3CPointerEventsForHover_ = flagValue;
|
|
@@ -1280,7 +1298,7 @@ bool ReactNativeFeatureFlagsAccessor::shouldTriggerResponderTransferOnScrollAndr
|
|
|
1280
1298
|
// be accessing the provider multiple times but the end state of this
|
|
1281
1299
|
// instance and the returned flag value would be the same.
|
|
1282
1300
|
|
|
1283
|
-
markFlagAsAccessed(
|
|
1301
|
+
markFlagAsAccessed(70, "shouldTriggerResponderTransferOnScrollAndroid");
|
|
1284
1302
|
|
|
1285
1303
|
flagValue = currentProvider_->shouldTriggerResponderTransferOnScrollAndroid();
|
|
1286
1304
|
shouldTriggerResponderTransferOnScrollAndroid_ = flagValue;
|
|
@@ -1298,7 +1316,7 @@ bool ReactNativeFeatureFlagsAccessor::skipActivityIdentityAssertionOnHostPause()
|
|
|
1298
1316
|
// be accessing the provider multiple times but the end state of this
|
|
1299
1317
|
// instance and the returned flag value would be the same.
|
|
1300
1318
|
|
|
1301
|
-
markFlagAsAccessed(
|
|
1319
|
+
markFlagAsAccessed(71, "skipActivityIdentityAssertionOnHostPause");
|
|
1302
1320
|
|
|
1303
1321
|
flagValue = currentProvider_->skipActivityIdentityAssertionOnHostPause();
|
|
1304
1322
|
skipActivityIdentityAssertionOnHostPause_ = flagValue;
|
|
@@ -1316,7 +1334,7 @@ bool ReactNativeFeatureFlagsAccessor::sweepActiveTouchOnChildNativeGesturesAndro
|
|
|
1316
1334
|
// be accessing the provider multiple times but the end state of this
|
|
1317
1335
|
// instance and the returned flag value would be the same.
|
|
1318
1336
|
|
|
1319
|
-
markFlagAsAccessed(
|
|
1337
|
+
markFlagAsAccessed(72, "sweepActiveTouchOnChildNativeGesturesAndroid");
|
|
1320
1338
|
|
|
1321
1339
|
flagValue = currentProvider_->sweepActiveTouchOnChildNativeGesturesAndroid();
|
|
1322
1340
|
sweepActiveTouchOnChildNativeGesturesAndroid_ = flagValue;
|
|
@@ -1334,7 +1352,7 @@ bool ReactNativeFeatureFlagsAccessor::traceTurboModulePromiseRejectionsOnAndroid
|
|
|
1334
1352
|
// be accessing the provider multiple times but the end state of this
|
|
1335
1353
|
// instance and the returned flag value would be the same.
|
|
1336
1354
|
|
|
1337
|
-
markFlagAsAccessed(
|
|
1355
|
+
markFlagAsAccessed(73, "traceTurboModulePromiseRejectionsOnAndroid");
|
|
1338
1356
|
|
|
1339
1357
|
flagValue = currentProvider_->traceTurboModulePromiseRejectionsOnAndroid();
|
|
1340
1358
|
traceTurboModulePromiseRejectionsOnAndroid_ = flagValue;
|
|
@@ -1352,7 +1370,7 @@ bool ReactNativeFeatureFlagsAccessor::updateRuntimeShadowNodeReferencesOnCommit(
|
|
|
1352
1370
|
// be accessing the provider multiple times but the end state of this
|
|
1353
1371
|
// instance and the returned flag value would be the same.
|
|
1354
1372
|
|
|
1355
|
-
markFlagAsAccessed(
|
|
1373
|
+
markFlagAsAccessed(74, "updateRuntimeShadowNodeReferencesOnCommit");
|
|
1356
1374
|
|
|
1357
1375
|
flagValue = currentProvider_->updateRuntimeShadowNodeReferencesOnCommit();
|
|
1358
1376
|
updateRuntimeShadowNodeReferencesOnCommit_ = flagValue;
|
|
@@ -1370,7 +1388,7 @@ bool ReactNativeFeatureFlagsAccessor::useAlwaysAvailableJSErrorHandling() {
|
|
|
1370
1388
|
// be accessing the provider multiple times but the end state of this
|
|
1371
1389
|
// instance and the returned flag value would be the same.
|
|
1372
1390
|
|
|
1373
|
-
markFlagAsAccessed(
|
|
1391
|
+
markFlagAsAccessed(75, "useAlwaysAvailableJSErrorHandling");
|
|
1374
1392
|
|
|
1375
1393
|
flagValue = currentProvider_->useAlwaysAvailableJSErrorHandling();
|
|
1376
1394
|
useAlwaysAvailableJSErrorHandling_ = flagValue;
|
|
@@ -1388,7 +1406,7 @@ bool ReactNativeFeatureFlagsAccessor::useFabricInterop() {
|
|
|
1388
1406
|
// be accessing the provider multiple times but the end state of this
|
|
1389
1407
|
// instance and the returned flag value would be the same.
|
|
1390
1408
|
|
|
1391
|
-
markFlagAsAccessed(
|
|
1409
|
+
markFlagAsAccessed(76, "useFabricInterop");
|
|
1392
1410
|
|
|
1393
1411
|
flagValue = currentProvider_->useFabricInterop();
|
|
1394
1412
|
useFabricInterop_ = flagValue;
|
|
@@ -1406,7 +1424,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeEqualsInNativeReadableArrayAndroi
|
|
|
1406
1424
|
// be accessing the provider multiple times but the end state of this
|
|
1407
1425
|
// instance and the returned flag value would be the same.
|
|
1408
1426
|
|
|
1409
|
-
markFlagAsAccessed(
|
|
1427
|
+
markFlagAsAccessed(77, "useNativeEqualsInNativeReadableArrayAndroid");
|
|
1410
1428
|
|
|
1411
1429
|
flagValue = currentProvider_->useNativeEqualsInNativeReadableArrayAndroid();
|
|
1412
1430
|
useNativeEqualsInNativeReadableArrayAndroid_ = flagValue;
|
|
@@ -1424,7 +1442,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeTransformHelperAndroid() {
|
|
|
1424
1442
|
// be accessing the provider multiple times but the end state of this
|
|
1425
1443
|
// instance and the returned flag value would be the same.
|
|
1426
1444
|
|
|
1427
|
-
markFlagAsAccessed(
|
|
1445
|
+
markFlagAsAccessed(78, "useNativeTransformHelperAndroid");
|
|
1428
1446
|
|
|
1429
1447
|
flagValue = currentProvider_->useNativeTransformHelperAndroid();
|
|
1430
1448
|
useNativeTransformHelperAndroid_ = flagValue;
|
|
@@ -1442,7 +1460,7 @@ bool ReactNativeFeatureFlagsAccessor::useNativeViewConfigsInBridgelessMode() {
|
|
|
1442
1460
|
// be accessing the provider multiple times but the end state of this
|
|
1443
1461
|
// instance and the returned flag value would be the same.
|
|
1444
1462
|
|
|
1445
|
-
markFlagAsAccessed(
|
|
1463
|
+
markFlagAsAccessed(79, "useNativeViewConfigsInBridgelessMode");
|
|
1446
1464
|
|
|
1447
1465
|
flagValue = currentProvider_->useNativeViewConfigsInBridgelessMode();
|
|
1448
1466
|
useNativeViewConfigsInBridgelessMode_ = flagValue;
|
|
@@ -1460,7 +1478,7 @@ bool ReactNativeFeatureFlagsAccessor::useOptimizedEventBatchingOnAndroid() {
|
|
|
1460
1478
|
// be accessing the provider multiple times but the end state of this
|
|
1461
1479
|
// instance and the returned flag value would be the same.
|
|
1462
1480
|
|
|
1463
|
-
markFlagAsAccessed(
|
|
1481
|
+
markFlagAsAccessed(80, "useOptimizedEventBatchingOnAndroid");
|
|
1464
1482
|
|
|
1465
1483
|
flagValue = currentProvider_->useOptimizedEventBatchingOnAndroid();
|
|
1466
1484
|
useOptimizedEventBatchingOnAndroid_ = flagValue;
|
|
@@ -1478,7 +1496,7 @@ bool ReactNativeFeatureFlagsAccessor::useRawPropsJsiValue() {
|
|
|
1478
1496
|
// be accessing the provider multiple times but the end state of this
|
|
1479
1497
|
// instance and the returned flag value would be the same.
|
|
1480
1498
|
|
|
1481
|
-
markFlagAsAccessed(
|
|
1499
|
+
markFlagAsAccessed(81, "useRawPropsJsiValue");
|
|
1482
1500
|
|
|
1483
1501
|
flagValue = currentProvider_->useRawPropsJsiValue();
|
|
1484
1502
|
useRawPropsJsiValue_ = flagValue;
|
|
@@ -1496,7 +1514,7 @@ bool ReactNativeFeatureFlagsAccessor::useShadowNodeStateOnClone() {
|
|
|
1496
1514
|
// be accessing the provider multiple times but the end state of this
|
|
1497
1515
|
// instance and the returned flag value would be the same.
|
|
1498
1516
|
|
|
1499
|
-
markFlagAsAccessed(
|
|
1517
|
+
markFlagAsAccessed(82, "useShadowNodeStateOnClone");
|
|
1500
1518
|
|
|
1501
1519
|
flagValue = currentProvider_->useShadowNodeStateOnClone();
|
|
1502
1520
|
useShadowNodeStateOnClone_ = flagValue;
|
|
@@ -1514,7 +1532,7 @@ bool ReactNativeFeatureFlagsAccessor::useSharedAnimatedBackend() {
|
|
|
1514
1532
|
// be accessing the provider multiple times but the end state of this
|
|
1515
1533
|
// instance and the returned flag value would be the same.
|
|
1516
1534
|
|
|
1517
|
-
markFlagAsAccessed(
|
|
1535
|
+
markFlagAsAccessed(83, "useSharedAnimatedBackend");
|
|
1518
1536
|
|
|
1519
1537
|
flagValue = currentProvider_->useSharedAnimatedBackend();
|
|
1520
1538
|
useSharedAnimatedBackend_ = flagValue;
|
|
@@ -1532,7 +1550,7 @@ bool ReactNativeFeatureFlagsAccessor::useTraitHiddenOnAndroid() {
|
|
|
1532
1550
|
// be accessing the provider multiple times but the end state of this
|
|
1533
1551
|
// instance and the returned flag value would be the same.
|
|
1534
1552
|
|
|
1535
|
-
markFlagAsAccessed(
|
|
1553
|
+
markFlagAsAccessed(84, "useTraitHiddenOnAndroid");
|
|
1536
1554
|
|
|
1537
1555
|
flagValue = currentProvider_->useTraitHiddenOnAndroid();
|
|
1538
1556
|
useTraitHiddenOnAndroid_ = flagValue;
|
|
@@ -1550,7 +1568,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModuleInterop() {
|
|
|
1550
1568
|
// be accessing the provider multiple times but the end state of this
|
|
1551
1569
|
// instance and the returned flag value would be the same.
|
|
1552
1570
|
|
|
1553
|
-
markFlagAsAccessed(
|
|
1571
|
+
markFlagAsAccessed(85, "useTurboModuleInterop");
|
|
1554
1572
|
|
|
1555
1573
|
flagValue = currentProvider_->useTurboModuleInterop();
|
|
1556
1574
|
useTurboModuleInterop_ = flagValue;
|
|
@@ -1568,7 +1586,7 @@ bool ReactNativeFeatureFlagsAccessor::useTurboModules() {
|
|
|
1568
1586
|
// be accessing the provider multiple times but the end state of this
|
|
1569
1587
|
// instance and the returned flag value would be the same.
|
|
1570
1588
|
|
|
1571
|
-
markFlagAsAccessed(
|
|
1589
|
+
markFlagAsAccessed(86, "useTurboModules");
|
|
1572
1590
|
|
|
1573
1591
|
flagValue = currentProvider_->useTurboModules();
|
|
1574
1592
|
useTurboModules_ = flagValue;
|
|
@@ -1586,7 +1604,7 @@ double ReactNativeFeatureFlagsAccessor::viewCullingOutsetRatio() {
|
|
|
1586
1604
|
// be accessing the provider multiple times but the end state of this
|
|
1587
1605
|
// instance and the returned flag value would be the same.
|
|
1588
1606
|
|
|
1589
|
-
markFlagAsAccessed(
|
|
1607
|
+
markFlagAsAccessed(87, "viewCullingOutsetRatio");
|
|
1590
1608
|
|
|
1591
1609
|
flagValue = currentProvider_->viewCullingOutsetRatio();
|
|
1592
1610
|
viewCullingOutsetRatio_ = flagValue;
|
|
@@ -1604,7 +1622,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewHysteresisRatio() {
|
|
|
1604
1622
|
// be accessing the provider multiple times but the end state of this
|
|
1605
1623
|
// instance and the returned flag value would be the same.
|
|
1606
1624
|
|
|
1607
|
-
markFlagAsAccessed(
|
|
1625
|
+
markFlagAsAccessed(88, "virtualViewHysteresisRatio");
|
|
1608
1626
|
|
|
1609
1627
|
flagValue = currentProvider_->virtualViewHysteresisRatio();
|
|
1610
1628
|
virtualViewHysteresisRatio_ = flagValue;
|
|
@@ -1622,7 +1640,7 @@ double ReactNativeFeatureFlagsAccessor::virtualViewPrerenderRatio() {
|
|
|
1622
1640
|
// be accessing the provider multiple times but the end state of this
|
|
1623
1641
|
// instance and the returned flag value would be the same.
|
|
1624
1642
|
|
|
1625
|
-
markFlagAsAccessed(
|
|
1643
|
+
markFlagAsAccessed(89, "virtualViewPrerenderRatio");
|
|
1626
1644
|
|
|
1627
1645
|
flagValue = currentProvider_->virtualViewPrerenderRatio();
|
|
1628
1646
|
virtualViewPrerenderRatio_ = flagValue;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<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();
|
|
@@ -132,7 +133,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
132
133
|
std::unique_ptr<ReactNativeFeatureFlagsProvider> currentProvider_;
|
|
133
134
|
bool wasOverridden_;
|
|
134
135
|
|
|
135
|
-
std::array<std::atomic<const char*>,
|
|
136
|
+
std::array<std::atomic<const char*>, 90> accessedFeatureFlags_;
|
|
136
137
|
|
|
137
138
|
std::atomic<std::optional<bool>> commonTestFlag_;
|
|
138
139
|
std::atomic<std::optional<bool>> cdpInteractionMetricsEnabled_;
|
|
@@ -170,6 +171,7 @@ class ReactNativeFeatureFlagsAccessor {
|
|
|
170
171
|
std::atomic<std::optional<bool>> enableLayoutAnimationsOnIOS_;
|
|
171
172
|
std::atomic<std::optional<bool>> enableMainQueueCoordinatorOnIOS_;
|
|
172
173
|
std::atomic<std::optional<bool>> enableModuleArgumentNSNullConversionIOS_;
|
|
174
|
+
std::atomic<std::optional<bool>> enableMutationObserverByDefault_;
|
|
173
175
|
std::atomic<std::optional<bool>> enableNativeCSSParsing_;
|
|
174
176
|
std::atomic<std::optional<bool>> enableNetworkEventReporting_;
|
|
175
177
|
std::atomic<std::optional<bool>> enablePreparedTextLayout_;
|
|
@@ -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<<97d5c101032335f047a9a9bb06dab093>>
|
|
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
|
}
|
|
@@ -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()) {
|
|
@@ -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<<75595b7640dd5849fcd3c40a965582fe>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -61,6 +61,7 @@ class ReactNativeFeatureFlagsProvider {
|
|
|
61
61
|
virtual bool enableLayoutAnimationsOnIOS() = 0;
|
|
62
62
|
virtual bool enableMainQueueCoordinatorOnIOS() = 0;
|
|
63
63
|
virtual bool enableModuleArgumentNSNullConversionIOS() = 0;
|
|
64
|
+
virtual bool enableMutationObserverByDefault() = 0;
|
|
64
65
|
virtual bool enableNativeCSSParsing() = 0;
|
|
65
66
|
virtual bool enableNetworkEventReporting() = 0;
|
|
66
67
|
virtual bool enablePreparedTextLayout() = 0;
|
package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp
CHANGED
|
@@ -993,7 +993,7 @@ void JavaTurboModule::configureEventEmitterCallback() {
|
|
|
993
993
|
args[0].l = callback.release();
|
|
994
994
|
|
|
995
995
|
// CallVoidMethod is replaced with CallVoidMethodA as it's unsafe on 32bit and
|
|
996
|
-
// causes crashes https://github.com/
|
|
996
|
+
// causes crashes https://github.com/react/react-native/issues/51628
|
|
997
997
|
env->CallVoidMethodA(instance_.get(), cachedMethodId, args);
|
|
998
998
|
FACEBOOK_JNI_THROW_PENDING_EXCEPTION();
|
|
999
999
|
}
|
|
@@ -8,7 +8,7 @@ require "json"
|
|
|
8
8
|
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "..", "..", "package.json")))
|
|
9
9
|
version = package['version']
|
|
10
10
|
|
|
11
|
-
source = { :git => 'https://github.com/
|
|
11
|
+
source = { :git => 'https://github.com/react/react-native.git' }
|
|
12
12
|
if version == '1000.0.0'
|
|
13
13
|
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
|
|
14
14
|
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
|
package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm
CHANGED
|
@@ -477,7 +477,7 @@ void ObjCInteropTurboModule::setInvocationArg(
|
|
|
477
477
|
// Handle the special case where there is an argument and it must be nil
|
|
478
478
|
// Without this check, the JS side will receive an object.
|
|
479
479
|
// See: discussion at
|
|
480
|
-
// https://github.com/
|
|
480
|
+
// https://github.com/react/react-native/pull/49250#issuecomment-2668465893
|
|
481
481
|
if (arg == [NSNull null]) {
|
|
482
482
|
return;
|
|
483
483
|
}
|
|
@@ -695,7 +695,7 @@ void ObjCTurboModule::setInvocationArg(
|
|
|
695
695
|
SEL methodArgConversionSelector = getMethodArgConversionSelector(methodNameNSString, i);
|
|
696
696
|
|
|
697
697
|
// Message dispatch logic from old infra (link:
|
|
698
|
-
// https://github.com/
|
|
698
|
+
// https://github.com/react/react-native/commit/6783694158057662fd7b11fc123c339b2b21bfe6#diff-263fc157dfce55895cdc16495b55d190R350)
|
|
699
699
|
RCTManagedPointer *(*convert)(id, SEL, id) = (__typeof__(convert))objc_msgSend;
|
|
700
700
|
RCTManagedPointer *box = convert([RCTCxxConvert class], methodArgConversionSelector, objCArg);
|
|
701
701
|
|
|
@@ -22,6 +22,7 @@ target_link_libraries(react_nativemodule_defaults
|
|
|
22
22
|
react_nativemodule_microtasks
|
|
23
23
|
react_nativemodule_idlecallbacks
|
|
24
24
|
react_nativemodule_intersectionobserver
|
|
25
|
+
react_nativemodule_mutationobserver
|
|
25
26
|
react_nativemodule_webperformance
|
|
26
27
|
)
|
|
27
28
|
target_compile_reactnative_options(react_nativemodule_defaults PRIVATE)
|