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 theASAPPDeepLinkHandler interface:
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.
Example: Parsing and Opening Deep Links in Your Activity
If your app receives deep links through an Intent, you can extract the parameters and forward them to the ASAPP SDK when you reopen a chat.✅ Tip: This approach ensures your app only responds to deep links from the expected host, and safely maps query parameters into a format that openChat() can consume.
Handling Web Links in Chat
Certain chat flows may present buttons that are web links. To react to taps on these buttons, implement theASAPPWebLinkHandler 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.