Skip to content

Commit

Permalink
Update demos for version 4.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
The Grizzly Labs committed Nov 2, 2023
1 parent 06b8c70 commit 96c58ca
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 28 deletions.
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.android.tools.build:gradle:7.4.2'
// Patch until apkscale is fixed: https://github.com/twilio/apkscale/issues/10
classpath "com.twilio:apkscale:0.0.100"
classpath "androidx.benchmark:benchmark-gradle-plugin:1.0.0"
classpath "androidx.benchmark:benchmark-gradle-plugin:1.1.1"
classpath "firebase.test.lab:plugin:2.6.2"
}
}
Expand All @@ -47,7 +47,7 @@ allprojects {

ext {
ndkVersion = '25.1.8937393'
compileSdkVersion = 33
targetSdkVersion = 33
compileSdkVersion = 34
targetSdkVersion = 34
minSdkVersion = 21
}
8 changes: 4 additions & 4 deletions android/demo-custom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ android {
}

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

implementation 'androidx.fragment:fragment:1.3.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.fragment:fragment:1.6.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
}

task copyLanguageFile(type: Copy) {
Expand Down
10 changes: 5 additions & 5 deletions android/demo-simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ android {
}

dependencies {
implementation 'com.geniusscansdk:gssdk-core:4.14.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.14.0'
implementation 'com.geniusscansdk:gssdk-scanflow:4.14.0'
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 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
}

task copyLanguageFile(type: Copy) {
Expand Down
4 changes: 2 additions & 2 deletions android/gradle/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Feb 11 14:48:17 CET 2021
#Fri Jun 23 10:17:23 CEST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
2 changes: 1 addition & 1 deletion cordova-plugin-genius-scan-demo/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<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.14.0">
<plugin name="@thegrizzlylabs/cordova-plugin-genius-scan" spec="@thegrizzlylabs/cordova-plugin-genius-scan@4.15.0">
<variable name="CAMERA_USAGE_DESCRIPTION" value="Access camera for demo" />
</plugin>
</widget>
17 changes: 13 additions & 4 deletions dotnet-maui/SimpleDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
</PropertyGroup>

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#629ED6" />
Expand All @@ -49,11 +49,20 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
</ItemGroup>

<!-- These packages are needed to solve conflicts between CameraX 1.3 and MAUI dependencies -->
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
<PackageReference Include="GeniusScanSDK.ScanFlow.Android" Version="4.14.0" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx" Version="2.6.2.2" />
<PackageReference Include="Xamarin.AndroidX.Activity" Version="1.8.0.1" />
<PackageReference Include="Xamarin.AndroidX.Activity.Ktx" Version="1.8.0.1" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.6.2.2" />
<PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.3.0.1" />
</ItemGroup>


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

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="4.14.0" />
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="4.15.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion flutter-plugin-genius-scan-demo/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ packages:
name: flutter_genius_scan
url: "https://pub.dartlang.org"
source: hosted
version: "4.14.0"
version: "4.15.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.14.0
version: 4.15.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.14.0.podspec'
pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.14.0.podspec'
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'

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.14.0.podspec'
pod 'GSSDK/ScanFlow', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.14.0.podspec'
pod 'GSSDK/OCR', :podspec => 'https://s3.amazonaws.com/tgl.geniusscan.sdk/GSSDK-4.14.0.podspec'
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'

end
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.14.0",
"@thegrizzlylabs/react-native-genius-scan": "^4.15.0",
"react": "18.2.0",
"react-native": "^0.71.0",
"react-native-file-viewer": "^2.1.4",
Expand Down

0 comments on commit 96c58ca

Please sign in to comment.