forked from davearata/cordova-plugin-mupdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
44 lines (36 loc) · 1.5 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-mupdf"
version="1.1.3">
<name>Cordova Plugin MuPDF</name>
<description>MuPDF</description>
<license>MIT</license>
<keywords>cordova,mupdf,pdf,android</keywords>
<repo>https://github.com/davearata/cordova-plugin-mupdf.git</repo>
<issue></issue>
<js-module src="www/mupdf.js">
<clobbers target="window.pdf" />
</js-module>
<!-- android -->
<platform name="android">
<framework src="libs/mupdf/mupdf.gradle" custom="true" type="gradleReference" />
<config-file target="config.xml" parent="/*">
<feature name="MuPdfPlugin">
<param name="android-package" value="com.artifex.mupdfdemo.MuPdfPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.artifex.mupdfdemo.MuPDFActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@android:style/Theme.Light.NoTitleBar"/>
<activity
android:name="com.artifex.mupdfdemo.PrintDialogActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@android:style/Theme.Light.NoTitleBar"/>
</config-file>
<source-file src="src/android/MuPdfPlugin.java" target-dir="src/com/artifex/mupdfdemo" />
</platform>
</plugin>