By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account [webview] let WebViewController support shouldInterceptRequest for loading offline resources #143053 [webview] let WebViewController support shouldInterceptRequest for loading offline resources #143053 JunhuaLin opened this issue Feb 7, 2024 · 3 comments

Use case

webview_flutter

Let the WebVIew's WebViewController support shouldInterceptRequest for loading offline resources.

In WebView loading optimization, local resources will be used to replace network resources to provide webview loading speed. In this case, use the shouldInterceptRequest of WebViewClient of Android WebView to replace resource request intercepting with local resources.

Proposal

changed the title [webview] Let the WebVIew's WebViewController support shouldInterceptRequest for loading offline resources [webview] let WebViewController support shouldInterceptRequest for loading offline resources Feb 7, 2024