forked from alexbonine/version-name
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
30 lines (28 loc) · 1.19 KB
/
plugin.xml
File metadata and controls
30 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.phonegap.plugins.versionname" version="0.0.1">
<name>VersionName</name>
<description>Cordova Get Version Name</description>
<license>Apache 2.0</license>
<keywords>cordova,phonegap,version</keywords>
<js-module src="www/versionname.js" name="versionname">
<clobbers target="versionname" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="VersionName">
<param name="ios-package" value="VersionName"/>
</feature>
</config-file>
<header-file src="src/ios/VersionName.h" />
<source-file src="src/ios/VersionName.m" />
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="VersionName">
<param name="android-package" value="com.phonegap.plugins.versionname.VersionName"/>
</feature>
</config-file>
<source-file src="src/android/VersionName.java" target-dir="src/com/phonegap/plugins/versionname" />
</platform>
</plugin>