On April 21 2015, Cordova team announced plans to move core and 3rd party plugins to npm ecosystem. npm Plugin Search page offers an easy and user friendly way to browse plugins that have completed this transition.
To start using plugins from npm, Cordova CLI version 5.0.0 or higher is required.
Cordova team decided to change official plugin IDs from org.apache.cordova.* to cordova-plugin-* to better fit within the npm ecosystem. Developers can install a plugin using the command cordova plugin add cordova-plugin-device
.
Plugin Search displays plugins in form of cards. Each card contains important information about the plugin. Supported platforms is represented in form of platform tags.
Core plugins have a blue strip on the left side of their card.
If you want your Cordova Plugin to show up in search, simply add ecosystem:cordova
keyword to the package.json
file of your plugin and publish it to npm registry.
Similar to ecosystem:cordova
, platform support too uses keywords. Just add the platform name prefixed with "cordova-" to plugins list of keywords. E.g.
"keywords": [
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"cordova-windows"
]
Yes! You can use Cordova Plugins from the old plugin registry.
See Cordova blog for more details. It’s being phased out:
- Read-only after July 15th
- End of support after October 15th
You can help improving this site by opening bugs on JIRA or by sending PRs on GitHub.
Should we rephrase the question How can I
findidentify official core plugins?. Find suggests search to me. Is the answer for Can I still download plugins if I'm using Cordova CLI 4.3.0 or lower? accurate? I think after October 15 direct github URLs will probably be the only way. Perhaps we can extend the answer to refer to the next question.