When using the Cordova APIs, an app can be built without any native code (Java, Objective-C, etc) from the app developer. Instead, web technologies are used, and they are hosted in the app itself locally (generally not on a remote http server).
Apps using Cordova are still packaged as apps using the platform SDKs, and can be made available for installation from each device's app store.
Apache Cordova graduated in October 2012 as a top level project within the Apache Software Foundation (ASF). Through the ASF, future Cordova development will ensure open stewardship of the project. It will always remain free and open source under the Apache License, Version 2.0.
Some additional information may be found on our Apache project page.
New versions of cordova tools are now live!
<feature>tags have been renamed to
<plugin>tags in your projects
config.xml. Adding a
<plugin>tag to your
config.xmlwill fetch and install it on
cordova prepareif it isn’t already installed.
config.xml. When adding plugins or platforms, use the
--saveflag to add them to
cordova platform add android --save. Existing projects can use
cordova plugin saveand
cordova platform savecommands to save all previously installed plugins and platforms into your project’s
config.xml. Platforms and plugins will be autorestored when
cordova prepareis run. This allows developers to easily manage and share their dependenceis among different development enviroments and with their coworkers.
To update your tools:
If you have
npm install -g cordova
If you have
npm install -g plugman
The Apache Cordova team is happy to announce a new plugins release that coincides with us moving our core plugins to npm!
With the move over to npm, we have decided to rename our core plugins for improved readability and to better fit within the npm ecosystem.
cordova plugin add cordova-plugin-device. Using the new ID will fetch the plugin directly from npm.
Our current Cordova plugins registry (CPR) will continue to be operational for at least 6 months (
October 15th, 2015) as we help plugin developers transition over to npm. This will also allow current Cordova developers to upgrade their
CLI to version 5.0.0 or higher.
July 15th, 2015.
To find plugins on npm, search for ecosystem:cordova. We are working with npm to improve discoverability and will have more to announce later this year. We encourage all third party plugin developers to add
ecosystem:cordova as a keyword in their plugin’s
Optional Decide if you want to change your plugin’s
id. If you decide to change it,
plugin.xmland update your readme with the new
idwhen adding plugins to their projects.
package.json to your plugins,
plugin.xmlis the same as your
plugman createpackagejson [PLUGIN DIRECTORY]to create
ecosystem:cordovato your newly generated
package.jsonwhich we plan to use in future updates of the tooling.
package.jsonof cordova-plugin-device to see an example of what your
package.jsonshould look like after running
plugman createpackagejson [PLUGIN DIRECTORY]command.
plugin.xmlto be installed into Cordova projects.
Publish your plugin to npm using the
npm publish [PLUGIN DIRECTORY].
We recently released cordova-plugin-whitelist and cordova-plugin-legacy-whitelist. We have revamped how whitelisting works starting with
firstname.lastname@example.org. With this change, setting a Content-Security-Policy (CSP) is now supported. Network requests are blocked by default without
cordova-plugin-whitelist, so install this plugin even to allow all requests, and even if you are using CSP.
email@example.com projects to continue using the old whitelisting method. We recommend using
Other platforms will include support for
cordova-plugin-whitelist in future releases. To learn more about whitelisting, please read the
firstname.lastname@example.org release blog post.
The following plugins were updated today:
To update your existing plugins, you need to update your version of
Cordova CLI to version 5.0.0.
E.g. To update your cli: `npm install -g email@example.com`
Then remove your old plugin and re-add it using the new ID.
E.g. To update your camera plugin: `cordova plugin rm org.apache.cordova.camera` `cordova plugin add cordova-plugin-camera`
Plugin changes include:
We are happy to announce that
Cordova Android 4.0.0 has been released!
This release adds significant functionality, and also introduces a number of breaking changes. Mostly though, it adds first-class support for Crosswalk – a bundled modern WebView!
firstname.lastname@example.org will be the default android version in the next version of
cordova. If you just can’t wait though, you can try it out now:
cd my_project cordova platform update email@example.com cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git#r1.0.0 # To install Crosswalk (optional): cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-crosswalk-webview.git#1.0.0
Contributors are welcome! And we need your contributions to keep the project moving forward. You can report bugs, improve the documentation, or contribute code.
To share your contributions with the community, you can send a pull request on GitHub to the Apache git mirrors. You can also advocate for your changes directly on our developer mailing list.
In order for your changes to be accepted, you need to sign and submit an Apache ICLA (Individual Contributor License Agreement). Then your name will appear on the list of CLAs signed by non-committers or Cordova committers.
And don't forget to test and document your code.
Each component of Apache Cordova is in a separate git repository:
Dev mailing list is a place for discussion about developing Apache Cordova.
If you are a Cordova user looking for help, use the cordova tag on Stack Overflow.
Commits mailing list tracks commit logs for Apache Cordova repos.
Issues mailing list tracks comments and updates to Jira items regarding Apache Cordova.
It is recommended that the cordova CLI be installed from npm rather than downloading this .zip version. For more information on installing the npm version see the Command-Line Interface section of the documentation.
You can find our release zips with corresponding OpenPGPkeys, MD5 and SHA files on the Apache Cordova dist page.
Our artwork is also available.
Older versions can be downloaded from the archive.