Crosswalk WebView Cordova Plugin
Clone or download
Pull request Compare This branch is 25 commits ahead of phonegap-build:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libs/xwalk_core_library
src/android
.gitignore
LICENSE
NOTICE
PlatformScriptsWorkflow.md
README.md
package.json
plugin.xml

README.md

Apache Cordova Crosswalk Engine Proof-of-Concept

Cordova Crosswalk Engine is a part of a Proof-of-Concept for third party engines to work with Apache Cordova. This currently only works with the 4.0.x branch of Apache Cordova found on GitHub, and as of yet, does not work with any official Apache Cordova release. This code should still be considered experimental.

Directions (We're still trying to automate more of this, sorry):

Android-only:

  1. Pull down the 4.0.x branch of Apache Cordova found here (https://github.com/apache/cordova-android/tree/4.0.x)
  2. Clone this repository.
  3. Run sh fetch_libs.sh to download the Crosswalk library
  4. Generate a project with ./bin/create
  5. Run Plugman: plugman install --platform android --plugin <path_to_crosswalk_engine>/cordova-crosswalk-engine/ --project .
  6. Add the libs/xwalk_core_library as a dependency in project.properties. (Note: Relative Paths work for libraries, not absolute paths. Manually edit if necessary.)

Cordova CLI:

  1. Install the latest version of the Cordova CLI from npm (Requires at least 3.5.0-0.2.6)
  2. Pull down the 4.0.x branch of Apache Cordova found here (https://github.com/apache/cordova-android/tree/4.0.x)
  3. Clone this repository.
  4. Run sh fetch_libs.sh to download the Crosswalk library
  5. Create a project with cordova create
  6. Add the Android platform with cordova platform add <path to cordova-android>
  7. Add the Crosswalk Engine plugin with cordova plugin add <path to crosswalk-engine-plugin>

Requirements:

fetch_libs.sh requires curl and unzip to be installed, and on the current PATH.