From 6f6288b7e091f932bac989db083b0a656f93dfb1 Mon Sep 17 00:00:00 2001 From: PSPDFKit Date: Mon, 7 Mar 2022 09:07:37 -0500 Subject: [PATCH] Release 2.2.1 --- CHANGELOG.md | 10 ++++++++-- android/build.gradle | 2 +- package.json | 2 +- samples/Catalog/Catalog.js | 2 +- samples/Catalog/configuration/Constants.js | 4 +++- samples/Catalog/ios/Podfile | 2 +- samples/Catalog/ios/Podfile.lock | 16 ++++++++-------- samples/Catalog/package.json | 2 +- samples/Catalog/yarn.lock | 2 +- samples/NativeCatalog/ios/Podfile | 4 ++-- samples/NativeCatalog/ios/Podfile.lock | 22 +++++++++++----------- samples/NativeCatalog/package.json | 2 +- samples/NativeCatalog/yarn.lock | 2 +- 13 files changed, 40 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61511b96..1a9d3d4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ ## Newest Release +### 2.2.1 - 04 Mar 2022 + +- Updates for PSPDFKit 8.1.2 for Android. (#33315) +- Updates for PSPDFKit 11.2.4 for iOS. (#33315) +- Fixes React Native Annotation Processor Catalog example for Android.(#33189) + +## Previous Releases + ### 2.2.0 - 14 Feb 2022 - 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 @@ - Fixes an issue where the `spreadFitting` configuration value is inverted on Android. (#32789) - Removes `signingConfig` from React Native Android's sample projects app-level `build.gradle` files. (#32767) -## Previous Releases - ### 2.1.0 - 06 Jan 2022 - Adds documentation for all the configuration options. (#31898) diff --git a/android/build.gradle b/android/build.gradle index 86c17699..9db81a6e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -15,7 +15,7 @@ * Contains gradle configuration constants */ ext { - PSPDFKIT_VERSION = '8.1.1' + PSPDFKIT_VERSION = '8.1.2' } buildscript { diff --git a/package.json b/package.json index 3b08d6e4..12cb5ea1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "2.2.0", + "version": "2.2.1", "description": "React Native PDF Library by PSPDFKit", "keywords": [ "react native", diff --git a/samples/Catalog/Catalog.js b/samples/Catalog/Catalog.js index 8a0043b5..33b2b8d7 100644 --- a/samples/Catalog/Catalog.js +++ b/samples/Catalog/Catalog.js @@ -111,7 +111,7 @@ const examples = [ component.props.navigation.push('StateChange'); }, }, - Platform.OS === 'ios' && { + { key: 'item6', name: 'Annotation Processing', description: diff --git a/samples/Catalog/configuration/Constants.js b/samples/Catalog/configuration/Constants.js index f959983a..7163d6b6 100644 --- a/samples/Catalog/configuration/Constants.js +++ b/samples/Catalog/configuration/Constants.js @@ -24,4 +24,6 @@ export const tiffImagePath = export const pspdfkitColor = '#267AD4'; export const writableDocumentPath = - fileSystem.DocumentDirectoryPath + '/' + exampleDocumentName; + Platform.OS === 'ios' + ? fileSystem.DocumentDirectoryPath + '/' + exampleDocumentName + : 'file://' + fileSystem.DocumentDirectoryPath + '/' + exampleDocumentName; diff --git a/samples/Catalog/ios/Podfile b/samples/Catalog/ios/Podfile index 3b9a266e..404bba45 100644 --- a/samples/Catalog/ios/Podfile +++ b/samples/Catalog/ios/Podfile @@ -16,7 +16,7 @@ target 'Catalog' do inherit! :complete # Pods for testing end - pod 'PSPDFKit', '~> 11.2.2' + pod 'PSPDFKit', '~> 11.2.4' # Enables Flipper. # # Note that if you have use_frameworks! enabled, Flipper will not work and diff --git a/samples/Catalog/ios/Podfile.lock b/samples/Catalog/ios/Podfile.lock index e8777245..6f4ea2da 100644 --- a/samples/Catalog/ios/Podfile.lock +++ b/samples/Catalog/ios/Podfile.lock @@ -74,9 +74,9 @@ PODS: - glog (0.3.5) - libevent (2.1.12) - OpenSSL-Universal (1.1.180) - - PSPDFKit (11.2.2): - - PSPDFKit/Core (= 11.2.2) - - PSPDFKit/Core (11.2.2) + - PSPDFKit (11.2.4): + - PSPDFKit/Core (= 11.2.4) + - PSPDFKit/Core (11.2.4) - RCT-Folly (2021.06.28.00-v2): - boost - DoubleConversion @@ -275,7 +275,7 @@ PODS: - React-jsinspector (0.66.4) - React-logger (0.66.4): - glog - - react-native-pspdfkit (2.2.0): + - react-native-pspdfkit (2.2.1): - PSPDFKit - React - react-native-safe-area-context (3.3.2): @@ -385,7 +385,7 @@ DEPENDENCIES: - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.99.0) - FlipperKit/SKIOSNetworkPlugin (= 0.99.0) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - - PSPDFKit (~> 11.2.2) + - PSPDFKit (~> 11.2.4) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) @@ -531,7 +531,7 @@ SPEC CHECKSUMS: glog: 5337263514dd6f09803962437687240c5dc39aa4 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b - PSPDFKit: 1b4214c4d3b371bc73001a907045052be87b3c35 + PSPDFKit: c4500722e73a3fd620b979d9375601a9479a8a41 RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9 RCTRequired: 4bf86c70714490bca4bf2696148638284622644b RCTTypeSafety: c475a7059eb77935fa53d2c17db299893f057d5d @@ -544,7 +544,7 @@ SPEC CHECKSUMS: React-jsiexecutor: 94ce921e1d8ce7023366873ec371f3441383b396 React-jsinspector: d0374f7509d407d2264168b6d0fad0b54e300b85 React-logger: 933f80c97c633ee8965d609876848148e3fef438 - react-native-pspdfkit: cd2fdb7c7b2758702e6b28da025f9d550f005bd9 + react-native-pspdfkit: d1e8169e3f045572187c6ff5753bd349ff778668 react-native-safe-area-context: 584dc04881deb49474363f3be89e4ca0e854c057 React-perflogger: 93075d8931c32cd1fce8a98c15d2d5ccc4d891bd React-RCTActionSheet: 7d3041e6761b4f3044a37079ddcb156575fb6d89 @@ -565,6 +565,6 @@ SPEC CHECKSUMS: Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: b3f5d8f753fa5e5da850a97aa58bdd32c8297b6d +PODFILE CHECKSUM: 0ee43f84ef1cd27dbd927a351014a56d016b8321 COCOAPODS: 1.11.2 diff --git a/samples/Catalog/package.json b/samples/Catalog/package.json index ff51c188..24acb6e8 100644 --- a/samples/Catalog/package.json +++ b/samples/Catalog/package.json @@ -1,6 +1,6 @@ { "name": "Catalog", - "version": "2.2.0", + "version": "2.2.1", "private": true, "scripts": { "android": "react-native run-android", diff --git a/samples/Catalog/yarn.lock b/samples/Catalog/yarn.lock index f474f468..e2661561 100644 --- a/samples/Catalog/yarn.lock +++ b/samples/Catalog/yarn.lock @@ -6048,7 +6048,7 @@ react-native-iphone-x-helper@^1.3.0: integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg== "react-native-pspdfkit@file:../..": - version "2.2.0" + version "2.2.1" react-native-safe-area-context@^3.3.2: version "3.3.2" diff --git a/samples/NativeCatalog/ios/Podfile b/samples/NativeCatalog/ios/Podfile index 52c6e823..a64b92df 100644 --- a/samples/NativeCatalog/ios/Podfile +++ b/samples/NativeCatalog/ios/Podfile @@ -16,8 +16,8 @@ target 'NativeCatalog' do inherit! :complete # Pods for testing end - pod 'PSPDFKit', '~> 11.2.2' - pod 'Instant', '~> 11.2.2' + pod 'PSPDFKit', '~> 11.2.4' + pod 'Instant', '~> 11.2.4' # Enables Flipper. # # Note that if you have use_frameworks! enabled, Flipper will not work and diff --git a/samples/NativeCatalog/ios/Podfile.lock b/samples/NativeCatalog/ios/Podfile.lock index 3818e9ba..fdb9ee7e 100644 --- a/samples/NativeCatalog/ios/Podfile.lock +++ b/samples/NativeCatalog/ios/Podfile.lock @@ -72,12 +72,12 @@ PODS: - FlipperKit/FlipperKitNetworkPlugin - fmt (6.2.1) - glog (0.3.5) - - Instant (11.2.2) + - Instant (11.2.4) - libevent (2.1.12) - OpenSSL-Universal (1.1.180) - - PSPDFKit (11.2.2): - - PSPDFKit/Core (= 11.2.2) - - PSPDFKit/Core (11.2.2) + - PSPDFKit (11.2.4): + - PSPDFKit/Core (= 11.2.4) + - PSPDFKit/Core (11.2.4) - RCT-Folly (2021.06.28.00-v2): - boost - DoubleConversion @@ -276,7 +276,7 @@ PODS: - React-jsinspector (0.66.4) - React-logger (0.66.4): - glog - - react-native-pspdfkit (2.2.0): + - react-native-pspdfkit (2.2.1): - PSPDFKit - React - react-native-safe-area-context (3.3.2): @@ -386,8 +386,8 @@ DEPENDENCIES: - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.99.0) - FlipperKit/SKIOSNetworkPlugin (= 0.99.0) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - - Instant (~> 11.2.2) - - PSPDFKit (~> 11.2.2) + - Instant (~> 11.2.4) + - PSPDFKit (~> 11.2.4) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) @@ -532,10 +532,10 @@ SPEC CHECKSUMS: FlipperKit: d8d346844eca5d9120c17d441a2f38596e8ed2b9 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 5337263514dd6f09803962437687240c5dc39aa4 - Instant: 872613d414ca58677e98a91ce66613a911f1ff7d + Instant: d3052a5778e775bbf52a4b16486a2a398a8b88ba libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b - PSPDFKit: 1b4214c4d3b371bc73001a907045052be87b3c35 + PSPDFKit: c4500722e73a3fd620b979d9375601a9479a8a41 RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9 RCTRequired: 4bf86c70714490bca4bf2696148638284622644b RCTTypeSafety: c475a7059eb77935fa53d2c17db299893f057d5d @@ -548,7 +548,7 @@ SPEC CHECKSUMS: React-jsiexecutor: 94ce921e1d8ce7023366873ec371f3441383b396 React-jsinspector: d0374f7509d407d2264168b6d0fad0b54e300b85 React-logger: 933f80c97c633ee8965d609876848148e3fef438 - react-native-pspdfkit: cd2fdb7c7b2758702e6b28da025f9d550f005bd9 + react-native-pspdfkit: d1e8169e3f045572187c6ff5753bd349ff778668 react-native-safe-area-context: 584dc04881deb49474363f3be89e4ca0e854c057 React-perflogger: 93075d8931c32cd1fce8a98c15d2d5ccc4d891bd React-RCTActionSheet: 7d3041e6761b4f3044a37079ddcb156575fb6d89 @@ -569,6 +569,6 @@ SPEC CHECKSUMS: Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: bd5bd485f30d0701b85c02187b725eed5ccf8e9c +PODFILE CHECKSUM: 1d2cac7585bc48baf1570124f7acead4def87be7 COCOAPODS: 1.11.2 diff --git a/samples/NativeCatalog/package.json b/samples/NativeCatalog/package.json index 7f694601..ecb99e41 100644 --- a/samples/NativeCatalog/package.json +++ b/samples/NativeCatalog/package.json @@ -1,6 +1,6 @@ { "name": "NativeCatalog", - "version": "2.2.0", + "version": "2.2.1", "private": true, "scripts": { "android": "react-native run-android", diff --git a/samples/NativeCatalog/yarn.lock b/samples/NativeCatalog/yarn.lock index f474f468..e2661561 100644 --- a/samples/NativeCatalog/yarn.lock +++ b/samples/NativeCatalog/yarn.lock @@ -6048,7 +6048,7 @@ react-native-iphone-x-helper@^1.3.0: integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg== "react-native-pspdfkit@file:../..": - version "2.2.0" + version "2.2.1" react-native-safe-area-context@^3.3.2: version "3.3.2"