-
Notifications
You must be signed in to change notification settings - Fork 55
/
plugin.xml
49 lines (39 loc) · 2.01 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
47
48
49
<?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="com.threescreens.cordova.plugin.brotherPrinter"
version="0.0.3">
<name>BrotherPrinter</name>
<description>Cordova hooks for Brother Print SDK</description>
<repo>https://github.com/gordol/cordova-brother-label-printer.git</repo>
<keywords>brother, sdk, print</keywords>
<license></license>
<author>Thomas Gordon Lowrey IV</author>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- interface -->
<js-module src="www/printer.js" name="BrotherPrinter">
<clobbers target="plugin.brotherPrinter" />
<clobbers target="cordova.plugins.brotherPrinter" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BrotherPrinter">
<param name="android-package" value="com.threescreens.cordova.plugin.brotherPrinter.BrotherPrinter"/>
</feature>
</config-file>
<source-file src="src/android/BrotherPrinter.java" target-dir="src/com/threescreens/cordova/plugin/brotherPrinter" />
<source-file src="src/android/libs/BrotherPrintLibrary.jar" target-dir="libs" />
<source-file src="src/android/libs/armeabi" target-dir="libs" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.USB" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.usb" android:required="true" />
</config-file>
</platform>
</plugin>