[
https://issues.apache.org/jira/browse/CB-10365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jordi Murgo closed CB-10365.
----------------------------
Resolution: Not A Problem
Opps.
I have tested again with several devices (nexus5 with 6.0.0 & 6.0.1), and it
works fine. :(
I apologice for the inconvenience.
> Android 6.0 WebView don't intercept all urls
> --------------------------------------------
>
> Key: CB-10365
> URL: https://issues.apache.org/jira/browse/CB-10365
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: Master, 5.0.0
> Reporter: Jordi Murgo
> Priority: Critical
> Labels: easyfix
>
> The call to public WebResourceResponse shouldInterceptRequest(WebView view,
> String url) was deprecated on LOLLIPOP, in favour of the new public
> WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest
> request).
> Android 6.0 WebView use the new one to handle ALL requests, and the old one
> only to handle the main document request.
> Possible fix in SystemWebViewClient.java, add the following method:
> @TargetApi(Build.VERSION_CODES.LOLLIPOP)
> @Override
> public WebResourceResponse shouldInterceptRequest(WebView view,
> WebResourceRequest request) {
> return this.shouldInterceptRequest(view, request.getUrl().toString());
> }
> Salut!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]