forked from Guutong/cordova-plugin-android-native-pdfviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
24 lines (24 loc) · 1.59 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-android-native-pdfviewer" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"><name>AndroidNativePdfViewer</name>
<js-module name="AndroidNativePdfViewer" src="www/AndroidNativePdfViewer.js">
<clobbers target="window.AndroidNativePdfViewer" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="AndroidNativePdfViewer">
<param name="android-package" value="xyz.guutong.androidnativepdfviewer.AndroidNativePdfViewer" />
</feature>
</config-file>
<source-file src="src/android/AndroidNativePdfViewer.java" target-dir="src/xyz/guutong/androidnativepdfviewer" />
<config-file parent="/*" target="app/src/main/AndroidManifest.xml">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<config-file target="app/src/main/AndroidManifest.xml" parent="/manifest/application">
<activity android:name="xyz.guutong.androidpdfviewer.PdfViewActivity" android:theme="@style/AppTheme"/>
</config-file>
<source-file src="src/android/pdfviewer-library.aar" target-dir="libs"/>
<framework src="src/android/AndroidNativePDFViewer.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>