React Instance Manager Builder
Builder class for ReactInstanceManager
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Instantiates a new ReactInstanceManager.
Link copied to clipboard
Required.
Link copied to clipboard
open fun setBridgeIdleDebugListener(bridgeIdleDebugListener: NotThreadSafeBridgeIdleDebugListener): ReactInstanceManagerBuilder
Link copied to clipboard
Name of the JS bundle file to be loaded from application's raw assets.
Link copied to clipboard
open fun setChoreographerProvider(@Nullable choreographerProvider: ChoreographerProvider): ReactInstanceManagerBuilder
Link copied to clipboard
Link copied to clipboard
open fun setCustomPackagerCommandHandlers(customPackagerCommandHandlers: Map<String, RequestHandler>): ReactInstanceManagerBuilder
Link copied to clipboard
open fun setDefaultHardwareBackBtnHandler(defaultHardwareBackBtnHandler: DefaultHardwareBackBtnHandler): ReactInstanceManagerBuilder
Link copied to clipboard
open fun setDevBundleDownloadListener(@Nullable listener: DevBundleDownloadListener): ReactInstanceManagerBuilder
Link copied to clipboard
open fun setDevLoadingViewManager(@Nullable devLoadingViewManager: DevLoadingViewManager): ReactInstanceManagerBuilder
Sets the Dev Loading View Manager.
Link copied to clipboard
open fun setDevSupportManagerFactory(devSupportManagerFactory: DevSupportManagerFactory): ReactInstanceManagerBuilder
Set the custom DevSupportManagerFactory.
Link copied to clipboard
open fun setInitialLifecycleState(initialLifecycleState: LifecycleState): ReactInstanceManagerBuilder
Sets the initial lifecycle state of the host.
Link copied to clipboard
open fun setJavaScriptExecutorFactory(@Nullable javaScriptExecutorFactory: JavaScriptExecutorFactory): ReactInstanceManagerBuilder
Factory for desired implementation of JavaScriptExecutor.
Link copied to clipboard
Path to the JS bundle file to be loaded from the file system.
Link copied to clipboard
Bundle loader to use when setting up JS environment.
Link copied to clipboard
open fun setJSEngineResolutionAlgorithm(@Nullable jsEngineResolutionAlgorithm: JSEngineResolutionAlgorithm): ReactInstanceManagerBuilder
Sets the JS Engine to load as either Hermes or JSC.
Link copied to clipboard
Set the exception handler for all native module calls.
Link copied to clipboard
Path to your app's main module on Metro.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setMinTimeLeftInFrameForNonBatchedOperationMs(minTimeLeftInFrameForNonBatchedOperationMs: Int): ReactInstanceManagerBuilder
Link copied to clipboard
open fun setPausedInDebuggerOverlayManager(@Nullable pausedInDebuggerOverlayManager: PausedInDebuggerOverlayManager): ReactInstanceManagerBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
When
false
, indicates that correct usage of React Native will NOT involve an Activity.Link copied to clipboard
open fun setSurfaceDelegateFactory(@Nullable surfaceDelegateFactory: SurfaceDelegateFactory): ReactInstanceManagerBuilder
When the SurfaceDelegateFactory is provided, it will be used for native modules to get a SurfaceDelegate to interact with the platform specific surface that they that needs to be rendered in.
Link copied to clipboard
Link copied to clipboard
When
true
, developer options such as JS reloading and debugging are enabled.