Skip to content

Commit

Permalink
ReactNativeNewArchitectureFeatureFlagsDefaults defaults to newArch (#…
Browse files Browse the repository at this point in the history
…46448)

Summary:
Pull Request resolved: #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
  • Loading branch information
shwanton authored and facebook-github-bot committed Sep 12, 2024
1 parent cadd41b commit ec39b8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec39b8b

Please sign in to comment.