Plugin.xml

Plugin.xml

Plugin.xml file defines the structure and settings required for your plugin. It has several elements to provide details about your plugin.

plugin

The plugin element is the plugin manifest's top-level element.

Attributes(type)
Only for platform:
Description
xmlns(string) Required
The plugin namespace, http://apache.org/cordova/ns/plugins/1.0. If the document contains XML from other namespaces, such as tags to be added to the AndroidManifest.xml file in the case of Android, those namespaces should also be included in the element.
id(string) Required
A npm-style identifier for the plugin.
version(string) Required
A version number for the plugin.