You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "vontio (JIRA)" <ji...@apache.org> on 2016/05/18 10:27:13 UTC

[jira] [Created] (CB-11288) shouldOverrideUrlLoading not called

vontio created CB-11288:
---------------------------

             Summary: shouldOverrideUrlLoading not called
                 Key: CB-11288
                 URL: https://issues.apache.org/jira/browse/CB-11288
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 6.0.0
         Environment: windows
            Reporter: vontio


reproduce:
in cordova plugin initialize:
(WebView)(webView.getEngine().getView()).setWebViewClient(new SystemWebViewClient((SystemWebViewEngine) webView.getEngine()){
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
    Log.v(TAG,"shouldOverrideUrlLoading request " + url);
    return super.shouldOverrideUrlLoading(view, url);
}
@Override
public WebResourceResponse shouldInterceptRequest (WebView view, 
            String url)
{
    Log.v(TAG,"shouldInterceptRequest request " + url);
    return super.shouldInterceptRequest(view,url);
}
});

only shouldInterceptRequest called.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org