cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject docs commit: CB-12189 Document `implementation` attribute
Date Fri, 23 Dec 2016 12:18:30 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 3da99ed88 -> e4390a3ab

CB-12189 Document `implementation` attribute

 This closes #671


Branch: refs/heads/master
Commit: e4390a3ab07527295ece6618e98ff6bee1adc980
Parents: 3da99ed
Author: Vladimir Kotikov <>
Authored: Wed Dec 21 14:09:29 2016 +0300
Committer: Vladimir Kotikov <>
Committed: Fri Dec 23 15:18:07 2016 +0300

 www/docs/en/dev/plugin_ref/ | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/www/docs/en/dev/plugin_ref/ b/www/docs/en/dev/plugin_ref/
index 57703db..4e52c61 100644
--- a/www/docs/en/dev/plugin_ref/
+++ b/www/docs/en/dev/plugin_ref/
@@ -521,6 +521,7 @@ arch(string) <br/> ==windows== | Allowed values: `x86`, `x64` or
`ARM`. <br/> In
 device-target(string) <br/> ==windows== | Allowed values: `win` (or `windows`), `phone`
or `all`. <br/>  Indicates that the framework should only be included when building
for the specified target device type.
 versions(string) <br/> ==windows== | Indicates that the framework should only be included
when building for versions that match the specified version string. Value can be any valid
node semantic version range string.
 target-dir(string) <br/> ==windows== | Indicates a subdirectory into which the framework
should be copied. In practice, this is most important when plugin contains different framework
versions for different chip architectures or device targets, but which have the same name.
This allows you to specify different subfolders for each framework version so that they don't
overlap each other.
+implementation(string) <br/> ==windows== | Sets the relative path to `.dll` file that
contains implementation for WinMD component, written in C++.
 spec(string) <br/> ==ios== | Paired with `type="podspec"`, this is the spec string
for the CocoaPod you want to install (static library only). CocoaPod support only exists in
`cordova-ios 4.3.0` and `cordova-cli 6.4.0`. For your plugin, make sure  you add the appropriate
`<engine>` tags and `package.json` [dependencies](../guide/hybrid/plugins/index.html#specifying-cordova-dependencies)
to ensure backwards-compatible support.
@@ -562,6 +563,17 @@ Examples of using these Windows specific attributes:
 <framework src="src/windows/example.dll" target-dir="bin/x64" arch="x64" custom="true"/>
+Another example of using Windows-specific attributes to add a reference to WinMD components,
written in C# and C++, whose API will be available at runtime:
+<!-- C# component that consists of one .winmd file -->
+<framework src="lib\windows\component.winmd" versions="<10.0" />
+<!-- C++ component with separated metadata and implementation-->
+<framework src="lib\windows\x86\cppcomponent.winmd"
+           implementation="lib\windows\x86\cppcomponent.dll"
+           target-dir="component\x86" arch="x86" versions=">=10.0" />
 ## info
 Additional information provided to users. This is useful when you require extra steps that
can't be easily automated or are beyond the CLI's scope. The contents of this tag gets printed
out when the CLI installs the plugin.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message