Skip to content

Commit

Permalink
Update demos for version 4.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
The Grizzly Labs committed Nov 7, 2023
1 parent 32e4e70 commit 2ad3b06
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 32 deletions.
4 changes: 2 additions & 2 deletions android/demo-custom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
}

dependencies {
implementation 'com.geniusscansdk:gssdk-core:4.15.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.15.0'
implementation 'com.geniusscansdk:gssdk-core:4.16.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.16.0'

implementation 'androidx.fragment:fragment:1.6.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
Expand Down
6 changes: 3 additions & 3 deletions android/demo-simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ android {
}

dependencies {
implementation 'com.geniusscansdk:gssdk-core:4.15.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.15.0'
implementation 'com.geniusscansdk:gssdk-scanflow:4.15.0'
implementation 'com.geniusscansdk:gssdk-core:4.16.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.16.0'
implementation 'com.geniusscansdk:gssdk-scanflow:4.16.0'

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
Expand Down
3 changes: 1 addition & 2 deletions cordova-plugin-genius-scan-demo/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@
<resource-file src="res/android/ic_launcher_foreground.xml" target="/app/src/main/res/drawable/ic_launcher_foreground.xml" />
<resource-file src="res/android/ic_launcher.xml" target="/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
<preference name="AndroidXEnabled" value="true" />
<preference name="android-compileSdkVersion" value="34" />
</platform>
<engine name="ios" spec="~7.0.1" />
<engine name="android" spec="~12.0.0" />
<plugin name="cordova-plugin-file" spec="^6.0.1" />
<plugin name="cordova-plugin-preview-any-file" spec="^0.2.9" />
<plugin name="@thegrizzlylabs/cordova-plugin-genius-scan" spec="@thegrizzlylabs/cordova-plugin-genius-scan@4.15.0">
<plugin name="@thegrizzlylabs/cordova-plugin-genius-scan" spec="@thegrizzlylabs/cordova-plugin-genius-scan@4.16.0">
<variable name="CAMERA_USAGE_DESCRIPTION" value="Access camera for demo" />
</plugin>
</widget>
4 changes: 2 additions & 2 deletions dotnet-maui/SimpleDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
<PackageReference Include="GeniusScanSDK.ScanFlow.Android" Version="4.15.0" />
<PackageReference Include="GeniusScanSDK.ScanFlow.Android" Version="4.16.0" />
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="4.15.0" />
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="4.16.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions flutter-plugin-genius-scan-demo/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 34
compileSdkVersion 33

lintOptions {
disable 'InvalidPackage'
Expand All @@ -34,7 +34,7 @@ android {
defaultConfig {
applicationId "com.geniusscansdk.flutter.demo"
minSdkVersion 21
targetSdkVersion 34
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
2 changes: 1 addition & 1 deletion flutter-plugin-genius-scan-demo/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:7.0.3'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
5 changes: 2 additions & 3 deletions flutter-plugin-genius-scan-demo/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ packages:
dependency: "direct main"
description:
name: flutter_genius_scan
sha256: "9e2d79561172af2608fbfd0fe7414e8ae3166c1e08375cb8400c4be3c648d90a"
url: "https://pub.dev"
url: "https://pub.dartlang.org"
source: hosted
version: "4.15.0"
version: "4.16.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion flutter-plugin-genius-scan-demo/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
open_file: ^3.1.0

flutter_genius_scan:
version: 4.15.0
version: 4.16.0
path_provider: ^2.0.5

dev_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions ios/GSSDKCustomDemo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ platform :ios, '11.0'

target 'GSSDKCustomDemo' do

pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.15.0.podspec'
pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.15.0.podspec'
pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.16.0.podspec'
pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.16.0.podspec'

end
6 changes: 3 additions & 3 deletions ios/GSSDKSimpleDemo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ platform :ios, '11.0'

target 'GSSDKSimpleDemo' do

pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.15.0.podspec'
pod 'GSSDK/ScanFlow', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.15.0.podspec'
pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.15.0.podspec'
pod 'GSSDK/Core', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.16.0.podspec'
pod 'GSSDK/ScanFlow', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.16.0.podspec'
pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.16.0.podspec'

end
6 changes: 3 additions & 3 deletions react-native-genius-scan-demo/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Genius Scan SDK for React Native demo

## Installation
If you don't have it already, install the ReactNative CLI
If you don't have it already, install react native CLI
```
npm install -g react-native-cli
```
Expand All @@ -17,6 +17,6 @@ For iOS, run the command `pod install` from the `ios` folder.

Run the app in a simulator or on a phone
```
npx react-native run-ios
npx react-native run-android
react-native run-ios
react-native run-android
```
5 changes: 3 additions & 2 deletions react-native-genius-scan-demo/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34
compileSdkVersion = 33
targetSdkVersion = 33

ndkVersion = "25.1.8937393"
}
Expand Down
8 changes: 4 additions & 4 deletions react-native-genius-scan-demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion react-native-genius-scan-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint ."
},
"dependencies": {
"@thegrizzlylabs/react-native-genius-scan": "^4.15.0",
"@thegrizzlylabs/react-native-genius-scan": "^4.16.0",
"react": "18.2.0",
"react-native": "^0.71.0",
"react-native-file-viewer": "^2.1.4",
Expand Down

0 comments on commit 2ad3b06

Please sign in to comment.