diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e1d961..f60da7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog -# 55.6.0 +# 55.7.0 + Please find the complete and updated release notes at https://documentation.anyline.com/flutter-plugin-component/latest/release-notes.html. diff --git a/android/build.gradle b/android/build.gradle index dc49a8d..dbcf7a8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0' buildscript { ext { - anyline_sdk_version = '55.6.0' + anyline_sdk_version = '55.7.0' kotlin_version = "1.8.0" } repositories { diff --git a/example/config/TINDOTWithUIFeedbackConfig.json b/example/config/TINDOTWithUIFeedbackConfig.json index da93c79..d1eb42c 100644 --- a/example/config/TINDOTWithUIFeedbackConfig.json +++ b/example/config/TINDOTWithUIFeedbackConfig.json @@ -23,7 +23,10 @@ "id": "tire_tin", "cancelOnResult": true, "tinConfig": { - "scanMode": "DOT" + "scanMode": "DOT", + "upsideDownMode": "AUTO", + "horizontalAlignmentRatio": 0.11, + "detectionMinHeightRatio": 0.36 } }, "cutoutConfig": { @@ -53,15 +56,27 @@ "uiFeedbackConfig": { "presets": [ { - "presetName": "tin_with_instruction_overlay_image_text_sound_feedback", + "presetName": "tin_with_instruction_oriented_overlay_image_text_sound_feedback", "presetAttributes": [ { "attributeName": "instruction_text", "attributeValue": "Please make sure the entire DOT number is inside the cutout." }, { - "attributeName": "left_overlay_image", - "attributeValue": "dot_overlay" + "attributeName": "cutout_overlay_normal_image", + "attributeValue": "uifeedback_tin_dot_cutout_normal" + }, + { + "attributeName": "cutout_overlay_upsidedown_image", + "attributeValue": "uifeedback_tin_dot_cutout_upsidedown" + }, + { + "attributeName": "alignment_alignleft_image", + "attributeValue": "uifeedback_tin_dot_alignleft" + }, + { + "attributeName": "alignment_alignright_image", + "attributeValue": "uifeedback_tin_dot_alignright" }, { "attributeName": "lighting_toodark_image", @@ -87,6 +102,14 @@ "attributeName": "date_wrong_image", "attributeValue": "uifeedback_tin_wrongformat" }, + { + "attributeName": "alignment_alignleft_text", + "attributeValue": "" + }, + { + "attributeName": "alignment_alignright_text", + "attributeValue": "" + }, { "attributeName": "lighting_toodark_text", "attributeValue": "" @@ -111,6 +134,14 @@ "attributeName": "date_wrong_text", "attributeValue": "" }, + { + "attributeName": "alignment_alignleft_sound", + "attributeValue": "info_sound_default.wav" + }, + { + "attributeName": "alignment_alignright_sound", + "attributeValue": "info_sound_default.wav" + }, { "attributeName": "lighting_toodark_sound", "attributeValue": "info_sound_default.wav" diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index a1aea1f..6892940 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,7 +1,7 @@ PODS: - - Anyline (55.6.0) - - anyline_plugin (55.6.0): - - Anyline (= 55.6.0) + - Anyline (55.7.0) + - anyline_plugin (55.7.0): + - Anyline (= 55.7.0) - Flutter - Flutter (1.0.0) - path_provider_foundation (0.0.1): @@ -32,8 +32,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/shared_preferences_foundation/darwin" SPEC CHECKSUMS: - Anyline: 1a160f91c36795287551a23f1543f6113e08f212 - anyline_plugin: b0c3c7319f2428ee65dff7d9fb00d774bed73638 + Anyline: e60f92d6e032743ebda59b0c9c13e492f7249f12 + anyline_plugin: c1b00879ec400d4498ad3f1dbba4abcc99be5985 Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 4fae341..e1e9d4d 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -407,7 +407,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MARKETING_VERSION = 55.6.0; + MARKETING_VERSION = 55.7.0; PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -545,7 +545,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MARKETING_VERSION = 55.6.0; + MARKETING_VERSION = 55.7.0; PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -578,7 +578,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MARKETING_VERSION = 55.6.0; + MARKETING_VERSION = 55.7.0; PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/example/pubspec.lock b/example/pubspec.lock index c973ff0..2b18109 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "55.6.0" + version: "55.7.0" async: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index ab6862e..f85027d 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: anyline_plugin_example description: Demonstrates how to use the anyline_plugin plugin. -version: 55.6.0 +version: 55.7.0 # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. diff --git a/ios/Classes/AnylinePlugin.m b/ios/Classes/AnylinePlugin.m index 227acb2..7859f05 100644 --- a/ios/Classes/AnylinePlugin.m +++ b/ios/Classes/AnylinePlugin.m @@ -188,7 +188,7 @@ - (nullable UIViewController *)getTopViewController { - (void)onSdkInitializationResponse:(nonnull ALWrapperSessionSDKInitializationResponse *)initializationResponse { if (_initSdkMethodResult) { - if (initializationResponse.initialized) { + if ([initializationResponse.initialized isEqualToNumber:@YES]) { _initSdkMethodResult(@(YES)); } else { _initSdkMethodResult([FlutterError errorWithCode:@"AnylineLicenseException" diff --git a/ios/anyline_plugin.podspec b/ios/anyline_plugin.podspec index d4376c5..6d4e32f 100644 --- a/ios/anyline_plugin.podspec +++ b/ios/anyline_plugin.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'anyline_plugin' - s.version = '55.6.0' + s.version = '55.7.0' s.summary = 'Anyline SDK' s.description = <<-DESC Anyline OCR Module @@ -16,7 +16,7 @@ Anyline OCR Module s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'Anyline', '55.6.0' + s.dependency 'Anyline', '55.7.0' s.static_framework = true s.platform = :ios, '12.0' s.ios.deployment_target = '12.0' diff --git a/pubspec.yaml b/pubspec.yaml index cdb3b3b..dd300d5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: anyline_plugin description: Flutter Plugin for Anyline OCR, which allows you to scan all kinds of numbers, characters, text and codes. -version: 55.6.0 +version: 55.7.0 homepage: https://anyline.com repository: https://github.com/Anyline/anyline-ocr-flutter-module documentation: https://documentation.anyline.com