You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Graham Mueller (JIRA)" <ji...@apache.org> on 2014/05/05 22:55:18 UTC

[jira] [Comment Edited] (CB-6623) Android WebView class not using evaluateJavascript when platform >= 19

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

Graham Mueller edited comment on CB-6623 at 5/5/14 8:54 PM:
------------------------------------------------------------

I don't think it does, actually. It eventually calls back to the loadUrl function, which is the problem. 

The problem isn't related to plugins, it's an issue with the loadUrlNow method, which always calls loadUrl, and doesn't perform that platform check.


was (Author: shortstuffsushi):
I don't think it does, actually. It eventually calls back to the loadUrl function, which is the 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)