Cordova, Plugins, and Determining What Supports What

This post is more than 2 years old.

Earlier today a user on the Cordova development list asked if plugins are tested against only the current release of the SDK. This brought up an interesting discussion that I'm summarizing here.

First, there is still an idea of "core" plugins versus "third party" plugins. Core plugins include the things that have traditionally been part of the core feature set, like Camera and Geolocation. While there is no firm list of what is considered core, I'd say anything under the org.apache.cordova namespace is core. You can see a list of them here:

The question was - in general - when a new version of a plugin is released, is it tested against the most recent version of Cordova.

The answer is yes. Nice and simple. Michal Mocny (Apache Cordova committer) had this to say:

"When we do a platform release, we test with the latest plugins to make sure the platform isn't breaking things. When we do a plugins release, we test with the latest platforms to make sure the plugins are not breaking things."

Again, nice and simple. Michal also mentioned something I hadn't noticed before. If you go to and view an individual plugin, you may see this:

This comes from the plugin's plugin.xml file containing the engine tag. As an example:

<engine name="cordova" version=">=3.0.0" />

Unfortunately, not all plugins use this, and obviously you have to trust the developer when they said they've tested something.

It is also worth nothing that the engine referenced above refers to the CLI, not an individual platform release. It should still be relatively safe, but keep that in mind as well.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA

Archived Comments

Comment 1 by Brian Rinaldi posted on 10/1/2014 at 11:43 PM

It's worth noting that Telerik supports an open, verified plugin marketplace for Cordova where plugins are tested and documented. The idea is to cover well beyond the core plugins, as the plugin ecosystem is key to PhoneGap/Cordova's success.

** Of course, I should mention that I work for Telerik

Comment 2 by Raymond Camden posted on 10/1/2014 at 11:48 PM

Good point there Brian, thanks for bringing that open!