-
Notifications
You must be signed in to change notification settings - Fork 41
/
plugin.xml
30 lines (28 loc) · 1.63 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="thermal-printer-cordova-plugin" version="1.0.6">
<name>Cordova Plugin ESCPOS Printer</name>
<description>Cordova wrapper for ESC/POS Thermal Printer library</description>
<license>Apache 2.0</license>
<keywords>cordova,android,thermal,printer,esc,pos,esc/pos</keywords>
<js-module src="www/thermal-printer.js" name="ThermalPrinterPlugin">
<clobbers target="ThermalPrinter" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ThermalPrinter">
<param name="android-package" value="de.paystory.thermal_printer.ThermalPrinterCordovaPlugin" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-feature android:name="android.hardware.usb.host" />
<uses-permission android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
</config-file>
<source-file src="src/android/ThermalPrinterCordovaPlugin.java" target-dir="src/de/paystory/thermal_printer" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>