zzz_archive [Add plugins with crosswalk cordova android] - PeterWangIntel/crosswalk-website GitHub Wiki
The content from this page has been promoted to the main website at https://crosswalk-project.org/#documentation/cordova/add_plugins
We recommend to use plugman
to install plugins. You need to have node.js installed. Then install plugman
by:
$ npm install -g plugman
If your app is not generated, please refer to Create Sample App to generate your app first.
You can find the plugin API reference and install URL in Cordova API Reference. For example, if you would like to install Accelerometer into your app, please install it by:
$ plugman install --platform android --project /path/to/your/app --plugin https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git
Please refer to Using Plugman to Manage Plugins for more details.
Please refer to Plugins Supported by Crosswalk-Cordova-Android 3.3.0 for plugin installation URLs.