Remove deprecated DefaultNewArchitectureEntryPoint.load overload (#42328)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
Nicola Corti
2024-01-17 03:53:43 -08:00
committed by Facebook GitHub Bot
parent c9ff7d9f1b
commit 6c8dfc8956
@@ -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