DeepLinkInAppCallback

Ready-to-use implementation of InAppCallback that opens a link of any scheme if there is an activity able to handle it.

The link is opened via an ACTION_VIEW intent and the system decides where it goes: a custom deep link or a verified Android App Link is opened inside the app, while a regular http/https link is opened in the browser. In other words, this callback covers both deep links and plain web urls, so it is the only link-opening callback needed in the default chain.

Do NOT combine it with UrlInAppCallback in the same chain: both would issue startActivity for the same http/https link, opening it twice.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun onInAppClick(id: String, redirectUrl: String, payload: String)

Method that triggers when user clicks on InApp message

Link copied to clipboard
open override fun onInAppDismissed(id: String)

Method that triggers when InApp message is dismissed by user