forked from phonegap/phonegap-plugins
-
Notifications
You must be signed in to change notification settings - Fork 8
/
plugin.xml
83 lines (72 loc) · 4.14 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.velocitywebworks.cordova.card.io" version="0.2.3">
<name>CardIOPlugin</name>
<description>Card.IO Plugin</description>
<license>Apache 2.0</license>
<keywords>card.io</keywords>
<js-module src="www/card.io.js" name="card.io">
<clobbers target="cordova.plugins.cardio" />
</js-module>
<platform name="android">
<lib-file src="libs/card.io.jar" arch="device" />
<lib-file src="libs/armeabi-v7a" arch="device" />
<lib-file src="libs/armeabi" arch="device" />
<lib-file src="libs/mips" arch="device" />
<lib-file src="libs/x86" arch="device" />
<source-file src="src/android/com/velocitywebworks/plugins/cardio/CardIOMain.java"
target-dir="src/com/velocitywebworks/plugins/cardio/" />
<source-file src="src/android/com/velocitywebworks/plugins/cardio/CardIOPlugin.java"
target-dir="src/com/velocitywebworks/plugins/cardio/" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CardIOPlugin">
<param name="android-package" value="com.velocitywebworks.plugins.cardio.CardIOPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="orientation|keyboardHidden" android:name="com.velocitywebworks.plugins.cardio.CardIOMain" android:screenOrientation="landscape" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="com.velocitywebworks.plugins.cardio.SCAN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="io.card.payment.CardIOActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name="io.card.payment.DataEntryActivity" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-feature android:name="android.hardware.camera.flash" android:required="false" />
</config-file>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="CardIOPlugin">
<param name="ios-package" value="CardIOPlugin"/>
</feature>
</config-file>
<header-file src="src/ios/CardIO.h" />
<header-file src="src/ios/CardIOCreditCardInfo.h" />
<header-file src="src/ios/CardIODetectionMode.h" />
<header-file src="src/ios/CardIOPaymentViewController.h" />
<header-file src="src/ios/CardIOPaymentViewControllerDelegate.h" />
<header-file src="src/ios/CardIOPlugin.h" />
<source-file src="src/ios/CardIOPlugin.m" compiler-flags="-fmodules" />
<header-file src="src/ios/CardIOUtilities.h" />
<header-file src="src/ios/CardIOView.h" />
<header-file src="src/ios/CardIOViewDelegate.h" />
<source-file src="libs/libCardIO.a" framework="true" compiler-flags="-fmodules" />
<!-- link libraries for CardIO -->
<framework src="AudioToolbox.framework" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreVideo.framework" />
<framework src="Foundation.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="OpenGLES.framework" />
<framework src="QuartzCore.framework" />
<framework src="Security.framework" />
<framework src="UIKit.framework" />
<framework src="libc++.dylib" />
</platform>
</plugin>