-
Notifications
You must be signed in to change notification settings - Fork 10
/
plugin.xml
45 lines (36 loc) · 2.02 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-ble-zbtprinter"
version="1.0">
<name>ZebraBluetoothPrinter</name>
<description>A Cordova/Phonegap driver for Zebra bluetooth printers</description>
<license>Apache</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/zbtprinter.js" name="ZebraBluetoothPrinter">
<clobbers target="cordova.plugins.zbtprinter"/>
</js-module>
<!-- android -->
<platform name="android">
<!--<framework src="com.fasterxml.jackson.core:jackson-annotations:2.2.3" type="gradleReference" />
<framework src="com.fasterxml.jackson.core:jackson-core:2.2.3" type="gradleReference" />
<framework src="com.fasterxml.jackson.core:jackson-databind:2.2.3" type="gradleReference" />-->
<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.ACCESS_FINE_LOCATION" />
</config-file>
<source-file src="src/android/it/zenitlab/cordova/plugins/zbtprinter/ZebraBluetoothPrinter.java"
target-dir="src/android/it/zenitlab/cordova/plugins/zbtprinter"/>
<source-file src="src/android/it/zenitlab/cordova/plugins/zbtprinter/ZPLConverter.java"
target-dir="src/android/it/zenitlab/cordova/plugins/zbtprinter"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ZebraBluetoothPrinter">
<param name="android-package" value="it.zenitlab.cordova.plugins.zbtprinter.ZebraBluetoothPrinter"/>
</feature>
</config-file>
<source-file src="src/android/lib/ZSDK_ANDROID_API.jar" target-dir="libs"/>
</platform>
</plugin>