-
Notifications
You must be signed in to change notification settings - Fork 34
/
plugin.xml
48 lines (40 loc) · 1.86 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?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="at.modalog.cordova.plugin.html2pdf"
version="2.0.0">
<name>Html2pdf</name>
<repo>https://github.com/moderna/cordova-plugin-html2pdf.git</repo>
<keywords>html,pdf,android,ios</keywords>
<license>MIT</license>
<author>Modern Alchemists OG</author>
<description>
<p>Cordova 6.1.1+ plugin for android and ios which converts the given html to a pdf document and stores it on the device.</p>
This Plugin requires iText.jar to be added to your project. Here is the last open source version (4.2.0) of it:
GitHub: https://github.com/ymasory/iText-4.2.0
Download .jar:: https://github.com/ymasory/iText-4.2.0/downloads
</description>
<js-module src="www/Html2pdf.js" name="Html2pdf">
<clobbers target="html2pdf" /><!-- will be available under window.html2pdf -->
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Html2pdf" >
<param name="android-package" value="at.modalog.cordova.plugin.html2pdf.Html2pdf"/>
</feature>
</config-file>
<source-file src="src/android/libs/iText-4.2.0-com.itextpdf.jar" target-dir="libs" />
<source-file src="src/android/Html2pdf.java" target-dir="src/at/modalog/cordova/plugin/html2pdf" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Html2pdf">
<param name="ios-package" value="Html2pdf" />
</feature>
</config-file>
<header-file src="src/ios/Html2pdf.h" />
<source-file src="src/ios/Html2pdf.m" />
</platform>
</plugin>