Skip to content

Commit

Permalink
Enable 'useFabricInterop' by default in new architecture (#47017)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #47017

Enable 'useFabricInterop' by default in RNOSS

changelog: [Android][Changed] Enable fabric interop by default in new architecture for Android

Reviewed By: cortinico, rshest

Differential Revision: D64340659

fbshipit-source-id: b94421aaf482675dbe8838a97d9968494e4fa75f
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 16, 2024
1 parent f673759 commit 6b67772
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@ public open class ReactNativeNewArchitectureFeatureFlagsDefaults(
override fun batchRenderingUpdatesInEventLoop(): Boolean =
newArchitectureEnabled || super.batchRenderingUpdatesInEventLoop()

override fun useTurboModuleInterop(): Boolean =
newArchitectureEnabled || super.useTurboModuleInterop()

override fun useModernRuntimeScheduler(): Boolean =
newArchitectureEnabled || super.useModernRuntimeScheduler()

override fun enableBridgelessArchitecture(): Boolean = newArchitectureEnabled

override fun enableMicrotasks(): Boolean = newArchitectureEnabled || super.enableMicrotasks()

override fun enableFabricRenderer(): Boolean = newArchitectureEnabled

override fun useFabricInterop(): Boolean = newArchitectureEnabled

override fun useModernRuntimeScheduler(): Boolean =
newArchitectureEnabled || super.useModernRuntimeScheduler()

override fun useNativeViewConfigsInBridgelessMode(): Boolean =
newArchitectureEnabled || super.useNativeViewConfigsInBridgelessMode()

override fun useTurboModuleInterop(): Boolean =
newArchitectureEnabled || super.useTurboModuleInterop()

override fun useTurboModules(): Boolean = newArchitectureEnabled
}

0 comments on commit 6b67772

Please sign in to comment.