2013-08-10 00:58:47 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2016-07-21 01:58:05 +08:00
|
|
|
<!--
|
2019-02-04 18:43:51 +08:00
|
|
|
Copyright 2013 Sebastián Katzer
|
|
|
|
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
2016-07-21 01:58:05 +08:00
|
|
|
-->
|
|
|
|
|
|
|
|
<plugin id="cordova-plugin-printer"
|
|
|
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
2013-12-11 22:52:49 +08:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-01-29 05:28:55 +08:00
|
|
|
version="0.8.0.alpha">
|
2013-08-10 00:58:47 +08:00
|
|
|
|
2014-09-12 18:04:37 +08:00
|
|
|
<name>Printer</name>
|
2014-09-08 04:53:04 +08:00
|
|
|
|
2019-01-21 22:17:07 +08:00
|
|
|
<description>Prints HTML content</description>
|
2014-09-08 04:53:04 +08:00
|
|
|
|
2016-07-21 01:58:05 +08:00
|
|
|
<repo>https://github.com/katzer/cordova-plugin-printer.git</repo>
|
2014-09-08 04:53:04 +08:00
|
|
|
|
2016-07-21 01:58:05 +08:00
|
|
|
<keywords>appplant, printer, cordova</keywords>
|
2013-08-10 00:58:47 +08:00
|
|
|
|
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
|
|
|
|
2014-09-08 04:53:04 +08:00
|
|
|
<!-- cordova -->
|
2013-08-10 00:58:47 +08:00
|
|
|
<engines>
|
2016-07-23 16:33:28 +08:00
|
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
|
|
<engine name="android-sdk" version=">=19" />
|
2016-07-28 02:38:56 +08:00
|
|
|
<engine name="apple-ios" version=">=8.0" />
|
2013-08-10 00:58:47 +08:00
|
|
|
</engines>
|
|
|
|
|
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">
|
2014-09-08 04:53:04 +08:00
|
|
|
<clobbers target="cordova.plugins.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="/*">
|
2014-09-08 04:53:04 +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
|
|
|
|
2019-01-21 22:17:07 +08:00
|
|
|
<header-file src="src/ios/APPPrinterInfo.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterInfo.m" />
|
|
|
|
|
|
|
|
<header-file src="src/ios/APPPrinterItem.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterItem.m" />
|
|
|
|
|
|
|
|
<header-file src="src/ios/APPPrinterLayout.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterLayout.m" />
|
|
|
|
|
|
|
|
<header-file src="src/ios/APPPrinterPaper.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterPaper.m" />
|
|
|
|
|
2019-01-22 00:52:28 +08:00
|
|
|
<header-file src="src/ios/APPPrinterRenderer.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterRenderer.m" />
|
|
|
|
|
2019-02-07 23:42:11 +08:00
|
|
|
<header-file src="src/ios/APPPrinterFont.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterFont.m" />
|
2019-01-23 22:45:40 +08:00
|
|
|
|
2019-01-22 02:17:30 +08:00
|
|
|
<header-file src="src/ios/APPPrinterUnit.h" />
|
|
|
|
<source-file src="src/ios/APPPrinterUnit.m" />
|
|
|
|
|
2019-01-21 23:53:31 +08:00
|
|
|
<header-file src="src/ios/UIPrintInteractionController+APPPrinter.h" />
|
|
|
|
<source-file src="src/ios/UIPrintInteractionController+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>
|
|
|
|
</config-file>
|
|
|
|
|
2019-01-29 05:28:55 +08:00
|
|
|
<preference name="ANDROID_SUPPORT_V4_VERSION" default="28.+"/>
|
2016-07-27 20:24:48 +08:00
|
|
|
|
2019-01-29 05:28:55 +08:00
|
|
|
<framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION"/>
|
2016-07-27 20:24:48 +08:00
|
|
|
|
2019-01-29 19:22:20 +08:00
|
|
|
<source-file src="src/android/PrintAdapter.java"
|
|
|
|
target-dir="src/de/appplant/cordova/plugin/printer" />
|
|
|
|
|
|
|
|
<source-file src="src/android/PrintContent.java"
|
2019-01-29 05:28:55 +08:00
|
|
|
target-dir="src/de/appplant/cordova/plugin/printer" />
|
2016-07-27 20:24:48 +08:00
|
|
|
|
2019-01-29 08:39:49 +08:00
|
|
|
<source-file src="src/android/Printer.java"
|
2019-01-29 05:28:55 +08:00
|
|
|
target-dir="src/de/appplant/cordova/plugin/printer" />
|
2016-07-27 20:24:48 +08:00
|
|
|
|
2019-01-29 08:39:49 +08:00
|
|
|
<source-file src="src/android/PrintManager.java"
|
2019-01-29 05:28:55 +08:00
|
|
|
target-dir="src/de/appplant/cordova/plugin/printer" />
|
2016-07-27 20:24:48 +08:00
|
|
|
|
2019-01-29 08:39:49 +08:00
|
|
|
<source-file src="src/android/PrintOptions.java"
|
2019-01-29 05:28:55 +08:00
|
|
|
target-dir="src/de/appplant/cordova/plugin/printer" />
|
2019-02-04 18:43:51 +08:00
|
|
|
|
|
|
|
<source-file src="src/android/PrintProxy.java"
|
|
|
|
target-dir="src/de/appplant/cordova/plugin/printer" />
|
2013-08-21 00:27:33 +08:00
|
|
|
</platform>
|
2014-03-05 00:21:30 +08:00
|
|
|
|
|
|
|
<!-- windows -->
|
|
|
|
<platform name="windows">
|
|
|
|
<js-module src="src/windows/PrinterProxy.js" name="PrinterProxy">
|
|
|
|
<merges target="" />
|
|
|
|
</js-module>
|
|
|
|
</platform>
|
2016-08-04 03:56:35 +08:00
|
|
|
|
2013-08-10 00:58:47 +08:00
|
|
|
</plugin>
|