Skip to content

Commit 08f4e54

Browse files
authored
Update for PSPDFKit 10.1 for iOS and Xcode 12.2 (#382)
* Update for PSPDFKit 10.1 for iOS and Xcode 12.2 * Bump version to 1.30.3
1 parent d79cb3a commit 08f4e54

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ To make sure this is fast, please use a work email and have someone from your co
3737

3838
#### Requirements
3939

40-
- Xcode 12
41-
- PSPDFKit 10.0.1 for iOS or later
42-
- react-native >= 0.63.2
43-
- CocoaPods >= 1.10.0.rc.1
40+
- The latest [Xcode](https://developer.apple.com/xcode/).
41+
- PSPDFKit 10.1.0 for iOS or later
42+
- react-native >= 0.63.3
43+
- CocoaPods >= 1.10.0
4444

4545
#### Getting Started
4646

@@ -89,11 +89,9 @@ end
8989
![Deployment Target](screenshots/deployment-target.png)
9090
10. Change "View controller-based status bar appearance" to `YES` in `Info.plist`:
9191
![View Controller-Based Status Bar Appearance](screenshots/view-controller-based-status-bar-appearance.png)
92-
11. If your application is targeting iOS versions **prior to iOS 12.2** and your application **does not already contain any Swift code**, then you need to make sure Xcode bundles Swift standard libraries with your application distribution. To to so, open your target Build Settings and enable `Always Embed Swift Standard Libraries`:
93-
![Always Embed Swift Standard Libraries](screenshots/always-embed-swift-standard-libraries.png)
94-
12. Add a PDF by drag and dropping it into your Xcode project (Select "Create groups" and add to target "YourApp"). This will add the document to the "Copy Bundle Resources" build phase:
92+
11. Add a PDF by drag and dropping it into your Xcode project (Select "Create groups" and add to target "YourApp"). This will add the document to the "Copy Bundle Resources" build phase:
9593
![Adding PDF](screenshots/adding-pdf.png)
96-
13. Replace the default component from `App.js` with a simple touch area to present the bundled PDF. (Note that you can also use a [Native UI Component](#native-ui-component) to show a PDF.)
94+
12. Replace the default component from `App.js` with a simple touch area to present the bundled PDF. (Note that you can also use a [Native UI Component](#native-ui-component) to show a PDF.)
9795

9896
```javascript
9997
import React, { Component } from "react";

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-pspdfkit",
3-
"version": "1.30.2",
3+
"version": "1.30.3",
44
"description": "A React Native module for the PSPDFKit library.",
55
"keywords": [
66
"react native",

samples/Catalog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Catalog",
3-
"version": "1.30.2",
3+
"version": "1.30.3",
44
"private": true,
55
"scripts": {
66
"start": "react-native start",

samples/NativeCatalog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "NativeCatalog",
3-
"version": "1.30.2",
3+
"version": "1.30.3",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",
Binary file not shown.

0 commit comments

Comments
 (0)