[
https://issues.apache.org/jira/browse/CB-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990008#comment-13990008
]
Graham Mueller commented on CB-6623:
------------------------------------
I guess I should mention, ultimately the reason I've come across this is that
when we call loadUrl with javascript:window.location.hash=foo, the page loads
the text, foo, and nothing else. This only happens in 4.4, and only when using
loadUrl. If we instead use evaluateJavascript, we have no problem.
> Android WebView class not using evaluateJavascript when platform >= 19
> ----------------------------------------------------------------------
>
> Key: CB-6623
> URL: https://issues.apache.org/jira/browse/CB-6623
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.4.0
> Reporter: Graham Mueller
>
> I noticed there have been a couple issues (CB-5756 and CB-6052) that seem to
> refer to the usage of loadUrl for javascript: calls. In 4.4 this causes the
> page to load to fail, and the InAppBrowser was updated.
> The WebView itself is still calling loadUrl for everything though -- see
> lines 509-516 of that class (loadWebViewNow). Shouldn't this be updated to
> instead use evaluateJavascript if the SDK_INT is >= 19?
--
This message was sent by Atlassian JIRA
(v6.2#6252)