-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·54 lines (45 loc) · 2.29 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-magtek" version="0.0.1">
<name>MagTek</name>
<description>Cordova MagTek Plugin</description>
<license>MIT</license>
<keywords>cordova,magtek,cordova-ios,cordova-android</keywords>
<repo>https://github.com/R1Daneel/cordova-plugin-magtek.git</repo>
<issue>https://github.com/R1Daneel/cordova-plugin-magtek/issues</issue>
<js-module src="www/magtek.js" name="MagTek">
<clobbers target="cordova.plugins.magtek" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MagTek">
<param name="ios-package" value="CDVMagTek"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVMagTek.h" />
<source-file src="src/ios/CDVMagTek.m" />
<header-file src="src/ios/lib/MTSCRA.h" />
<source-file src="src/ios/lib/libMTSCRA.a" framework="true" />
<framework src="CoreBluetooth.framework" />
<framework src="libstdc++.6.tbd" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="MagTek">
<param name="android-package" value="it.lmancini.cordova.magtek.CDVMagTek"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
</config-file>
<source-file src="src/android/CDVMagTekPlugin.java" target-dir="src/it/lmancini/cordova/magtek"/>
<source-file src="src/android/CDVScraHanderCallback.java" target-dir="src/it/lmancini/cordova/magtek"/>
<source-file src="src/android/CDVEventEmitter.java" target-dir="src/it/lmancini/cordova/magtek"/>
<source-file src="src/android/CDVBLEStateReceiver.java" target-dir="src/it/lmancini/cordova/magtek"/>
<source-file src="src/android/lib/mtscra.jar" target-dir="libs" />
</platform>
</plugin>