Skip to content

Commit

Permalink
Update demos for version 4.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
The Grizzly Labs committed Sep 4, 2023
1 parent e80ebcb commit 86d7a78
Show file tree
Hide file tree
Showing 44 changed files with 1,620 additions and 18 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.12.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.12.0'
implementation 'com.geniusscansdk:gssdk-core:4.13.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.13.0'

implementation 'androidx.fragment:fragment:1.3.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
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.12.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.12.0'
implementation 'com.geniusscansdk:gssdk-scanflow:4.12.0'
implementation 'com.geniusscansdk:gssdk-core:4.13.0'
implementation 'com.geniusscansdk:gssdk-ocr:4.13.0'
implementation 'com.geniusscansdk:gssdk-scanflow:4.13.0'

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.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="~11.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.12.0">
<plugin name="@thegrizzlylabs/cordova-plugin-genius-scan" spec="@thegrizzlylabs/cordova-plugin-genius-scan@4.13.0">
<variable name="CAMERA_USAGE_DESCRIPTION" value="Access camera for demo" />
</plugin>
</widget>
2 changes: 1 addition & 1 deletion dotnet-maui/Platforms/Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Android.App;
using Android.Content;
using Android.Content.PM;
using Com.Geniusscansdk.Scanflow;
using GeniusScanSDK.Scanflow;

namespace SimpleDemo;

Expand Down
2 changes: 1 addition & 1 deletion dotnet-maui/Platforms/Android/ScanFlowService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Com.Geniusscansdk.Scanflow;
using GeniusScanSDK.Scanflow;
namespace SimpleDemo
{
public partial class ScanFlowService
Expand Down
4 changes: 2 additions & 2 deletions dotnet-maui/SimpleDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
</ItemGroup>

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

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="4.12.0" />
<PackageReference Include="GeniusScanSDK.ScanFlow.iOS" Version="4.13.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.12.0"
version: "4.13.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.12.0
version: 4.13.0
path_provider: ^2.0.5

dev_dependencies:
Expand Down
54 changes: 54 additions & 0 deletions ios/GSSDKCustomDemo/Derived/InfoPlists/GSSDKCustomDemo-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>The Genius Scan SDK Simple Demo uses the camera for scanning documents.</string>
<key>NSLibraryUsageDescription</key>
<string>The Genius Scan SDK Custom Demo uses the photo library for importing documents.</string>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// swiftlint:disable all
// swift-format-ignore-file
// swiftformat:disable all
// Generated using tuist — https://github.com/tuist/tuist

#if os(macOS)
import AppKit
#elseif os(iOS)
import UIKit
#elseif os(tvOS) || os(watchOS)
import UIKit
#endif
#if canImport(SwiftUI)
import SwiftUI
#endif

// swiftlint:disable superfluous_disable_command file_length implicit_return

// MARK: - Asset Catalogs

// swiftlint:disable identifier_name line_length nesting type_body_length type_name
public enum GSSDKCustomDemoAsset {
}
// swiftlint:enable identifier_name line_length nesting type_body_length type_name

// MARK: - Implementation Details

// swiftlint:enable all
// swiftformat:enable all
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swiftlint:disable all
// swift-format-ignore-file
// swiftformat:disable all
import Foundation

// MARK: - Swift Bundle Accessor

private class BundleFinder {}

extension Foundation.Bundle {
/// Since GSSDKCustomDemo is a application, the bundle for classes within this module can be used directly.
static let module = Bundle(for: BundleFinder.self)
}

// MARK: - Objective-C Bundle Accessor

@objc
public class GSSDKCustomDemoResources: NSObject {
@objc public class var bundle: Bundle {
return .module
}
}
// swiftlint:enable all
// swiftformat:enable all
Binary file not shown.
Loading

0 comments on commit 86d7a78

Please sign in to comment.