I would like to override the shouldInterceptRequest() method found here: https://developer.android.com/reference/android/webkit/WebViewClient.html
So that I can intercept requests that are issued by my app within the Cordova WebView.
I am trying to replicate the method seen here: Android Phonegap - TIMEOUT ERROR when trying to set a WebViewClient
but it seems as though some of the methods and classes are not recognized (Cordova 6.5.0):
this.appView.setWebViewClient()
is not recognized by android studioCordovaWebViewClient
is also giving me syntax error.
Is this method no longer available in newer versions of cordova?
I see there there is something called CordovaWebViewEngine, but I can't find much information on it.