-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
46 lines (37 loc) · 1.84 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
<?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="cordova-plugin-sicu"
version="0.0.1">
<name>BluetoothPrinter</name>
<description>A cordova plugin for bluetooth printer for android platform, which support text printing and POS printing.</description>
<repo>https://github.com/EDcasa/cordova-plugin-sicu</repo>
<license>Apache 2.0</license>
<keywords>cordova, bluetooth, printer, text, image</keywords>
<author>David Casa</author>
<!-- cordova -->
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/BluetoothPrinter.js" name="BluetoothPrinter">
<clobbers target="BTPrinter" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BluetoothPrinter">
<param name="android-package" value="com.ru.cordova.printer.bluetooth.BluetoothPrinter"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<source-file src="src/android/BluetoothPrinter.java" target-dir="src/com/ru/cordova/printer/bluetooth" />
<source-file src="src/android/libs/bixolon_printer_v130.jar" target-dir="libs"/>
<source-file src="src/android/libs/icu4j-58_1.jar" target-dir="libs"/>
<source-file src="src/android/libs/jpos118-controls.jar" target-dir="libs"/>
<source-file src="src/android/libs/xerces.jar" target-dir="libs"/>
</platform>
</plugin>