Skip to content

Commit

Permalink
Update demos for version 5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
The Grizzly Labs committed Jul 23, 2024
1 parent c49fa82 commit 1f6e194
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ Genius Scan SDK demo applications

# Description

These sample scanning applications demonstrate the capability of the [Genius Scan SDK](https://geniusscansdk.com) and how you can integrate it into your iOS, Android, Cordova, React Native, Flutter and .NET MAUI applications.
These sample scanning applications demonstrate the capability of the [Genius Scan SDK](https://geniusscansdk.com) and how you can integrate it into your iOS, Android, Cordova, React Native and Flutter applications.

**Developing an iOS application?**

>Request a demo from [our website](https://geniusscansdk.com) to obtain a package containing the native iOS SDK (Objective-C libraries).
# Content

Expand All @@ -14,30 +18,25 @@ These sample scanning applications demonstrate the capability of the [Genius Sca
- [React Native demo](./react-native-genius-scan-demo/README.md), which uses the [Genius Scan React Native component](https://www.npmjs.com/package/@thegrizzlylabs/react-native-genius-scan)
- [Cordova demo](./cordova-plugin-genius-scan-demo/README.md), which uses the [Genius Scan SDK Cordova plugin](https://www.npmjs.com/package/@thegrizzlylabs/cordova-plugin-genius-scan)
- [Flutter demo](./flutter-plugin-genius-scan-demo/README.md), which uses the [Genius Scan SDK Flutter plugin](https://pub.dev/packages/flutter_genius_scan)
- [.NET MAUI demo](./dotnet-maui), which uses the Genius Scan SDK [.NET Android plugin](https://www.nuget.org/packages/GeniusScanSDK.ScanFlow.Android) and [.NET iOS plugin](https://www.nuget.org/packages/GeniusScanSDK.ScanFlow.iOS)
- [Xamarin demo](./xamarin), which shows how to use the Genius Scan SDK in a Xamarin app, but which is not maintained anymore

# Features

- Scanning from the device camera and from existing pictures
- Automatic document detection in real-time
- Auto-trigger to capture document upon detection
- Document perspective correction
- Image enhancement with various filters (Black & white, Color, Photo, Monochrome…)
- Distortion correction
- Text recognition
- Multi-page PDF and TIFF generation
- Structured data extraction from receipts, business cards, bank details…
- Image enhancement with 4 different modes (Black & white, Color, Photo and Monochrome)
- PDF generation and sharing with password protection

# Installation

Please refer to the README of each application directory for instructions.

# FAQ

### Why does the application stop working after some time?
### Why does the application crash or stop working after some time?

The demo apps are provided in trial mode – i.e without a license key – so the SDK runs for only one minute.
The demo apps are provided in trial mode – i.e without a license key – so the SDK runs only for a minute.

To test the document scanner without this time limit, request a free, 30-day Evaluation License for your own application identifier on [our website](https://geniusscansdk.com).

Expand Down
2 changes: 1 addition & 1 deletion android/demo-custom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
}

dependencies {
implementation 'com.geniusscansdk:gssdk:5.1.1'
implementation 'com.geniusscansdk:gssdk:5.1.2'

implementation 'androidx.fragment:fragment:1.6.2'
implementation 'androidx.appcompat:appcompat:1.6.1'
Expand Down
2 changes: 1 addition & 1 deletion android/demo-simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
}

dependencies {
implementation 'com.geniusscansdk:gssdk:5.1.1'
implementation 'com.geniusscansdk:gssdk:5.1.2'

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
Expand Down
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/[email protected].1">
<plugin name="@thegrizzlylabs/cordova-plugin-genius-scan" spec="@thegrizzlylabs/[email protected].2">
<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 @@ -55,10 +55,10 @@
</ItemGroup>

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

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="5.1.1" />
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="5.1.2" />
</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: "5.1.1"
version: "5.1.2"
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_filex: ^4.3.4

flutter_genius_scan:
version: 5.1.1
version: 5.1.2
path_provider: ^2.1.1

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
repositoryURL = "https://github.com/thegrizzlylabs/geniusscan-sdk-spm";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.1.1;
minimumVersion = 5.1.2;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
repositoryURL = "https://github.com/thegrizzlylabs/geniusscan-sdk-spm";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.1.1;
minimumVersion = 5.1.2;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
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": "^5.1.1",
"@thegrizzlylabs/react-native-genius-scan": "^5.1.2",
"react": "18.2.0",
"react-native": "0.71.14",
"react-native-file-viewer": "^2.1.4"
Expand Down

0 comments on commit 1f6e194

Please sign in to comment.