Skip to content

This command line tool is an easy way to migrate your existing Cordova based (including Ionic) projects over to use Crosswalks Chromium webview.

License

Notifications You must be signed in to change notification settings

tylerthebuildor/cordova-android-crosswalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

** Warning: No Longer Active! **

** Instead use Crosswalk's Official Implementation **

Links


cordova-android-crosswalk

This command line tool is an easy way to migrate your existing Cordova based (including Ionic) projects over to use Crosswalks Chromium webview. The performance benefit is huge, you get access to all the latest web APIs, and the only major draw back is increased apk size.

Version

0.3.6

Installation

You need Cordova and all of it's dependencies installed globally:

$ npm install -g cordova-android-crosswalk

Usage

Simply enter your projects root folder and run:

$ cordova-android-crosswalk

Use -r or --release to specify Crosswalk release channel. Three possible choices "canary", "beta", or "stable". Defaults to "stable".

$ cordova-android-crosswalk -r canary

Use -t or --target to specify the target android version. Defaults to highest target version from android list target -c.

$ cordova-android-crosswalk -t android-21

Use -p or --preserve to maintain your prexisting Crosswalk bundle download. Default downloads Crosswalk everytime.

$ cordova-android-crosswalk -p

Use -x or --xwalk-version to specify Crosswalk release version. Defaults to latest stable version.

$ cordova-android-crosswalk -x 9.38.208.10

Use -a or --arch to choose between arm and x86 architectures. Two possible chioces "x86" or "arm". Defaults to both.

$ cordova-android-crosswalk -a x86

Use -f or --force to suppress build warnings.

$ cordova-android-crosswalk -f

Use -h or --help prints list of flags.

$ cordova-android-crosswalk -h

Use -v or --version prints cordova-android-crosswalk version.

$ cordova-android-crosswalk -v

Todo's

  • Write Tests
  • Add Cordova version check for 3.5
  • Pressure crosswalk-project.org to offer a latest-release url for each build
  • Implement promises to clean up code
  • Add help flag that prints commands
  • Add version flag
  • Implement more helpful errors

License

MIT

Free Software, Hell Yeah!

About

This command line tool is an easy way to migrate your existing Cordova based (including Ionic) projects over to use Crosswalks Chromium webview.

Resources

License

Stars

Watchers

Forks

Packages

No packages published