Skip to content

Commit 1a04ff4

Browse files
author
PSPDFKit
committed
Release 3.7.1
1 parent cb10938 commit 1a04ff4

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## Newest Release
22

3+
### 3.7.1 - 18 Oct 2023
4+
5+
- Fixed issue where iOS Appstore upload fails due to PSPDFKit Flutter missing "CFBundleShortVersionString" key. (#42166)
6+
- Fixed issue where Plugin returned "Document is missing or invalid" during pdfViewControllerWillDismiss events. (#42255)
7+
8+
## Previous Releases
9+
310
### 3.7.0 - 07 Sep 2023
411

512
- Adds annotation preset customization. (#41669)
@@ -8,8 +15,6 @@
815
- Updates the deployment target to iOS 15. (#39956)
916
- Updates example catalog with PspdfkitWidget usage. (#40861)
1017

11-
## Previous Releases
12-
1318
### 3.6.0 - 08 May 2023
1419
- Adds measurement tools. (#39806)
1520
- Updates for PSPDFKit 8.6.0 for Android. (#39501)

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: 3.7.0
3+
version: 3.7.1
44
homepage: https://pspdfkit.com/
55
environment:
66
sdk: '>=2.17.0 <4.0.0'

ios/Classes/PspdfkitPlugin.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ - (void)pdfViewControllerWillDismiss:(PSPDFViewController *)pdfController {
180180
}
181181

182182
- (void)pdfViewControllerDidDismiss:(PSPDFViewController *)pdfController {
183-
// Don't hold on to the view controller object after dismissal.
184-
self.pdfViewController = nil;
185183
[channel invokeMethod:@"pdfViewControllerDidDismiss" arguments:nil];
186184
}
187185

@@ -237,4 +235,8 @@ - (void)instantClient:(nonnull PSPDFInstantClient *)instantClient documentDescri
237235
[channel invokeMethod:@"pspdfkitInstantDownloadFailed" arguments:arguments];
238236
}
239237

238+
- (void)dealloc {
239+
self.pdfViewController = nil;
240+
}
241+
240242
@end

ios/pspdfkit_flutter.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
Pod::Spec.new do |s|
77
s.name = "pspdfkit_flutter"
8-
s.version = "3.7.0"
8+
s.version = "3.7.1"
99
s.homepage = "https://PSPDFKit.com"
1010
s.documentation_url = "https://pspdfkit.com/guides/flutter"
1111
s.license = { type: "Commercial", file: "../LICENSE" }
@@ -22,6 +22,6 @@ Pod::Spec.new do |s|
2222
s.dependency("Instant")
2323
s.swift_version = "5.0"
2424
s.platform = :ios, "15.0"
25-
s.version = "3.7.0"
26-
s.pod_target_xcconfig = { "DEFINES_MODULE" => "YES", "GENERATE_INFOPLIST_FILE" => "YES", "SWIFT_INSTALL_OBJC_HEADER" => "NO" }
25+
s.version = "3.7.1"
26+
s.pod_target_xcconfig = { "DEFINES_MODULE" => "YES", "SWIFT_INSTALL_OBJC_HEADER" => "NO" }
2727
end

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: 3.7.0
3+
version: 3.7.1
44
homepage: https://pspdfkit.com/
55
repository: https://github.com/PSPDFKit/pspdfkit-flutter
66
issue_tracker: https://support.pspdfkit.com/hc/en-us/requests/new

0 commit comments

Comments
 (0)