-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathplugin.xml
More file actions
29 lines (27 loc) · 1.19 KB
/
plugin.xml
File metadata and controls
29 lines (27 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-appversion" version="1.0.0">
<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>
</plugin>