Which Crosswalk? Ionic or Cordova?


#1

I want to use Crosswalk for an existing Android project. I know that Ionic supports it since a couple of months. But now it’s also supported in Cordova Android 4.0.0 since April (cordova-plugin-crosswalk-webview). Is there a difference and if yes, which? What’s recommended?

  • Ionic: ionic browser add crosswalk
    or
  • Cordova: cordova plugin add cordova-plugin-crosswalk-webview

Ionic info:

OS: Mac OS X Yosemite
Node Version: v0.12.2
Cordova CLI: 5.0.0
Ionic CLI Version: 1.3.22
Xcode version: Xcode 6.3.1 Build version 6D1002
ios-sim version: 3.1.1
ios-deploy version: 1.5.0

#2

good question…
though i assume its the same.


#3

I’ve just installed Crosswalk with Ionic and Cordova separately and it seems that Ionic uses now the cordova-plugin-crosswalk-webview plugin too. Additionally, the Ionic CLI outputs the following info when running ionic browser add crosswalk:

Cordova CLI v5.0 no longer requires you to use the ionic browser command to get Crosswalk installed
The ionic browser command will install Cordova Android, the Crosswalk plugin, the whitelist plugin, and the splashscreen plugin for your convenience.
Due to this, if you need to specify a version of Crosswalk, see this link: https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview#configure