-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.xml
60 lines (47 loc) · 1.92 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android" id="com.alignace.cordova.plugin.card.reader"
version="1.0.0">
<name>CardRaderPlugin</name>
<description>Cordova plugin for 3.5mm Headphone Jack Mini Magnetic
Mobile Card Reader
</description>
<keywords>Magnetic Mobile Card Reader, credit card</keywords>
<author>Ayajahmed Shaikh</author>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/CardRaderPlugin.js" name="CardRaderPlugin">
<clobbers target="CardRaderPlugin" />
</js-module>
<platform name="android">
<lib-file src="src/android/libs/square.jar" arch="device" />
<source-file
src="src/android/src/com/alignace/cordova/plugin/card/reader/CardRaderPlugin.java"
target-dir="src/com/alignace/cordova/plugin/card/reader" />
<source-file
src="src/android/src/com/alignace/cordova/plugin/card/reader/CardResult.java"
target-dir="src/com/alignace/cordova/plugin/card/reader" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CardRaderPlugin">
<param name="android-package"
value="com.alignace.cordova.plugin.card.reader.CardRaderPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</config-file>
</platform>
<platform name="ios">
<framework src="libs/libiMagRead.a" />
<config-file target="config.xml" parent="/*">
<feature name="CardRaderPlugin">
<param name="ios-package" value="CardRaderPlugin"/>
</feature>
</config-file>
<header-file src="src/ios/CardRaderPlugin.h" />
<header-file src="src/ios/iMagRead.h" />
<header-file src="src/ios/CardRaderPlugin.m" />
</platform>
</plugin>