cordova-plugin-printer/plugin.xml
2013-12-11 14:05:15 +01:00

55 lines
1.7 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.Printer"/>
</feature>
<feature name="KitKatPrinter">
<param name="android-package" value="de.appplant.cordova.plugin.printer.KitKatPrinter"/>
</feature>
</config-file>
<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" />
</platform>
</plugin>