54 lines
1.6 KiB
XML
54 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
|
id="de.appplant.cordova.plugin.printer"
|
|
version="0.5.0dev">
|
|
|
|
<name>Printer</name>
|
|
|
|
<description>A bunch of printig plugins for Cordova 3.x.x</description>
|
|
<repo>https://github.com/katzer/cordova-plugin-printer.git</repo>
|
|
<keywords>print, printer, ios, android</keywords>
|
|
<license>Apache 2.0</license>
|
|
|
|
<author>Sebastián Katzer</author>
|
|
|
|
<engines>
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
</engines>
|
|
|
|
<!-- interface -->
|
|
<js-module src="www/printer.js" name="Printer">
|
|
<clobbers target="plugin.printer" />
|
|
</js-module>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="Printer">
|
|
<param name="ios-package" value="APPPrinter"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/APPPrinter.h" />
|
|
<source-file src="src/ios/APPPrinter.m" />
|
|
|
|
</platform>
|
|
|
|
<!-- android -->
|
|
<platform name="android">
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="Printer">
|
|
<param name="android-package" value="de.appplant.cordova.plugin.Printer"/>
|
|
</feature>
|
|
<feature name="KitKatPrinter">
|
|
<param name="android-package" value="de.appplant.cordova.plugin.KitKatPrinter"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin" />
|
|
</platform>
|
|
|
|
</plugin>
|