[
https://issues.apache.org/jira/browse/CB-7939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200209#comment-14200209
]
Jon Tancer commented on CB-7939:
--------------------------------
Thanks Andrew for confirming my suspicion. Just incase anyone else runs into
this issue, I posted a workaround for it up on stack overflow. I was able to
override the chrome webview's proxy settings at runtime using reflection.
http://stackoverflow.com/a/26781539/1015387
> Android CordovaChromeClient doesn't respect Wifi proxy bypass list
> ------------------------------------------------------------------
>
> Key: CB-7939
> URL: https://issues.apache.org/jira/browse/CB-7939
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.5.0
> Environment: Android 4.4.2
> Reporter: Jon Tancer
> Assignee: Andrew Grieve
> Labels: android, proxy, webview
>
> When running a cordova app on an Android 4.4.2 device, the device does not
> respect the "Bypass proxy for:" list in the device's WiFi settings.
> My ajax request ultimately fails, because authentication to the proxy fails.
> The end points I am requesting are internal servers which are listed as
> exclusions in the setting mentioned above, so they should never be going
> through the proxy and ultimately failing.
> My listed exclusions are:
> company.com,subdomain.company.com
> Changing the Wifi exclusion setting to only include
> hostname.subdomain.company.com fixes the issue, but this is not a feasible.
> This issue is not present in older versions of Android, holding all other
> variables constant. The issue is also not present when creating a
> HttpURLConnection in native java code, it only happens with ajax requests
> through javascript. This leads me to believe it has something to do with the
> Chrome WebView which was introduced in Android 4.4 KitKat.
> Any ideas? Can the proxy exclusion be manually over ridden from the app?
> More details about the Chrome Web View here:
> https://developer.chrome.com/multidevice/webview/overview
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]