TWSViewDeepLinkInterceptor
TWSViewDeepLinkInterceptor
is an implementation of TWSViewInterceptor that handles deep link URLs by launching the appropriate in-app activity if the URL matches the app's package name.
Usage:
Attach this to a
TwsWebViewClient
to intercept URLs and handle supported deep links.
Functionality:
Verifies if the URL can be handled within the app.
Launches the corresponding activity if supported; otherwise, allows the WebView to load the URL.
Parameters
context
The application context used for intent handling and URL verification.