From f84e1d2568f879be49e53883e25afaff0f91ea97 Mon Sep 17 00:00:00 2001 From: Simone Arpe Date: Wed, 21 Jul 2021 11:24:33 +0200 Subject: [PATCH 1/6] Change PSPDFKIT_VERSION to Android 7 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 346bfa88..cda1b448 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -15,7 +15,7 @@ * Contains gradle configuration constants */ ext { - PSPDFKIT_VERSION = '6.6.2' + PSPDFKIT_VERSION = '7.0.0' } buildscript { From 55ed345a9185ee6f86509d1cfeba842b9a36a6ab Mon Sep 17 00:00:00 2001 From: Simone Arpe Date: Fri, 23 Jul 2021 16:01:25 +0200 Subject: [PATCH 2/6] Update build.gradle --- samples/Catalog/android/app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/Catalog/android/app/build.gradle b/samples/Catalog/android/app/build.gradle index 4b5f64d5..d8259ebc 100644 --- a/samples/Catalog/android/app/build.gradle +++ b/samples/Catalog/android/app/build.gradle @@ -117,7 +117,7 @@ android { defaultConfig { applicationId "com.pspdfkit.react.catalog" multiDexEnabled true - minSdkVersion 19 + minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" @@ -233,4 +233,4 @@ tasks.whenTaskAdded { task -> } } -apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) \ No newline at end of file +apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) From f6ac5d85f6a8812302ef831a51cc41be3926efb0 Mon Sep 17 00:00:00 2001 From: Simone Arpe Date: Fri, 23 Jul 2021 16:32:29 +0200 Subject: [PATCH 3/6] Update build.gradle --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index cda1b448..1a634354 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -41,7 +41,7 @@ android { buildToolsVersion "28.0.3" defaultConfig { - minSdkVersion 19 + minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" From 7df09045c992167f3b44027a2ee57015bedc71a4 Mon Sep 17 00:00:00 2001 From: Simone Arpe Date: Fri, 23 Jul 2021 16:34:01 +0200 Subject: [PATCH 4/6] Update build.gradle --- samples/NativeCatalog/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/NativeCatalog/android/build.gradle b/samples/NativeCatalog/android/build.gradle index dcc215fa..42aaf2ce 100644 --- a/samples/NativeCatalog/android/build.gradle +++ b/samples/NativeCatalog/android/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { buildToolsVersion = "28.0.3" - minSdkVersion = 19 + minSdkVersion = 21 compileSdkVersion = 28 targetSdkVersion = 28 } From 57b7c793b6e13150b6b06e0cdf8728bc4f5cde5d Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Fri, 23 Jul 2021 10:55:02 -0400 Subject: [PATCH 5/6] Update the run command for the iOS Catalog --- samples/Catalog/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Catalog/README.md b/samples/Catalog/README.md index 6709002c..119e1702 100644 --- a/samples/Catalog/README.md +++ b/samples/Catalog/README.md @@ -38,7 +38,7 @@ The project contains a large set of sample code, which illustrates how to set up 6. Step into the Catalog project's directory: `cd /samples/Catalog` 7. Install dependencies: `yarn install` in `samples/Catalog` directory. (Because of a [bug](https://github.com/yarnpkg/yarn/issues/2165) you may need to clean `yarn`'s cache with `yarn cache clean` before.) 8. Start the Metro bundler by running `react-native start` -9. Run the app with `react-native-cli`: `react-native run-ios` +9. Run the app with `react-native-cli`: `react-native run-ios --simulator="iPad Pro (12.9-inch) (5th generation)"` ### Troubleshooting From 1d96cefacbeaab51cec2e101d5105d3492b90eb6 Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Fri, 23 Jul 2021 11:23:45 -0400 Subject: [PATCH 6/6] Bump version number to 1.32.0 --- package-lock.json | 2 +- package.json | 2 +- samples/Catalog/package.json | 2 +- samples/Catalog/yarn.lock | 2 +- samples/NativeCatalog/package.json | 2 +- samples/NativeCatalog/yarn.lock | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index c2703595..b772de5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.31.6", + "version": "1.32.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e3cd78d9..c46f06f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.31.6", + "version": "1.32.0", "description": "A React Native module for the PSPDFKit library.", "keywords": [ "react native", diff --git a/samples/Catalog/package.json b/samples/Catalog/package.json index e9d1543c..003220a0 100644 --- a/samples/Catalog/package.json +++ b/samples/Catalog/package.json @@ -1,6 +1,6 @@ { "name": "Catalog", - "version": "1.31.6", + "version": "1.32.0", "private": true, "scripts": { "start": "react-native start", diff --git a/samples/Catalog/yarn.lock b/samples/Catalog/yarn.lock index 3dfde042..ade54115 100644 --- a/samples/Catalog/yarn.lock +++ b/samples/Catalog/yarn.lock @@ -5415,7 +5415,7 @@ react-native-permissions@^1.1.1: integrity sha512-t0Ujm177bagjUOSzhpmkSz+LqFW04HnY9TeZFavDCmV521fQvFz82aD+POXqWsAdsJVOK3umJYBNNqCjC3g0hQ== "react-native-pspdfkit@file:../..": - version "1.31.6" + version "1.32.0" react-native-qrcode-scanner@^1.2.1: version "1.2.1" diff --git a/samples/NativeCatalog/package.json b/samples/NativeCatalog/package.json index 3404efa8..ecad58dc 100644 --- a/samples/NativeCatalog/package.json +++ b/samples/NativeCatalog/package.json @@ -1,6 +1,6 @@ { "name": "NativeCatalog", - "version": "1.31.6", + "version": "1.32.0", "private": true, "scripts": { "android": "react-native run-android", diff --git a/samples/NativeCatalog/yarn.lock b/samples/NativeCatalog/yarn.lock index 7e8a805f..9e3c9d63 100644 --- a/samples/NativeCatalog/yarn.lock +++ b/samples/NativeCatalog/yarn.lock @@ -5506,7 +5506,7 @@ react-native-gesture-handler@^1.3.0: prop-types "^15.7.2" "react-native-pspdfkit@file:../..": - version "1.31.6" + version "1.32.0" react-native-safe-area-view@^0.14.1: version "0.14.8"