forked from CesarBalzer/Cordova-Plugin-BTPrinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
40 lines (31 loc) · 1.37 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-btprinter"
version="0.0.1-dev">
<name>BTPrinter</name>
<description>A cordova plugin for bluetooth printer for android platform.</description>
<repo>https://github.com/CesarBalzer/Cordova-Plugin-BTPrinter</repo>
<license>Apache 2.0</license>
<keywords>cordova, bluetooth, printer, pos, text, barcode, image, base64, qrcode</keywords>
<author>Cesar E. Balzer</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="br.com.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/br/com/cordova/printer/bluetooth" />
</platform>
</plugin>