Skip to content

Commit 51bb811

Browse files
author
PSPDFKit
committed
Release 2.3.2
1 parent 92a5e80 commit 51bb811

File tree

12 files changed

+29
-20
lines changed

12 files changed

+29
-20
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [2.3.2] - 07 Jul 2021
2+
3+
- Updates the deployment target of iOS to 13 for PSPDFKit 10.5 for iOS. (#30057)
4+
15
## [2.3.1] - 03 Jun 2021
26

37
- Updates readme example to enable running with sound null safety. (#29631)

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44

55
PSPDFKit wrapper for Flutter. Available at [pub.dev](https://pub.dev/packages/pspdfkit_flutter) and [GitHub](https://github.com/PSPDFKit/pspdfkit-flutter).
66

7-
If you are new to Flutter, make sure to check our blog:
7+
If you are new to Flutter, make sure to check our Flutter blog posts:
88

99
- [How I Got Started With Flutter](https://pspdfkit.com/blog/2018/starting-with-flutter/).
1010
- [Getting Started with PSPDFKit Flutter](https://pspdfkit.com/blog/2019/getting-started-with-pspdfkit-flutter/).
11+
- [Opening a PDF in Flutter](https://pspdfkit.com/blog/2019/opening-a-pdf-in-flutter/).
12+
- [How to Bridge Native iOS Code to Flutter](https://pspdfkit.com/blog/2021/how-to-bridge-native-ios-code-to-flutter/).
13+
- [How to Customize Our Flutter PDF SDK for Android](https://pspdfkit.com/blog/2021/how-to-customize-our-flutter-pdf-sdk/).
14+
- [Advances in Hybrid Wrappers](https://pspdfkit.com/blog/2019/advances-in-hybrid-wrappers/).
15+
- [How We Maintain Our Public Flutter Project Using a Private Monorepo](https://pspdfkit.com/blog/2021/maintaining-open-source-repo-from-monorepo/).
1116

1217
For our quick-start guides, [check out our website](https://pspdfkit.com/getting-started/mobile/?frontend=flutter).
1318

@@ -101,10 +106,10 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
101106
mkdir PDFs
102107
```
103108
104-
- Add a sample document into the newly created `PDFs` directory called `Document.pdf`:
109+
- Move a [sample document](example/PDFs/PSPDFKit.pdf) into the newly created `PDFs` directory, and rename it as `Document.pdf`:
105110
106111
```bash
107-
cp ~/Downloads/Document.pdf PDFs/Document.pdf
112+
cp ~/Downloads/PSPDFKit.pdf PDFs/Document.pdf
108113
```
109114
110115
11. Specify the `assets` directory in `pubspec.yaml`:
@@ -153,7 +158,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
153158
open ios/Runner.xcworkspace
154159
```
155160
156-
4. Make sure the `iOS Deployment Target` is set to 12.0 or higher.
161+
4. Make sure the `iOS Deployment Target` is set to 13.0 or higher.
157162
158163
![iOS Deployment Target](screenshots/ios-deployment-target.png)
159164
@@ -189,11 +194,11 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
189194
open ios/Podfile
190195
```
191196
192-
10. Update the platform to iOS 12 and add the PSPDFKit Podspec:
197+
10. Update the platform to iOS 13 and add the PSPDFKit Podspec:
193198
194199
```diff
195200
-# platform :ios, '9.0'
196-
+platform :ios, '12.0'
201+
+ platform :ios, '13.0'
197202
...
198203
target 'Runner' do
199204
use_frameworks!
@@ -204,7 +209,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
204209
end
205210
```
206211
207-
11. Open `lib/main.dart` and replace the entire content with the contents of [demo_project_main.dart](doc/demo_project_main.dart). This simple example will load a PDF document from local device filesystem.
212+
11. Open `lib/main.dart` and replace the entire content with the contents of [demo_project_main.dart.txt](doc/demo_project_main.dart.txt). This simple example will load a PDF document from local device filesystem.
208213
209214
12. Add the PDF document you want to display in your project’s `assets` directory.
210215
- First create a `PDFs` directory:
@@ -213,10 +218,10 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
213218
mkdir PDFs
214219
```
215220
216-
- Add a sample document into the newly created `PDFs` directory called `Document.pdf`:
221+
- Move a [sample document](example/PDFs/PSPDFKit.pdf) into the newly created `PDFs` directory, and rename it as `Document.pdf`:
217222
218223
```bash
219-
cp ~/Downloads/Document.pdf PDFs/Document.pdf
224+
cp ~/Downloads/PSPDFKit.pdf PDFs/Document.pdf
220225
```
221226
222227
13. Specify the `assets` directory in `pubspec.yaml`:

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
platform :ios, '12.0'
2+
platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
97C146E61CF9000F007C117D /* Project object */ = {
166166
isa = PBXProject;
167167
attributes = {
168-
LastUpgradeCheck = 1200;
168+
LastUpgradeCheck = 1300;
169169
ORGANIZATIONNAME = "The Chromium Authors";
170170
TargetAttributes = {
171171
97C146ED1CF9000F007C117D = {
@@ -361,7 +361,7 @@
361361
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
362362
GCC_WARN_UNUSED_FUNCTION = YES;
363363
GCC_WARN_UNUSED_VARIABLE = YES;
364-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
364+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
365365
MTL_ENABLE_DEBUG_INFO = YES;
366366
ONLY_ACTIVE_ARCH = YES;
367367
SDKROOT = iphoneos;
@@ -413,7 +413,7 @@
413413
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
414414
GCC_WARN_UNUSED_FUNCTION = YES;
415415
GCC_WARN_UNUSED_VARIABLE = YES;
416-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
416+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
417417
MTL_ENABLE_DEBUG_INFO = NO;
418418
SDKROOT = iphoneos;
419419
TARGETED_DEVICE_FAMILY = "1,2";
@@ -433,7 +433,7 @@
433433
"$(PROJECT_DIR)/Flutter",
434434
);
435435
INFOPLIST_FILE = Runner/Info.plist;
436-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
436+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
437437
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
438438
LIBRARY_SEARCH_PATHS = (
439439
"$(inherited)",
@@ -456,7 +456,7 @@
456456
"$(PROJECT_DIR)/Flutter",
457457
);
458458
INFOPLIST_FILE = Runner/Info.plist;
459-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
459+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
460460
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
461461
LIBRARY_SEARCH_PATHS = (
462462
"$(inherited)",

example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

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

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1200"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pspdfkit_example
22
description: Demonstrates how to use the pspdfkit plugin.
3-
version: 2.3.1
3+
version: 2.3.2
44
author: PSPDFKit
55
homepage: https://pspdfkit.com/
66
environment:

ios/pspdfkit_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ PSPDFKit flutter plugin.
1717
s.dependency 'Flutter'
1818
s.dependency 'PSPDFKit'
1919
s.swift_version = '5.0'
20-
s.ios.deployment_target = '12.0'
20+
s.ios.deployment_target = '13.0'
2121
end
2222

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pspdfkit_flutter
22
description: A Flutter plugin providing a feature-rich PDF viewing and editing experience to your users with the powerful PSPDFKit PDF SDK.
3-
version: 2.3.1
3+
version: 2.3.2
44
homepage: https://pspdfkit.com/
55
repository: https://github.com/PSPDFKit/pspdfkit-flutter
66
issue_tracker: https://github.com/PSPDFKit/pspdfkit-flutter/issues
-279 KB
Binary file not shown.

0 commit comments

Comments
 (0)