-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
55 lines (47 loc) · 2.19 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.tlantic.plugins.ismp"
version="0.1.0">
<name>iSMP</name>
<description>Tlantic Ingenico plugin for iSMP</description>
<license>GPL</license>
<keywords>cordova, tlantic, ingenico, payment, ismp</keywords>
<!-- www -->
<js-module src="www/ismp.js" name="iSMP">
<clobbers target="window.tlantic.plugins.ismp" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="iSMP">
<param name="ios-package" value="CDViSMPPlugin" />
</feature>
</config-file>
<!-- workaround for duped entries on PLIST # cordova issue # https://issues.apache.org/jira/browse/CB-4731 -->
<config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
<string>WORKAROUND</string>
</config-file>
<!--this need to be added to the .plist file-->
<config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
<array>
<string>com.ingenico.easypayemv.printer</string>
<string>com.ingenico.easypayemv.barcodereader</string>
<string>com.ingenico.easypayemv.spm-transaction</string>
<string>com.ingenico.easypayemv.spm-configuration</string>
<string>com.ingenico.easypayemv.spm-networkaccess</string>
</array>
</config-file>
<!-- iSMP Frameworks -->
<framework src="SystemConfiguration.framework" />
<framework src="CFNetwork.framework" />
<framework src="ExternalAccessory.framework" />
<framework src="src/ios/frameworks/iSMP.framework" custom="true" />
<framework src="src/ios/frameworks/iSMP.RPurchase.framework" custom="true" />
<!-- Plugin Code / Cordova "Interface" -->
<header-file src="src/ios/CDViSMPPlugin.h" />
<source-file src="src/ios/CDViSMPPlugin.m" />
<!-- iSMP / Ingenico code interface -->
<header-file src="src/ios/iSMP.h" />
<source-file src="src/ios/iSMP.m" />
</platform>
</plugin>