-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
103 lines (79 loc) · 4.51 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?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="ios-printer-ble-cordova"
version="1.0.0">
<name>BrotherPrinter</name>
<description>Cordova hooks for Brother Print SDK including BLE for android and ios</description>
<repo>https://github.com/sancsoft/ios-printer-ble-cordova.git</repo>
<keywords>brother, sdk, print</keywords>
<license></license>
<author>SANCSOFT</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/Common.java" target-dir="src/com/brother/ptouch/sdk/printdemo/common" />
<source-file src="src/android/MsgHandle.java" target-dir="src/com/brother/ptouch/sdk/printdemo/common" />
<source-file src="src/android/BasePrint.java" target-dir="src/com/brother/ptouch/sdk/printdemo/printprocess" />
<source-file src="src/android/ImageBitmapPrint.java" target-dir="src/com/brother/ptouch/sdk/printdemo/printprocess" />
<source-file src="src/android/ImageFilePrint.java" target-dir="src/com/brother/ptouch/sdk/printdemo/printprocess" />
<source-file src="src/android/libs/BrotherPrintLibrary.jar" target-dir="libs" />
<source-file src="src/android/libs/arm64-v8a" target-dir="jniLibs" />
<source-file src="src/android/libs/armeabi" target-dir="jniLibs" />
<source-file src="src/android/libs/armeabi-v7a" target-dir="jniLibs" />
<source-file src="src/android/libs/x86" target-dir="jniLibs" />
<source-file src="src/android/libs/x86_64" target-dir="jniLibs" />
<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.BLUETOOTH" android:required="false" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:required="false" />
-->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.USB" android:required="false" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.usb" android:required="false" />
</config-file>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BrotherPrinter">
<param name="ios-package" value="BrotherPrinter"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
<array>
<string>com.brother.ptcbp</string>
</array>
</config-file>
<framework src="libc++.tbd" />
<framework src="libc++.1.tbd" />
<framework src="libc++abi.tbd" />
<framework src="src/ios/libs/BRPtouchPrinterKit.framework" custom="true" />
<header-file src="src/ios/BRBluetoothPrintOperation.h" />
<source-file src="src/ios/BRBluetoothPrintOperation.m" />
<header-file src="src/ios/BRPingOperation.h" />
<source-file src="src/ios/BRPingOperation.m" />
<header-file src="src/ios/BRUserDefaults.h" />
<header-file src="src/ios/BRWLANPrintOperation.h" />
<source-file src="src/ios/BRWLANPrintOperation.m" />
<header-file src="src/ios/BrotherPrinter.h" />
<source-file src="src/ios/BrotherPrinter.m" />
<header-file src="src/ios/APPingModule.h" />
<source-file src="src/ios/APPingModule.m" />
</platform>
</plugin>