Mark BindingsInstaller as optional parameter in ReactHostDelegate (#37321)

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

BindingsInstaller is not required to initialize react native, marking this as optional parameter in ReactHostDelegate

changelog: [internal] internal

Reviewed By: RSNara

Differential Revision: D45578882

fbshipit-source-id: a1b07af10f4f535e5e42acbd3710b0b93187daaf
This commit is contained in:
David Vacca
2023-05-25 10:29:01 -07:00
committed by Facebook GitHub Bot
parent 05defecab2
commit ee1180dfe0
@@ -23,7 +23,7 @@ import com.facebook.react.turbomodule.core.TurboModuleManagerDelegate
interface ReactHostDelegate {
val jSMainModulePath: String
val bindingsInstaller: BindingsInstaller
val bindingsInstaller: BindingsInstaller?
val reactPackages: List<ReactPackage>
@@ -40,7 +40,7 @@ interface ReactHostDelegate {
@UnstableReactNativeAPI
class ReactHostDelegateBase(
override val jSMainModulePath: String,
override val bindingsInstaller: BindingsInstaller,
override val bindingsInstaller: BindingsInstaller? = null,
override val reactPackages: List<ReactPackage>,
private val jsBundleLoader: JSBundleLoader,
private val turboModuleManagerDelegate: TurboModuleManagerDelegate,