If you want your Cordova Plugin to show up in search, simply add the 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 the plugin's list of keywords. E.g.
"keywords": [
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"cordova-windows"
]
plugin.xml
and update your readme with the new id.package.json
to your plugins,
id
in plugin.xml
is the same as your package-name
in package.json
.plugman createpackagejson [PLUGIN DIRECTORY]
to create package.json
.
plugin.xml
.ecosystem:cordova
to your newly generated package.json
file.package.json
which we plan to use in future updates of the tooling.package.json
of cordova-plugin-device to see an example of what your package.json
should look like after running plugman createpackagejson [PLUGIN DIRECTORY]
command.plugin.xml
to be installed into Cordova projects.npm publish [PLUGIN DIRECTORY]
.Yes there are. Please take a look at the Plugin Development Guide for a more detailed guide.
You can help improve this site by opening bugs on JIRA or by sending PRs on GitHub.