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/25 10:57:12 UTC
[jira] [Updated] (CB-11288) shouldOverrideUrlLoading not called
[ https://issues.apache.org/jira/browse/CB-11288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vontio updated CB-11288:
------------------------
Labels: plugin (was: )
> 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