xyz.cskn.apps://open/music/playlist/42?ref=share opens the Music app at /playlist/42?ref=share.
Following links in your router
useDeepLink starts with the link the app was launched with and updates whenever a new one arrives while the app is open. Drive your router from it:
- Launch link. When a link opens the app, the path is already part of the URL the page boots with. No event is sent. Read it with
getInitialDeepLink(). - Runtime link. When the app is already open, the shell sends a
deeplinkevent so your router can navigate without reloading. Subscribe withonDeepLink(cb).
Opening another app
string
Another app to open or bring to the front.
string
A full
cskn.app URL instead of a slug.string
The route to open. Alone, it navigates inside the current app.
Record<string, string>
Query parameters.
Opening a different app always shows the user a confirmation (“X wants to open Y”). Nothing happens if they decline, so an app cannot move the user to another app without their consent. Navigating within your own app needs no confirmation.