Issue
is there any equivalent of this in flutter for intercept all request from webview
webview.webViewClient = object : WebViewClient() {
override fun shouldInterceptRequest(view: WebView?,request: WebResourceRequest? ): WebResourceResponse? {
return super.shouldInterceptRequest(view, request)}}
thanks
Solution
https://pub.dev/packages/flutter_inappwebview
useShouldInterceptFetchRequest function should help!
Answered By – Ankit Kumar Nath
Answer Checked By – Dawn Plyler (FlutterFixes Volunteer)