forked from JonHerr/cordova-plugin-app-version
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
35 lines (32 loc) · 1.38 KB
/
plugin.xml
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
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-appversion" version="1.0.1">
<name>App Version</name>
<description>Expose the native app version to JavaScript</description>
<license>MIT</license>
<js-module src="www/app-version.js" name="RareloopAppVersion">
<clobbers target="AppVersion" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="RareloopAppVersion">
<param name="ios-package" value="RareloopAppVersion"/>
</feature>
</config-file>
<header-file src="src/ios/RareloopAppVersion.h" />
<source-file src="src/ios/RareloopAppVersion.m" />
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="RareloopAppVersion">
<param name="android-package" value="com.rareloop.cordova.appversion.RareloopAppVersion"/>
</feature>
</config-file>
<source-file src="src/android/RareloopAppVersion.java" target-dir="src/com/rareloop/cordova/appversion" />
</platform>
<platform name="windows">
<js-module src="src/windows/RareloopAppVersion.js" name="RareloopAppVersionProxy">
<merges target="" />
</js-module>
</platform>
</plugin>