All the plugin repositories must feature a top-level plugins.xml manifest file. This file defines the plugin, various platforms it supports, and its structure. There are multiple specifications in this file, some of these are mentioned here:
- name: Human readable name
- description: Description about the plugin
- author: Author name
- keywords: Keywords that describe the plugin
- license: License of the plugin
- js-module: Including JavaScript files
- platform: For including multiple platform and associated code
- source-file: Identifies executable source code
- dependencies: For adding dependencies on other plugins
The following is an example plugins.xml file for a simple Cordova plugin:
<?xml version="1.0" encoding="utf-8"?><plugin ...