Deep Links and Web Links
Handling Deep Links in Chat
Certain chat flows may present buttons that are deep links to another part of your app. To react to taps on these buttons, implement the ASAPPDeepLinkHandler
interface:
ASAPP provides an Activity
instance for convenience, in case you need to start a new activity. Please ask your Implementation Manager if you have questions regarding deep link names and data.
Handling Web Links in Chat
Certain chat flows may present buttons that are web links. To react to taps on these buttons, implement the ASAPPWebLinkHandler
interface:
If you don’t implement the handler (see above), the ASAPP SDK will open the link utilizing the system default with Intent.ACTION_VIEW
.
Implementing Deep Links into Chat
Getting Started
Please see the Android documentation on Handling Android App Links.
Connecting the Pieces
Once you set up a custom URL scheme for your app and handle deep links into your application, you can start chat to pass any data payload extracted from the link:
Was this page helpful?