UrlInAppCallback

Ready-to-use implementation of InAppCallback that opens only http/https links.

The link is opened via an ACTION_VIEW intent and the system chooses the handler: a regular web link goes to the browser, while a verified Android App Link may be opened inside the corresponding app. Non-http/https schemes (e.g. custom deep links) are ignored — use DeepLinkInAppCallback for those.

Do NOT combine this callback with DeepLinkInAppCallback 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