Skip to content

Commit 6f6288b

Browse files
author
PSPDFKit
committed
Release 2.2.1
1 parent 7265e24 commit 6f6288b

File tree

13 files changed

+40
-32
lines changed

13 files changed

+40
-32
lines changed

CHANGELOG.md

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

3+
### 2.2.1 - 04 Mar 2022
4+
5+
- Updates for PSPDFKit 8.1.2 for Android. (#33315)
6+
- Updates for PSPDFKit 11.2.4 for iOS. (#33315)
7+
- Fixes React Native Annotation Processor Catalog example for Android.(#33189)
8+
9+
## Previous Releases
10+
311
### 2.2.0 - 14 Feb 2022
412

513
- This release requires you to update your Android project's `compileSdkVersion` to version 31. Please refer to [our migration guide](https://pspdfkit.com/guides/react-native/migration-guides/react-native-2-2-migration-guide) for this release.
@@ -11,8 +19,6 @@
1119
- Fixes an issue where the `spreadFitting` configuration value is inverted on Android. (#32789)
1220
- Removes `signingConfig` from React Native Android's sample projects app-level `build.gradle` files. (#32767)
1321

14-
## Previous Releases
15-
1622
### 2.1.0 - 06 Jan 2022
1723

1824
- Adds documentation for all the configuration options. (#31898)

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Contains gradle configuration constants
1616
*/
1717
ext {
18-
PSPDFKIT_VERSION = '8.1.1'
18+
PSPDFKIT_VERSION = '8.1.2'
1919
}
2020

2121
buildscript {

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": "2.2.0",
3+
"version": "2.2.1",
44
"description": "React Native PDF Library by PSPDFKit",
55
"keywords": [
66
"react native",

samples/Catalog/Catalog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const examples = [
111111
component.props.navigation.push('StateChange');
112112
},
113113
},
114-
Platform.OS === 'ios' && {
114+
{
115115
key: 'item6',
116116
name: 'Annotation Processing',
117117
description:

samples/Catalog/configuration/Constants.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ export const tiffImagePath =
2424
export const pspdfkitColor = '#267AD4';
2525

2626
export const writableDocumentPath =
27-
fileSystem.DocumentDirectoryPath + '/' + exampleDocumentName;
27+
Platform.OS === 'ios'
28+
? fileSystem.DocumentDirectoryPath + '/' + exampleDocumentName
29+
: 'file://' + fileSystem.DocumentDirectoryPath + '/' + exampleDocumentName;

samples/Catalog/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ target 'Catalog' do
1616
inherit! :complete
1717
# Pods for testing
1818
end
19-
pod 'PSPDFKit', '~> 11.2.2'
19+
pod 'PSPDFKit', '~> 11.2.4'
2020
# Enables Flipper.
2121
#
2222
# Note that if you have use_frameworks! enabled, Flipper will not work and

samples/Catalog/ios/Podfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ PODS:
7474
- glog (0.3.5)
7575
- libevent (2.1.12)
7676
- OpenSSL-Universal (1.1.180)
77-
- PSPDFKit (11.2.2):
78-
- PSPDFKit/Core (= 11.2.2)
79-
- PSPDFKit/Core (11.2.2)
77+
- PSPDFKit (11.2.4):
78+
- PSPDFKit/Core (= 11.2.4)
79+
- PSPDFKit/Core (11.2.4)
8080
- RCT-Folly (2021.06.28.00-v2):
8181
- boost
8282
- DoubleConversion
@@ -275,7 +275,7 @@ PODS:
275275
- React-jsinspector (0.66.4)
276276
- React-logger (0.66.4):
277277
- glog
278-
- react-native-pspdfkit (2.2.0):
278+
- react-native-pspdfkit (2.2.1):
279279
- PSPDFKit
280280
- React
281281
- react-native-safe-area-context (3.3.2):
@@ -385,7 +385,7 @@ DEPENDENCIES:
385385
- FlipperKit/FlipperKitUserDefaultsPlugin (= 0.99.0)
386386
- FlipperKit/SKIOSNetworkPlugin (= 0.99.0)
387387
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
388-
- PSPDFKit (~> 11.2.2)
388+
- PSPDFKit (~> 11.2.4)
389389
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
390390
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
391391
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
@@ -531,7 +531,7 @@ SPEC CHECKSUMS:
531531
glog: 5337263514dd6f09803962437687240c5dc39aa4
532532
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
533533
OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b
534-
PSPDFKit: 1b4214c4d3b371bc73001a907045052be87b3c35
534+
PSPDFKit: c4500722e73a3fd620b979d9375601a9479a8a41
535535
RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9
536536
RCTRequired: 4bf86c70714490bca4bf2696148638284622644b
537537
RCTTypeSafety: c475a7059eb77935fa53d2c17db299893f057d5d
@@ -544,7 +544,7 @@ SPEC CHECKSUMS:
544544
React-jsiexecutor: 94ce921e1d8ce7023366873ec371f3441383b396
545545
React-jsinspector: d0374f7509d407d2264168b6d0fad0b54e300b85
546546
React-logger: 933f80c97c633ee8965d609876848148e3fef438
547-
react-native-pspdfkit: cd2fdb7c7b2758702e6b28da025f9d550f005bd9
547+
react-native-pspdfkit: d1e8169e3f045572187c6ff5753bd349ff778668
548548
react-native-safe-area-context: 584dc04881deb49474363f3be89e4ca0e854c057
549549
React-perflogger: 93075d8931c32cd1fce8a98c15d2d5ccc4d891bd
550550
React-RCTActionSheet: 7d3041e6761b4f3044a37079ddcb156575fb6d89
@@ -565,6 +565,6 @@ SPEC CHECKSUMS:
565565
Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280
566566
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
567567

568-
PODFILE CHECKSUM: b3f5d8f753fa5e5da850a97aa58bdd32c8297b6d
568+
PODFILE CHECKSUM: 0ee43f84ef1cd27dbd927a351014a56d016b8321
569569

570570
COCOAPODS: 1.11.2

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": "2.2.0",
3+
"version": "2.2.1",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",

samples/Catalog/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6048,7 +6048,7 @@ react-native-iphone-x-helper@^1.3.0:
60486048
integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==
60496049

60506050
"react-native-pspdfkit@file:../..":
6051-
version "2.2.0"
6051+
version "2.2.1"
60526052

60536053
react-native-safe-area-context@^3.3.2:
60546054
version "3.3.2"

samples/NativeCatalog/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ target 'NativeCatalog' do
1616
inherit! :complete
1717
# Pods for testing
1818
end
19-
pod 'PSPDFKit', '~> 11.2.2'
20-
pod 'Instant', '~> 11.2.2'
19+
pod 'PSPDFKit', '~> 11.2.4'
20+
pod 'Instant', '~> 11.2.4'
2121
# Enables Flipper.
2222
#
2323
# Note that if you have use_frameworks! enabled, Flipper will not work and

0 commit comments

Comments
 (0)