Open links
Open URLs, deep links, and native screens from your app.
Open a link
Open a URL in an in-app web view, an external app, or a native screen. Set view to choose the destination. URLs are normalized by default (missing https:// is added, urlParams applied); pass useRawLink: true to skip that.
With view: "website", iOS opens an in-app browser sheet and Android hands the URL to the device's default browser.
Open a page as a modal
Present another page over the current one without losing its state. Pass transition: "modal"; modal_style is sheet or fullscreen (default sheet), and modal_detent is large or medium (default large, sheets only). Close dismisses the whole modal; Back pops pages inside it.
Older app builds open it as a normal page. Where the platform offers only fullscreen (Android today), a sheet request presents fullscreen.
Know when a modal closes
The page that opened the modal receives navigation.dismissed once after it closes. Subscribe before you call. The payload is a NavigationDismissedEvent.