Skip to content

[IOS] Is there a option to start the host (to load the bundle) first? #145

@kavi-dlvr

Description

@kavi-dlvr

Ask your Question

@objc public func view(
moduleName: String,
initialProps: [AnyHashable: Any]?,
launchOptions: [AnyHashable: Any]? = nil
) -> UIView? {
reactNativeFactory?.rootViewFactory.view(
withModuleName: moduleName,
initialProperties: initialProps,
launchOptions: launchOptions
)
}

I observed that the JS bundle loading just only run after this method has been called (In the React native controller example), it took about 2s to load the entire JS bundle. Is there the way that i can load the bundle in the app start, and create the view when needed?

I'm not the native guy, so please take a look and give me some advice. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions