You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2025/12/08 15:40:47 UTC
(cordova-docs) 01/01: doc(plugin.xml): Update engine requirements recommendation for Cordova
This is an automated email from the ASF dual-hosted git repository.
manuelbeck pushed a commit to branch pr-plugin-xml-engines-tag-still-required
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
commit 159c7b45b1c396864a94443aafa48a99ffcb18f3
Author: Manuel Beck <ma...@outlook.de>
AuthorDate: Mon Dec 8 16:40:41 2025 +0100
doc(plugin.xml): Update engine requirements recommendation for Cordova
- Make clear, that the <engines> tag in plugin.xml is still required
---
www/docs/en/dev/plugin_ref/spec.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/www/docs/en/dev/plugin_ref/spec.md b/www/docs/en/dev/plugin_ref/spec.md
index de64f58c0e..035da9aef1 100644
--- a/www/docs/en/dev/plugin_ref/spec.md
+++ b/www/docs/en/dev/plugin_ref/spec.md
@@ -51,9 +51,7 @@ Example:
The child elements of the `<engines>` element specify versions of Apache Cordova-based frameworks that this plugin supports. The CLI aborts with a non-zero code for any plugin whose target project does not meet the engine's constraints. If no <engine> tags are specified, the CLI attempts to install into the specified cordova project directory blindly.
->NOTE: In **Cordova 6.1.0+**, the recommended place to specify platform, plugin, and CLI dependencies
->is in a plugin's `package.json`. See [specifying Cordova dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies)
->for more information
+> NOTE: Starting in **Cordova 6.1.0**, it is recommended to include the platform and CLI engine requirements in the plugin's `package.json`, in addition to the `<engines>` declaration in `plugin.xml`. See [Specifying Cordova Dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies) for more information.
Attributes | Description
---------------- | ------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org