/
plugin.xml
27 lines (27 loc) · 1.2 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-punchh" version="1.0.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>PunchhHelper</name>
<js-module name="punchhHelper" src="www/punchh-helper.js">
<clobbers target="cordova.plugins.punchhHelper" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="PunchhHelper">
<param name="android-package" value="com.wearehathway.cordova.punchh.PunchhHelper" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" />
<source-file src="src/android/PunchhHelper.java" target-dir="src/com/wearehathway/cordova/punchh" />
</platform>
<platform name="ios">
<dependency id="cordova-plugin-add-swift-support" />
<config-file parent="/*" target="config.xml">
<feature name="PunchhHelper">
<param name="ios-package" value="PunchhHelper" />
</feature>
</config-file>
<source-file src="src/ios/PunchhHelper.swift" />
</platform>
</plugin>