Navigating to App#
A StorytellerDelegate has a method for managing in app navigation. It can be used for custom handling of deeplink URLs which can configured per page in CMS. This method will be called when user presses on the action button with the deeplink navigation type.
How to Use#
To use global userNavigatedToApp, implement the StorytellerDelegate interface by overriding the required methods and set it in Storyteller object. userNavigatedToApp(url: String) is the method responsible for handling these deeplink URLs.
Navigation to the Integrating App#
The callback userNavigatedToApp is called when a user taps on an action button on a page which has its link type set to deeplink. In this case, your app will be passed a URL which has been entered in the Storyteller CMS and your app is then responsible for parsing this URL and following it to the correct location within your app.
Example:
func userNavigatedToApp(url: String) {
// parse the url and navigate to the destination
}