2013-08-10 00:58:47 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
2013-08-10 22:13:04 +08:00
|
|
|
id="de.appplant.cordova.plugin.printer"
|
2013-12-11 20:38:52 +08:00
|
|
|
version="0.5.0dev">
|
2013-08-10 00:58:47 +08:00
|
|
|
|
|
|
|
<name>Printer</name>
|
|
|
|
|
2013-08-10 22:15:11 +08:00
|
|
|
<description>A bunch of printig plugins for Cordova 3.x.x</description>
|
2013-12-11 20:00:16 +08:00
|
|
|
<repo>https://github.com/katzer/cordova-plugin-printer.git</repo>
|
2013-08-25 01:51:28 +08:00
|
|
|
<keywords>print, printer, ios, android</keywords>
|
2013-12-11 20:00:16 +08:00
|
|
|
<license>Apache 2.0</license>
|
2013-08-10 22:12:20 +08:00
|
|
|
|
2013-12-11 20:00:16 +08:00
|
|
|
<author>Sebastián Katzer</author>
|
2013-08-10 22:12:20 +08:00
|
|
|
|
2013-08-10 00:58:47 +08:00
|
|
|
<engines>
|
|
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
|
|
</engines>
|
|
|
|
|
2013-12-11 22:49:00 +08:00
|
|
|
<dependency id="org.apache.cordova.device" url="https://github.com/apache/cordova-plugin-device" />
|
|
|
|
|
2013-08-21 00:24:13 +08:00
|
|
|
<!-- interface -->
|
2013-08-21 00:35:19 +08:00
|
|
|
<js-module src="www/printer.js" name="Printer">
|
|
|
|
<clobbers target="plugin.printer" />
|
2013-08-21 00:24:13 +08:00
|
|
|
</js-module>
|
|
|
|
|
2013-08-10 00:58:47 +08:00
|
|
|
<!-- ios -->
|
|
|
|
<platform name="ios">
|
|
|
|
|
|
|
|
<config-file target="config.xml" parent="/*">
|
2013-08-21 00:35:19 +08:00
|
|
|
<feature name="Printer">
|
|
|
|
<param name="ios-package" value="APPPrinter"/>
|
|
|
|
</feature>
|
2013-08-10 00:58:47 +08:00
|
|
|
</config-file>
|
|
|
|
|
2013-08-21 00:35:19 +08:00
|
|
|
<header-file src="src/ios/APPPrinter.h" />
|
|
|
|
<source-file src="src/ios/APPPrinter.m" />
|
2013-08-10 00:58:47 +08:00
|
|
|
|
|
|
|
</platform>
|
|
|
|
|
2013-08-21 00:27:33 +08:00
|
|
|
<!-- android -->
|
|
|
|
<platform name="android">
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="Printer">
|
2013-12-11 21:05:15 +08:00
|
|
|
<param name="android-package" value="de.appplant.cordova.plugin.printer.Printer"/>
|
2013-08-21 00:27:33 +08:00
|
|
|
</feature>
|
2013-12-11 20:52:55 +08:00
|
|
|
<feature name="KitKatPrinter">
|
2013-12-11 21:05:15 +08:00
|
|
|
<param name="android-package" value="de.appplant.cordova.plugin.printer.KitKatPrinter"/>
|
2013-12-11 20:52:55 +08:00
|
|
|
</feature>
|
2013-08-21 00:27:33 +08:00
|
|
|
</config-file>
|
|
|
|
|
2013-12-11 21:05:15 +08:00
|
|
|
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin/printer" />
|
|
|
|
<source-file src="src/android/KitKatPrinter.java" target-dir="src/de/appplant/cordova/plugin/printer" />
|
2013-08-21 00:27:33 +08:00
|
|
|
</platform>
|
|
|
|
|
2013-08-10 00:58:47 +08:00
|
|
|
</plugin>
|