Interface NativeOpen

Hierarchy

  • NativeOpen

Properties

slug?: string

Name of the eitri-app that will be opened

workspaceId?: string

The Id representing a developer's running workspace

initParams?: any

Initialization parameters for the eitri-app to be opened

replace?: boolean

When true, the current view will be destroyed before opening the new one, effectively replacing the current eitri-app in the navigation stack.

Defaults to false.

preserveBottomNavigation?: boolean

When true and the calling eitri-app is running inside a bottom tab navigation, the new view is stacked inside the currently selected tab, keeping the bottom navigation visible. Navigating back or closing the new eitri-app reveals the previous view of the same tab.

When the calling eitri-app is not inside a bottom tab navigation, this flag has no effect and the new view is presented full screen as usual.

Interaction with replace: inside a bottom tab, replace only swaps a view that was previously stacked on the selected tab. When the calling eitri-app is the tab's own root (nothing stacked yet), the root is preserved — it is never replaced by this flow — and replace degrades to a normal stacked open, layering the new view on top of the root instead of swapping it.

Defaults to false.

Generated using TypeDoc