You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/10/05 18:00:04 UTC

[jira] [Closed] (CB-10306) [Android] Support Crosswalk or other engines through a pluggable mechanism

     [ https://issues.apache.org/jira/browse/CB-10306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser closed CB-10306.
---------------------------
    Resolution: Won't Fix

This is beyond the scope of InAppBrowser.  InAppBrowser is starting to get as complex as Cordova-Android itself and plugins that need third-party webviews should be their own plugin.

> [Android] Support Crosswalk or other engines through a pluggable mechanism
> --------------------------------------------------------------------------
>
>                 Key: CB-10306
>                 URL: https://issues.apache.org/jira/browse/CB-10306
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-plugin-inappbrowser
>            Reporter: Daniel Vicory
>              Labels: triaged
>
> Currently InAppBrowser uses the system WebView on Android, which is not awesome for several reasons.
> # WebView is only Chromium in 4.4 and up, and 4.4 uses an old one at that.
> # Some features are turned off even in Chromium-based WebViews.
> # WebView pre-4.4 is pretty awful and doesn't support many modern web technologies.
> I propose that it be made possible to use Crosswalk or other engines with InAppBrowser. We have already begun work on this [on a fork|https://github.com/appfolio/cordova-plugin-inappbrowser/tree/crosswalkSupport] and would be willing to try to get this merged upstream. This is for Android only though; right now we're not planning to apply these same ideas to iOS.
> The general strategy we took was to reuse Cordova: it re-creates a whole Cordova view. This makes many of the settings that were set manually no longer necessary, as Cordova sets them by default. By default, it doesn't reuse any of the plugins or preferences you've defined in {{config.xml}}, but adds an "internal" plugin that the new Cordova view uses which disables bridge access and re-implements the same functionality InAppBrowser previously had.
> To change the engine/views/etc being used, you can override {{InAppBrowserDriver}}, which can be configured with the {{inAppBrowserDriver}} preference in {{config.xml}}. We can open source a driver that enables Crosswalk with this new architecture.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org