Skip to content

Native Host Support #23

@KarthikMAM

Description

@KarthikMAM

The library currently assumes the host is a React Native app and exposes a RN component. Since there’s no native API (Swift/ObjC or Kotlin) to instantiate a sandbox or exchange messages from fully native code, this approach blocks certain use cases. For instance, it prevents rendering a native Swift chat UI within a sandboxed RN card / visual, which aligns well with the library’s isolation model. However, this is currently not possible without wrapping the sandbox in RN view, introducing unnecessary complexity and performance concerns for host apps.

If this is a feature the team intends to support long-term, I’d be happy to contribute a pull request. Currently, we have a custom solution in our app and would like to use this library instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions