ReactNativeNewArchitectureFeatureFlagsDefaults defaults to newArch (#46448)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46448

Changelog: [Internal]

**Context**

- D61621224 changed `ReactNativeNewArchitectureFeatureFlagsDefaults` to default `newArchitectureEnabled=true`

https://www.internalfb.com/code/fbsource/[dc23ff7ddd18]/xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeNewArchitectureFeatureFlagsDefaults.kt?lines=16-18

**Change**
- We no longer need to explicitly set `newArchitectureEnabled=true`

Reviewed By: cortinico

Differential Revision: D62537633

fbshipit-source-id: 64df997fe85e49d731a914bd5ca749085749a0ac
This commit is contained in:
Shawn Dempsey authored and Facebook GitHub Bot committed 2024-09-12 10:08:54 -07:00
1 parent cadd41b1a2
commit ec39b8ba96
1 file changed
+1 -1
@@ -44,7 +44,7 @@ public object DefaultNewArchitectureEntryPoint {
if (bridgelessEnabled) {
ReactNativeFeatureFlags.override(
object : ReactNativeNewArchitectureFeatureFlagsDefaults(newArchitectureEnabled = true) {
object : ReactNativeNewArchitectureFeatureFlagsDefaults() {
override fun useFabricInterop(): Boolean = fabricEnabled
// We turn this feature flag to true for OSS to fix #44610 and #45126 and other