Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
39 changes: 35 additions & 4 deletions example/config/TINDOTWithUIFeedbackConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"id": "tire_tin",
"cancelOnResult": true,
"tinConfig": {
"scanMode": "DOT"
"scanMode": "DOT",
"upsideDownMode": "AUTO",
"horizontalAlignmentRatio": 0.11,
"detectionMinHeightRatio": 0.36
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -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",
Expand All @@ -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": ""
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -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):
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down Expand Up @@ -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 = "";
Expand Down Expand Up @@ -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 = "";
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
path: ".."
relative: true
source: path
version: "55.6.0"
version: "55.7.0"
async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/AnylinePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions ios/anyline_plugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down