cordova-plugin-printer/plugin.xml
2013-12-01 14:40:49 +01:00

50 lines
1.4 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.4.1dev">
<name>Printer</name>
<description>A bunch of printig plugins for Cordova 3.x.x</description>
<keywords>print, printer, ios, android</keywords>
<license>LGPL v2.1 License</license>
<author>Sebastián Katzer (github.com/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>
</config-file>
<source-file src="src/android/Printer.java" target-dir="src/de/appplant/cordova/plugin" />
</platform>
</plugin>