androidShouldInterceptRequest method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform()])
  2. @Deprecated("Use shouldInterceptRequest instead")
FutureOr<WebResourceResponse?>? androidShouldInterceptRequest(
  1. WebResourceRequest request
)

Use shouldInterceptRequest instead.

Officially Supported Platforms/Implementations:

  • Android WebView

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform()])
@Deprecated("Use shouldInterceptRequest instead")
FutureOr<WebResourceResponse?>? androidShouldInterceptRequest(
  WebResourceRequest request,
) {
  return null;
}