forked from PSPDFKit/PSPDFKit-Cordova
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
119 lines (111 loc) · 8.41 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pspdfkit-cordova" version="1.5.3">
<engines>
<engine name="cordova" version=">=10.1.0" />
<engine name="cordova-android" version=">=10.1.1" />
<engine name="cordova-ios" version=">=6.2.0" />
</engines>
<name>PSPDFKit</name>
<description>Integration of the PSPDFKit for Android and iOS.</description>
<author>PSPDFKit</author>
<license>Copyright 2011-2022 PSPDFKit GmbH. All rights reserved.
THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. This notice may not be removed from this file. http://pspdfkit.com/license.html</license>
<platform name="android">
<js-module name="PSPDFKit" src="www/PSPDFKit.js">
<clobbers target="PSPDFKit"/>
</js-module>
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/AddAnnotationAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/ApplyInstantJsonAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/GetAnnotationsAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/GetAllUnsavedAnnotationsAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/GetHasDirtyAnnotationsAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/ProcessAnnotationsAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/annotation/RemoveAnnotationAction.java" target-dir="src/com/pspdfkit/cordova/action/annotation" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/cache/ClearCacheAction.java" target-dir="src/com/pspdfkit/cordova/action/cache" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/cache/ClearCacheForPageAction.java" target-dir="src/com/pspdfkit/cordova/action/cache" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/cache/RemoveCacheForPresentedDocumentAction.java" target-dir="src/com/pspdfkit/cordova/action/cache" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/document/SaveDocumentAction.java" target-dir="src/com/pspdfkit/cordova/action/document" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/document/ShowDocumentAction.java" target-dir="src/com/pspdfkit/cordova/action/document" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/document/ShowDocumentFromAssetsAction.java" target-dir="src/com/pspdfkit/cordova/action/document" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/form/GetFormFieldValueAction.java" target-dir="src/com/pspdfkit/cordova/action/form" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/form/SetFormFieldValueAction.java" target-dir="src/com/pspdfkit/cordova/action/form" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/xfdf/ExportXfdfAction.java" target-dir="src/com/pspdfkit/cordova/action/xfdf" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/xfdf/ImportXfdfAction.java" target-dir="src/com/pspdfkit/cordova/action/xfdf" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/Action.java" target-dir="src/com/pspdfkit/cordova/action" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/ActionManager.java" target-dir="src/com/pspdfkit/cordova/action" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/BasicAction.java" target-dir="src/com/pspdfkit/cordova/action" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/DismissAction.java" target-dir="src/com/pspdfkit/cordova/action" />
<source-file src="src/android/java/com/pspdfkit/cordova/action/LicenseKeyAction.java" target-dir="src/com/pspdfkit/cordova/action" />
<source-file src="src/android/java/com/pspdfkit/cordova/event/EventDispatcher.java" target-dir="src/com/pspdfkit/cordova/event" />
<source-file src="src/android/java/com/pspdfkit/cordova/provider/DocumentJsonDataProvider.java" target-dir="src/com/pspdfkit/cordova/provider" />
<source-file src="src/android/java/com/pspdfkit/cordova/CordovaPdfActivity.java" target-dir="src/com/pspdfkit/cordova" />
<source-file src="src/android/java/com/pspdfkit/cordova/ExtractAssetTask.java" target-dir="src/com/pspdfkit/cordova" />
<source-file src="src/android/java/com/pspdfkit/cordova/PSPDFKitPlugin.java" target-dir="src/com/pspdfkit/cordova" />
<source-file src="src/android/java/com/pspdfkit/cordova/PSPDFKitPluginException.java" target-dir="src/com/pspdfkit/cordova" />
<source-file src="src/android/java/com/pspdfkit/cordova/Utilities.java" target-dir="src/com/pspdfkit/cordova" />
<framework custom="true" src="src/android/config.gradle" type="gradleReference" />
<framework custom="true" src="src/android/pspdfkit.gradle" type="gradleReference" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="PSPDFKitPlugin">
<param name="android-package" value="com.pspdfkit.cordova.PSPDFKitPlugin" />
</feature>
</config-file>
<config-file target="app/src/main/AndroidManifest.xml" parent="/*/application" after="activity">
<activity android:name="com.pspdfkit.cordova.CordovaPdfActivity" android:theme="@style/PSPDFKit.Theme" android:windowSoftInputMode="adjustNothing"/>
</config-file>
<edit-config file="app/src/main/AndroidManifest.xml" target="/manifest/application" mode="merge">
<application android:largeHeap="true" />
</edit-config>
<!--AndroidX-->
<dependency id="cordova-plugin-androidx-adapter" url="https://github.com/dpa99c/cordova-plugin-androidx-adapter.git" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="PSPDFKitPlugin">
<param name="ios-package" value="PSPDFKitPlugin" />
</feature>
</config-file>
<js-module src="www/PSPDFKit.js" name="PSPDFKit">
<clobbers target="PSPDFKit" />
</js-module>
<source-file src="src/ios/PSPDFKitPlugin.m" />
<header-file src="src/ios/PSPDFKitPlugin.h" />
<framework src="CoreText.framework" />
<framework src="QuartzCore.framework" />
<framework src="MessageUI.framework" />
<framework src="ImageIO.framework" />
<framework src="CoreMedia.framework" />
<framework src="MediaPlayer.framework" />
<framework src="CFNetwork.framework" />
<framework src="AVFoundation.framework" />
<framework src="AssetsLibrary.framework" />
<framework src="Security.framework" />
<framework src="QuickLook.framework" />
<framework src="AudioToolbox.framework" />
<framework src="CoreData.framework" />
<framework src="CoreTelephony.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="Accelerate.framework" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git" />
</config>
<pods use-frameworks="true">
<pod name="PSPDFKit" spec="~> 12.4.0"/>
</pods>
</podspec>
</platform>
<!-- don't indent the info block, because it will also indent the console output -->
<info><![CDATA[Thanks for using the PSPDFKit for Cordova/Ionic Plugin.
**Important** If you’re an existing customer, you can find your license key in your customer portal(https://customers.pspdfkit.com/).
iOS: Since this plugin is iOS 15+ only, you will have to set the deployment target
of your Xcode project in platforms/ios to iOS 15.
For the complete documentation and troubleshooting, check out our documentation at https://github.com/PSPDFKit/PSPDFKit-Cordova.
In case there are issues, feel free to reach out to our support team at https://pspdfkit.com/support/request/.
Plugin usage example:
PSPDFKit.present('pdf/document.pdf', {
pageMode: 'single',
editableAnnotationTypes: ['FreeText', 'Signature']
});]]></info>
</plugin>