From cf94246ea967f70a69ba4f6f0c6b17b62bea12f5 Mon Sep 17 00:00:00 2001 From: The Grizzly Labs Date: Tue, 12 Dec 2023 16:50:08 +0000 Subject: [PATCH] Update demos for version 4.20.1 --- android/demo-custom/build.gradle | 4 ++-- android/demo-simple/build.gradle | 6 +++--- cordova-plugin-genius-scan-demo/config.xml | 2 +- dotnet-maui/SimpleDemo.csproj | 4 ++-- flutter-plugin-genius-scan-demo/pubspec.lock | 2 +- flutter-plugin-genius-scan-demo/pubspec.yaml | 2 +- .../GSSDKCustomDemo.xcodeproj/project.pbxproj | 4 ++-- ios/GSSDKCustomDemo/Podfile | 6 +++--- ios/GSSDKCustomDemo/Project.swift | 2 +- .../GSSDKSimpleDemo.xcodeproj/project.pbxproj | 4 ++-- ios/GSSDKSimpleDemo/Podfile | 8 ++++---- ios/GSSDKSimpleDemo/Project.swift | 2 +- ios/README.md | 3 +-- react-native-genius-scan-demo/ios/Podfile.lock | 2 +- react-native-genius-scan-demo/package-lock.json | 8 ++++---- react-native-genius-scan-demo/package.json | 2 +- 16 files changed, 30 insertions(+), 31 deletions(-) diff --git a/android/demo-custom/build.gradle b/android/demo-custom/build.gradle index 8726110..427ae37 100644 --- a/android/demo-custom/build.gradle +++ b/android/demo-custom/build.gradle @@ -24,8 +24,8 @@ android { } dependencies { - implementation 'com.geniusscansdk:gssdk-core:4.20.0' - implementation 'com.geniusscansdk:gssdk-ocr:4.20.0' + implementation 'com.geniusscansdk:gssdk-core:4.20.1' + implementation 'com.geniusscansdk:gssdk-ocr:4.20.1' implementation 'androidx.fragment:fragment:1.6.2' implementation 'androidx.appcompat:appcompat:1.6.1' diff --git a/android/demo-simple/build.gradle b/android/demo-simple/build.gradle index 936cac6..d63cac3 100644 --- a/android/demo-simple/build.gradle +++ b/android/demo-simple/build.gradle @@ -25,9 +25,9 @@ android { } dependencies { - implementation 'com.geniusscansdk:gssdk-core:4.20.0' - implementation 'com.geniusscansdk:gssdk-ocr:4.20.0' - implementation 'com.geniusscansdk:gssdk-scanflow:4.20.0' + implementation 'com.geniusscansdk:gssdk-core:4.20.1' + implementation 'com.geniusscansdk:gssdk-ocr:4.20.1' + implementation 'com.geniusscansdk:gssdk-scanflow:4.20.1' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.10.0' diff --git a/cordova-plugin-genius-scan-demo/config.xml b/cordova-plugin-genius-scan-demo/config.xml index 7a6114a..df1d5ff 100644 --- a/cordova-plugin-genius-scan-demo/config.xml +++ b/cordova-plugin-genius-scan-demo/config.xml @@ -38,7 +38,7 @@ - + diff --git a/dotnet-maui/SimpleDemo.csproj b/dotnet-maui/SimpleDemo.csproj index 81f8fde..b7cca91 100644 --- a/dotnet-maui/SimpleDemo.csproj +++ b/dotnet-maui/SimpleDemo.csproj @@ -59,10 +59,10 @@ - + - + diff --git a/flutter-plugin-genius-scan-demo/pubspec.lock b/flutter-plugin-genius-scan-demo/pubspec.lock index 4c5dd7b..6103e00 100644 --- a/flutter-plugin-genius-scan-demo/pubspec.lock +++ b/flutter-plugin-genius-scan-demo/pubspec.lock @@ -84,7 +84,7 @@ packages: name: flutter_genius_scan url: "https://pub.dartlang.org" source: hosted - version: "4.20.0" + version: "4.20.1" flutter_test: dependency: "direct dev" description: flutter diff --git a/flutter-plugin-genius-scan-demo/pubspec.yaml b/flutter-plugin-genius-scan-demo/pubspec.yaml index 1d82b1f..b4b6817 100644 --- a/flutter-plugin-genius-scan-demo/pubspec.yaml +++ b/flutter-plugin-genius-scan-demo/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: open_filex: ^4.3.4 flutter_genius_scan: - version: 4.20.0 + version: 4.20.1 path_provider: ^2.1.1 dev_dependencies: diff --git a/ios/GSSDKCustomDemo/GSSDKCustomDemo.xcodeproj/project.pbxproj b/ios/GSSDKCustomDemo/GSSDKCustomDemo.xcodeproj/project.pbxproj index c36a2fd..6da8381 100644 --- a/ios/GSSDKCustomDemo/GSSDKCustomDemo.xcodeproj/project.pbxproj +++ b/ios/GSSDKCustomDemo/GSSDKCustomDemo.xcodeproj/project.pbxproj @@ -252,7 +252,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = "Derived/InfoPlists/GSSDKCustomDemo-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -337,7 +337,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = "Derived/InfoPlists/GSSDKCustomDemo-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ios/GSSDKCustomDemo/Podfile b/ios/GSSDKCustomDemo/Podfile index 68ff96d..5e9c62d 100644 --- a/ios/GSSDKCustomDemo/Podfile +++ b/ios/GSSDKCustomDemo/Podfile @@ -1,8 +1,8 @@ -platform :ios, '11.0' +platform :ios, '13.0' target 'GSSDKCustomDemo' do - pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.0.podspec' - pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.0.podspec' + pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.1.podspec' + pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.1.podspec' end diff --git a/ios/GSSDKCustomDemo/Project.swift b/ios/GSSDKCustomDemo/Project.swift index 4f256b0..c9fa0b1 100644 --- a/ios/GSSDKCustomDemo/Project.swift +++ b/ios/GSSDKCustomDemo/Project.swift @@ -10,7 +10,7 @@ let project = Project( product: .app, productName: "GSSDKCustomDemo", bundleId: "com.thegrizzlylabs.$(PRODUCT_NAME:rfc1034identifier)", - deploymentTarget: .iOS(targetVersion: "11.0", devices: [.ipad, .iphone]), + deploymentTarget: .iOS(targetVersion: "13.0", devices: [.ipad, .iphone]), infoPlist: .extendingDefault(with: [ "NSCameraUsageDescription": "The Genius Scan SDK Simple Demo uses the camera for scanning documents.", diff --git a/ios/GSSDKSimpleDemo/GSSDKSimpleDemo.xcodeproj/project.pbxproj b/ios/GSSDKSimpleDemo/GSSDKSimpleDemo.xcodeproj/project.pbxproj index 0be695d..1115aec 100644 --- a/ios/GSSDKSimpleDemo/GSSDKSimpleDemo.xcodeproj/project.pbxproj +++ b/ios/GSSDKSimpleDemo/GSSDKSimpleDemo.xcodeproj/project.pbxproj @@ -395,7 +395,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = "Derived/InfoPlists/GSSDKSimpleDemo-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -421,7 +421,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; ENABLE_PREVIEWS = YES; INFOPLIST_FILE = "Derived/InfoPlists/GSSDKSimpleDemo-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ios/GSSDKSimpleDemo/Podfile b/ios/GSSDKSimpleDemo/Podfile index d4fef37..4bfca8d 100644 --- a/ios/GSSDKSimpleDemo/Podfile +++ b/ios/GSSDKSimpleDemo/Podfile @@ -1,9 +1,9 @@ -platform :ios, '11.0' +platform :ios, '15.0' target 'GSSDKSimpleDemo' do - pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.0.podspec' - pod 'GSSDK/ScanFlow', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.0.podspec' - pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.0.podspec' + pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.1.podspec' + pod 'GSSDK/ScanFlow', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.1.podspec' + pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.20.1.podspec' end diff --git a/ios/GSSDKSimpleDemo/Project.swift b/ios/GSSDKSimpleDemo/Project.swift index 273bc8f..3d7d283 100644 --- a/ios/GSSDKSimpleDemo/Project.swift +++ b/ios/GSSDKSimpleDemo/Project.swift @@ -10,7 +10,7 @@ let project = Project( product: .app, productName: "GSSDKSimpleDemo", bundleId: "com.thegrizzlylabs.$(PRODUCT_NAME:rfc1034identifier)", - deploymentTarget: .iOS(targetVersion: "11.0", devices: [.ipad, .iphone]), + deploymentTarget: .iOS(targetVersion: "15.0", devices: [.ipad, .iphone]), infoPlist: .extendingDefault(with: [ "UIMainStoryboardFile": "Main", diff --git a/ios/README.md b/ios/README.md index b3cabbd..1b6df70 100644 --- a/ios/README.md +++ b/ios/README.md @@ -4,8 +4,7 @@ These are demo apps for the Genius Scan iOS SDK. Check out the [SDK documentatio ## Requirements -The Custom demo app supports iOS 13 and above. -The Simple demo app supports iOS 15 and above. +The demo apps support iOS 11 and above. ## Installation diff --git a/react-native-genius-scan-demo/ios/Podfile.lock b/react-native-genius-scan-demo/ios/Podfile.lock index ac9e8db..7f43cec 100644 --- a/react-native-genius-scan-demo/ios/Podfile.lock +++ b/react-native-genius-scan-demo/ios/Podfile.lock @@ -518,7 +518,7 @@ SPEC CHECKSUMS: ReactCommon: 7f3dd5e98a9ec627c6b03d26c062bf37ea9fc888 RNFileViewer: 83cc066ad795b1f986791d03b56fe0ee14b6a69f RNFS: 4ac0f0ea233904cb798630b3c077808c06931688 - RNGeniusScan: 07751aeafd9095dfbe60d8242ae9cdfed180577d + RNGeniusScan: 46aebc3652a74fce3bac3ec05501068471a185b4 Yoga: e71803b4c1fff832ccf9b92541e00f9b873119b9 PODFILE CHECKSUM: e31d08fdde2ab92fe686fdb448534578e0dffb10 diff --git a/react-native-genius-scan-demo/package-lock.json b/react-native-genius-scan-demo/package-lock.json index f91a748..5a00a65 100644 --- a/react-native-genius-scan-demo/package-lock.json +++ b/react-native-genius-scan-demo/package-lock.json @@ -8,7 +8,7 @@ "name": "demo", "version": "0.0.1", "dependencies": { - "@thegrizzlylabs/react-native-genius-scan": "^4.20.0", + "@thegrizzlylabs/react-native-genius-scan": "*", "react": "18.2.0", "react-native": "0.71.14", "react-native-file-viewer": "^2.1.4", @@ -3954,9 +3954,9 @@ } }, "node_modules/@thegrizzlylabs/react-native-genius-scan": { - "version": "4.20.0", - "resolved": "https://registry.npmjs.org/@thegrizzlylabs/react-native-genius-scan/-/react-native-genius-scan-4.20.0.tgz", - "integrity": "sha512-Jn7/ED8mJqrEmYtw/bBzQdD7wOUMfZlKWxQgzkeqUkCSQQgCGWYb+MlU2Kuee7XNJNuU2osJjpvejTSSJH6fgw==", + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/@thegrizzlylabs/react-native-genius-scan/-/react-native-genius-scan-4.8.0.tgz", + "integrity": "sha512-uyeLsVFO62/5A434/9j1ymV2L4+LMBBAgbIxZ45/2TyWCIsRual6C4kPqWvAtmPlPQ6TgcqBNSIaEIji+7jsOA==", "peerDependencies": { "react-native": ">=0.41.2" } diff --git a/react-native-genius-scan-demo/package.json b/react-native-genius-scan-demo/package.json index 3026c0f..f25cccb 100644 --- a/react-native-genius-scan-demo/package.json +++ b/react-native-genius-scan-demo/package.json @@ -10,7 +10,7 @@ "lint": "eslint ." }, "dependencies": { - "@thegrizzlylabs/react-native-genius-scan": "^4.20.0", + "@thegrizzlylabs/react-native-genius-scan": "^4.20.1", "react": "18.2.0", "react-native": "0.71.14", "react-native-file-viewer": "^2.1.4",