Skip to content

Deep links

Warning

Currently, Vortex does not provide a built-in solution to handle Deeplink and URIs. see issues #149 and #382 of Voyager.

You can initialize the Navigator with multiple screens, that way, the first visible screen will be the last one and will be possible to return (pop()) to the previous screens.

val postId = getPostIdFromIntent()

setContent {
    Navigator(
        HomeScreen,
        PostListScreen(),
        PostDetailsScreen(postId)
    )
}