-
Notifications
You must be signed in to change notification settings - Fork 11
/
plugin.xml
81 lines (68 loc) · 3.4 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-epson-epos2"
version="1.0.0">
<name>Cordova Plugin ePOS2</name>
<description></description>
<license>MIT</license>
<keywords></keywords>
<repo>https://github.com/aelx311/cordova-plugin-epos2.git</repo>
<issue> https://github.com/aelx311/cordova-plugin-epos2/issues</issue>
<!-- android -->
<platform name="android">
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="cordova.epos2" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="epos2">
<param name="android-package" value="com.cordova.plugin.epos2Plugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
</config-file>
<source-file src="src/android/epos2Plugin.java" target-dir="src/com/cordova/plugin" />
<!-- libs -->
<source-file src="src/android/libs/arm64-v8a/libepos2.so" target-dir="libs/arm64-v8a/" />
<source-file src="src/android/libs/armeabi-v7a/libepos2.so" target-dir="libs/armeabi-v7a/" />
<source-file src="src/android/libs/armeabi/libepos2.so" target-dir="libs/armeabi/" />
<source-file src="src/android/libs/x86_64/libepos2.so" target-dir="libs/x86_64/" />
<source-file src="src/android/libs/x86/libepos2.so" target-dir="libs/x86/" />
<lib-file src="src/android/libs/ePOS2.jar" target-dir="libs/" />
<!-- jniLibs -->
<source-file src="src/android/libs/arm64-v8a/libepos2.so" target-dir="jniLibs/arm64-v8a/" />
<source-file src="src/android/libs/armeabi-v7a/libepos2.so" target-dir="jniLibs/armeabi-v7a/" />
<source-file src="src/android/libs/armeabi/libepos2.so" target-dir="jniLibs/armeabi/" />
<source-file src="src/android/libs/x86_64/libepos2.so" target-dir="jniLibs/x86_64/" />
<source-file src="src/android/libs/x86/libepos2.so" target-dir="jniLibs/x86/" />
<lib-file src="src/android/libs/ePOS2.jar" target-dir="jniLibs/" />
</platform>
<platform name="ios">
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="cordova.epos2" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="epos2">
<param name="ios-package" value="epos2Plugin" onload="true" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
<array>
<string>com.epson.escpos</string>
</array>
</config-file>
<header-file src="src/ios/ePOS2.h" />
<header-file src="src/ios/epos2Plugin.h" />
<source-file src="src/ios/epos2Plugin.m" />
<source-file src="src/ios/libepos2.a" framework="true" />
<framework src="libxml2.2.dylib" framework="true" />
<framework src="ExternalAccessory.framework" framework="true" />
</platform>
</plugin>