mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Correclty promote flags to experimental for 0.85 release (#56374)
Summary: This is a reland of commit `401b162` on main. ## Changelog: [Internal] - Pull Request resolved: https://github.com/facebook/react-native/pull/56374 Test Plan: N/A Reviewed By: zeyap Differential Revision: D100024009 Pulled By: cortinico fbshipit-source-id: 56a27794afba803291c037f5d6a1ece5f1813849
This commit is contained in:
1 parent
e7df8fa292
commit
dd0290f8f4
3 files changed
+16
-4
No files matched your search
+5
-1
@@ -4,7 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @generated SignedSource<<dffc5db0f80501f6246f9d6087c6fb4a>>
|
||||
* @generated SignedSource<<187ac62197545fbce9d537527b4aed3b>>
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -23,9 +23,13 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android :
|
||||
// We could use JNI to get the defaults from C++,
|
||||
// but that is more expensive than just duplicating the defaults here.
|
||||
|
||||
override fun cxxNativeAnimatedEnabled(): Boolean = true
|
||||
|
||||
override fun enableAccessibilityOrder(): Boolean = true
|
||||
|
||||
override fun enableSwiftUIBasedFilters(): Boolean = true
|
||||
|
||||
override fun preventShadowTreeCommitExhaustion(): Boolean = true
|
||||
|
||||
override fun useSharedAnimatedBackend(): Boolean = true
|
||||
}
|
||||
+9
-1
@@ -4,7 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @generated SignedSource<<c5b1dc86ec11d40e5d26ae8a6f0ee6ff>>
|
||||
* @generated SignedSource<<c40323a221bd3dfd6d498d495a2a2297>>
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -27,6 +27,10 @@ class ReactNativeFeatureFlagsOverridesOSSExperimental : public ReactNativeFeatur
|
||||
public:
|
||||
ReactNativeFeatureFlagsOverridesOSSExperimental() = default;
|
||||
|
||||
bool cxxNativeAnimatedEnabled() override {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool enableAccessibilityOrder() override {
|
||||
return true;
|
||||
}
|
||||
@@ -38,6 +42,10 @@ class ReactNativeFeatureFlagsOverridesOSSExperimental : public ReactNativeFeatur
|
||||
bool preventShadowTreeCommitExhaustion() override {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool useSharedAnimatedBackend() override {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace facebook::react
|
||||
@@ -80,7 +80,7 @@ const definitions: FeatureFlagDefinitions = {
|
||||
expectedReleaseValue: true,
|
||||
purpose: 'experimentation',
|
||||
},
|
||||
ossReleaseStage: 'none',
|
||||
ossReleaseStage: 'experimental',
|
||||
},
|
||||
defaultTextToOverflowHidden: {
|
||||
defaultValue: true,
|
||||
@@ -931,7 +931,7 @@ const definitions: FeatureFlagDefinitions = {
|
||||
expectedReleaseValue: true,
|
||||
purpose: 'experimentation',
|
||||
},
|
||||
ossReleaseStage: 'none',
|
||||
ossReleaseStage: 'experimental',
|
||||
},
|
||||
useTraitHiddenOnAndroid: {
|
||||
defaultValue: false,
|
||||
|
||||
Reference in new issue
Block a user