cordova-plugin-printer/plugin.xml
2014-02-28 17:04:24 +01:00

57 lines
1.8 KiB
XML

<?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="de.appplant.cordova.plugin.printer"
version="0.5.2dev">
<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>
<dependency id="org.apache.cordova.device" url="https://github.com/apache/cordova-plugin-device" />
<!-- 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" />
</platform>
</plugin>