mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
05defecab2
commit
ee1180dfe0
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user