From 58bc7c7291da8c114f652445b9fb346f5f60f0e2 Mon Sep 17 00:00:00 2001 From: Manuel Beck Date: Sat, 5 Apr 2025 10:31:04 +0200 Subject: [PATCH 1/3] Plugin Guide: Notes for --link option Added notice, that the linking only works, when the plugin is added after a platform was added and that the linking will be lost if a platform is re-added --- www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md b/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md index f748773b5f..aad5e9aabc 100644 --- a/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md +++ b/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md @@ -194,7 +194,7 @@ cordova plugin add ../path/to/my/plugin/relative/to/project --link ``` This creates a symbolic link instead of copying the plugin files, which enables you -to work on your plugin and then simply rebuild the app to use your changes. +to work on your plugin and then simply rebuild the app to use your changes. You have to add the plugin after you added the platform, otherwise the link will not work. The link will also be lost, if you re-add a platform. If you do this you have to re-add the plugin. ## Validating a Plugin using Plugman From 1ae3d68b140fc5971f62c3d6886e56db56f22ade Mon Sep 17 00:00:00 2001 From: Manuel Beck Date: Sun, 8 Jun 2025 13:37:50 +0200 Subject: [PATCH 2/3] Update www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change wording - Link will also be lost during restoring Co-authored-by: エリス --- www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md b/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md index aad5e9aabc..670813dd9b 100644 --- a/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md +++ b/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md @@ -194,7 +194,7 @@ cordova plugin add ../path/to/my/plugin/relative/to/project --link ``` This creates a symbolic link instead of copying the plugin files, which enables you -to work on your plugin and then simply rebuild the app to use your changes. You have to add the plugin after you added the platform, otherwise the link will not work. The link will also be lost, if you re-add a platform. If you do this you have to re-add the plugin. +to work on your plugin and then simply rebuild the app to use your changes. The plugin should be added after the platform, or the link will not work. The link will also be lost if you re-add the platform or restore the project. In that case, you'll need to re-add the plugin to restore the link. ## Validating a Plugin using Plugman From 00fdcfae7e1394d77382102a27c22c090ed0569f Mon Sep 17 00:00:00 2001 From: Manuel Beck Date: Sun, 8 Jun 2025 13:56:43 +0200 Subject: [PATCH 3/3] Plugin Guide: Link to plugin versioning --- www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md b/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md index 670813dd9b..063edd6eeb 100644 --- a/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md +++ b/www/docs/en/12.x-2025.01/guide/hybrid/plugins/index.md @@ -194,7 +194,7 @@ cordova plugin add ../path/to/my/plugin/relative/to/project --link ``` This creates a symbolic link instead of copying the plugin files, which enables you -to work on your plugin and then simply rebuild the app to use your changes. The plugin should be added after the platform, or the link will not work. The link will also be lost if you re-add the platform or restore the project. In that case, you'll need to re-add the plugin to restore the link. +to work on your plugin and then simply rebuild the app to use your changes. The plugin should be added after the platform, or the link will not work. The link will also be lost if you re-add the platform or [restore the project](../../../platform_plugin_versioning_ref/index.md) with `cordova prepare`. In that case, you'll need to re-add the plugin to restore the link. ## Validating a Plugin using Plugman