cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Clelland <iclell...@chromium.org>
Subject Re: Android: Deprecate WebView.sendJavascript()?
Date Mon, 26 May 2014 19:07:02 GMT
On Mon, May 26, 2014 at 2:58 PM, Joe Bowser <bowserj@gmail.com> wrote:

> On Mon, May 26, 2014 at 11:53 AM, Jesse <purplecabbage@gmail.com> wrote:
> > Is the webview method evaluateJavascript [1] still available, callable
> from
> > the context of a plugin? Or is this somehow hidden?
>
> It only exists on KitKat, earlier implementations require
> loadURL(javascript://).
>
> >
> > Personally I think is okay to remove the cordova implemented
> > sendJavascript() as long as there is still a way to accomplish the rare
> but
> > sometimes required bare metal pass through.
> >
> > Do/will other pluggable webviews support a consistent interface for
> calling
> > javascript in their loaded pages? ie. Does crosswalk support
> > evaluateJavascript?
> >
> Very good question! I don't know.
>

Crosswalk's XWalkView supports evaluateJavascript, and I believe that it is
actually being used by InAppBrowser.

I don't know about any other webviews.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message