Skip to content

Commit a50a471

Browse files
authored
Update for PSPDFKit 10.5 for iOS (#46)
1 parent b05ccc5 commit a50a471

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

docs/android/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cordova platform remove android
4747
cordova platform remove ios
4848
```
4949

50-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
50+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
5151

5252
```bash
5353
open config.xml
@@ -64,7 +64,7 @@ Your `config.xml` file should look like this:
6464
<platform name="ios">
6565
<allow-intent href="itms:*" />
6666
<allow-intent href="itms-apps:*" />
67-
+ <preference name="deployment-target" value="12.0" />
67+
+ <preference name="deployment-target" value="13.0" />
6868
...
6969
</platform>
7070
...
@@ -100,7 +100,7 @@ ionic cordova platform remove android
100100
ionic cordova platform remove ios
101101
```
102102

103-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
103+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
104104

105105
```bash
106106
open config.xml
@@ -121,7 +121,7 @@ Your `config.xml` file should look like this:
121121
<allow-intent href="itms:*" />
122122
<allow-intent href="itms-apps:*" />
123123
+ <allow-navigation href="*" />
124-
+ <preference name="deployment-target" value="12.0" />
124+
+ <preference name="deployment-target" value="13.0" />
125125
...
126126
</platform>
127127
...
@@ -259,7 +259,7 @@ cd pdfapp
259259

260260
> Important: Your app's package name (in the above example `com.example.pdfapp`) has to match your PSPDFKit license name or PSPDFKit will throw an exception.
261261
262-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
262+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
263263

264264
```bash
265265
open config.xml
@@ -276,7 +276,7 @@ Your `config.xml` file should look like this:
276276
<platform name="ios">
277277
<allow-intent href="itms:*" />
278278
<allow-intent href="itms-apps:*" />
279-
+ <preference name="deployment-target" value="12.0" />
279+
+ <preference name="deployment-target" value="13.0" />
280280
...
281281
</platform>
282282
...
@@ -377,7 +377,7 @@ cd PSPDFKit-Demo
377377
ionic cordova plugin add https://github.com/PSPDFKit/PSPDFKit-Cordova.git
378378
```
379379

380-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
380+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
381381

382382
```bash
383383
open config.xml
@@ -398,7 +398,7 @@ Your `config.xml` file should look like this:
398398
<allow-intent href="itms:*" />
399399
<allow-intent href="itms-apps:*" />
400400
+ <allow-navigation href="*" />
401-
+ <preference name="deployment-target" value="12.0" />
401+
+ <preference name="deployment-target" value="13.0" />
402402
...
403403
</platform>
404404
...

docs/ios/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Cordova Plugin for PSPDFKit 10 for iOS
1+
# Cordova Plugin for PSPDFKit for iOS
22

33
The [PSPDFKit SDK](https://pspdfkit.com/pdf-sdk/) is a framework that allows you to view, annotate, sign, and fill PDF forms on iOS, Android, Windows, macOS, and Web.
44

@@ -38,7 +38,7 @@ cordova platform remove android
3838
cordova platform remove ios
3939
```
4040

41-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
41+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
4242

4343
```bash
4444
open config.xml
@@ -55,7 +55,7 @@ Your `config.xml` file should look like this:
5555
<platform name="ios">
5656
<allow-intent href="itms:*" />
5757
<allow-intent href="itms-apps:*" />
58-
+ <preference name="deployment-target" value="12.0" />
58+
+ <preference name="deployment-target" value="13.0" />
5959
...
6060
</platform>
6161
...
@@ -91,7 +91,7 @@ ionic cordova platform remove android
9191
ionic cordova platform remove ios
9292
```
9393

94-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
94+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
9595

9696
```bash
9797
open config.xml
@@ -112,7 +112,7 @@ Your `config.xml` file should look like this:
112112
<allow-intent href="itms:*" />
113113
<allow-intent href="itms-apps:*" />
114114
+ <allow-navigation href="*" />
115-
+ <preference name="deployment-target" value="12.0" />
115+
+ <preference name="deployment-target" value="13.0" />
116116
...
117117
</platform>
118118
...
@@ -184,7 +184,7 @@ cordova create PSPDFKit-Demo com.pspdfkit.demo PSPDFKit-Demo
184184
cd PSPDFKit-Demo
185185
```
186186

187-
2. Open `config.xml` and change the deployment target to iOS 12 or later:
187+
2. Open `config.xml` and change the deployment target to iOS 13 or later:
188188

189189
```diff
190190
...
@@ -195,7 +195,7 @@ cd PSPDFKit-Demo
195195
<platform name="ios">
196196
<allow-intent href="itms:*" />
197197
<allow-intent href="itms-apps:*" />
198-
+ <preference name="deployment-target" value="12.0" />
198+
+ <preference name="deployment-target" value="13.0" />
199199
...
200200
</platform>
201201
...
@@ -292,7 +292,7 @@ cd PSPDFKit-Demo
292292
ionic cordova plugin add https://github.com/PSPDFKit/PSPDFKit-Cordova.git
293293
```
294294

295-
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 12 or later:
295+
3. Open `config.xml` in a text editor to enable AndroidX and to change the deployment target to iOS 13 or later:
296296

297297
```bash
298298
open config.xml
@@ -313,7 +313,7 @@ Your `config.xml` file should look like this:
313313
<allow-intent href="itms:*" />
314314
<allow-intent href="itms-apps:*" />
315315
+ <allow-navigation href="*" />
316-
+ <preference name="deployment-target" value="12.0" />
316+
+ <preference name="deployment-target" value="13.0" />
317317
...
318318
</platform>
319319
...
@@ -460,7 +460,7 @@ open platforms/ios/Podifile
460460
```diff
461461
source 'https://github.com/CocoaPods/Specs.git'
462462
- platform :ios, '11.0'
463-
+ platform :ios, '12.0'
463+
+ platform :ios, '13.0'
464464
use_frameworks!
465465
target 'MyApp' do
466466
project 'MyApp.xcodeproj'

examples/cordova/PSPDFKit-Demo/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
<platform name="ios">
2424
<allow-intent href="itms:*" />
2525
<allow-intent href="itms-apps:*" />
26-
<preference name="deployment-target" value="12.0" />
26+
<preference name="deployment-target" value="13.0" />
2727
</platform>
2828
</widget>

examples/ionic/PSPDFKit-Demo/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<allow-intent href="itms:*" />
4646
<allow-intent href="itms-apps:*" />
4747
<allow-navigation href="*" />
48-
<preference name="deployment-target" value="12.0" />
48+
<preference name="deployment-target" value="13.0" />
4949
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
5050
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
5151
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pspdfkit-cordova",
3-
"version": "1.1.10",
3+
"version": "1.1.11",
44
"description": "PSPDFKit Cordova Plugin for Android and iOS",
55
"cordova": {
66
"id": "pspdfkit-cordova",

plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pspdfkit-cordova" version="1.1.10">
2+
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="pspdfkit-cordova" version="1.1.11">
33
<engines>
44
<engine name="cordova" version="&gt;=6.3.1" />
55
</engines>
@@ -105,8 +105,8 @@ AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE A
105105
106106
**Important** If you’re an existing customer, you can find your license key in your customer portal(https://customers.pspdfkit.com/).
107107
108-
iOS: Since this plugin is iOS 12+ only, you will have to set the deployment target
109-
of your Xcode project in platforms/ios to iOS 12.
108+
iOS: Since this plugin is iOS 13+ only, you will have to set the deployment target
109+
of your Xcode project in platforms/ios to iOS 13.
110110
111111
For the complete documentation and troubleshooting, check out our documentation at https://github.com/PSPDFKit/PSPDFKit-Cordova.
112112
In case there are issues, feel free to reach out to our support team at https://pspdfkit.com/support/request/.

0 commit comments

Comments
 (0)