Skip to content

Commit

Permalink
Remove deprecated DefaultNewArchitectureEntryPoint.load overload (#42328
Browse files Browse the repository at this point in the history
)

Summary:
Pull Request resolved: #42328

This method was deprecated in 0.72. We're going to remove it in 0.74
Technically a breaking change, but users should not be using this method at all at this point.

Changelog:
[Android] [Removed] - Remove deprecated DefaultNewArchitectureEntryPoint.load overload

Reviewed By: mdvacca

Differential Revision: D52802644

fbshipit-source-id: f7c1db783959d93b81407847377f805d7ee2602d
  • Loading branch information
cortinico authored and facebook-github-bot committed Jan 17, 2024
1 parent c9ff7d9 commit 6c8dfc8
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,6 @@ object DefaultNewArchitectureEntryPoint {
DefaultSoLoader.maybeLoadSoLibrary()
}

@Deprecated(
message =
"Calling DefaultNewArchitectureEntryPoint.load() with different fabricEnabled and concurrentReactEnabled is deprecated. Please use a single flag for both Fabric and Concurrent React",
replaceWith = ReplaceWith("load(turboModulesEnabled, fabricEnabled, bridgelessEnabled)"),
level = DeprecationLevel.WARNING)
fun load(
turboModulesEnabled: Boolean = true,
fabricEnabled: Boolean = true,
bridgelessEnabled: Boolean = false,
@Suppress("UNUSED_PARAMETER") concurrentReactEnabled: Boolean = true,
) {
load(turboModulesEnabled, fabricEnabled, bridgelessEnabled)
}

private var privateFabricEnabled: Boolean = false
@JvmStatic
val fabricEnabled: Boolean
Expand Down

0 comments on commit 6c8dfc8

Please sign in to comment.