You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/05/25 20:04:12 UTC

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

    [ https://issues.apache.org/jira/browse/CB-11288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300755#comment-15300755 ] 

Joe Bowser commented on CB-11288:
---------------------------------

Can you provide more details, like which device and which version of Android you're running?

> 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
>              Labels: plugin
>
> 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