Skip to content

Commit dd0290f

Browse files
cortinicometa-codesync[bot]
authored andcommitted
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: #56374 Test Plan: N/A Reviewed By: zeyap Differential Revision: D100024009 Pulled By: cortinico fbshipit-source-id: 56a27794afba803291c037f5d6a1ece5f1813849
1 parent e7df8fa commit dd0290f

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<dffc5db0f80501f6246f9d6087c6fb4a>>
7+
* @generated SignedSource<<187ac62197545fbce9d537527b4aed3b>>
88
*/
99

1010
/**
@@ -23,9 +23,13 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android :
2323
// We could use JNI to get the defaults from C++,
2424
// but that is more expensive than just duplicating the defaults here.
2525

26+
override fun cxxNativeAnimatedEnabled(): Boolean = true
27+
2628
override fun enableAccessibilityOrder(): Boolean = true
2729

2830
override fun enableSwiftUIBasedFilters(): Boolean = true
2931

3032
override fun preventShadowTreeCommitExhaustion(): Boolean = true
33+
34+
override fun useSharedAnimatedBackend(): Boolean = true
3135
}

packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<c5b1dc86ec11d40e5d26ae8a6f0ee6ff>>
7+
* @generated SignedSource<<c40323a221bd3dfd6d498d495a2a2297>>
88
*/
99

1010
/**
@@ -27,6 +27,10 @@ class ReactNativeFeatureFlagsOverridesOSSExperimental : public ReactNativeFeatur
2727
public:
2828
ReactNativeFeatureFlagsOverridesOSSExperimental() = default;
2929

30+
bool cxxNativeAnimatedEnabled() override {
31+
return true;
32+
}
33+
3034
bool enableAccessibilityOrder() override {
3135
return true;
3236
}
@@ -38,6 +42,10 @@ class ReactNativeFeatureFlagsOverridesOSSExperimental : public ReactNativeFeatur
3842
bool preventShadowTreeCommitExhaustion() override {
3943
return true;
4044
}
45+
46+
bool useSharedAnimatedBackend() override {
47+
return true;
48+
}
4149
};
4250

4351
} // namespace facebook::react

packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const definitions: FeatureFlagDefinitions = {
8080
expectedReleaseValue: true,
8181
purpose: 'experimentation',
8282
},
83-
ossReleaseStage: 'none',
83+
ossReleaseStage: 'experimental',
8484
},
8585
defaultTextToOverflowHidden: {
8686
defaultValue: true,
@@ -931,7 +931,7 @@ const definitions: FeatureFlagDefinitions = {
931931
expectedReleaseValue: true,
932932
purpose: 'experimentation',
933933
},
934-
ossReleaseStage: 'none',
934+
ossReleaseStage: 'experimental',
935935
},
936936
useTraitHiddenOnAndroid: {
937937
defaultValue: false,

0 commit comments

Comments
 (0)