forked from AlexLealLuz/Cordova-Plugin-Bluetooth-Printer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
40 lines (31 loc) · 1.42 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
<?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-bluetooth-printer"
version="0.0.1-dev">
<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/srehanuddin/Cordova-Plugin-Bluetooth-Printer</repo>
<license>Apache 2.0</license>
<keywords>cordova, bluetooth, printer, pos, text, barcode, image</keywords>
<author>Syed Rehanuddin</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" />
</config-file>
<source-file src="src/android/BluetoothPrinter.java" target-dir="src/com/ru/cordova/printer/bluetooth" />
</platform>
</plugin>