Skip to content

Commit

Permalink
Release 52.0.1 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-graca authored Jun 13, 2024
1 parent 50930aa commit 7ad3a03
Show file tree
Hide file tree
Showing 16 changed files with 169 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

# 51.4.0
# 52.0.1

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 = "51.4.0"
anyline_sdk_version = "52.0.1"
kotlin_version = "1.8.0"
}
repositories {
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ android {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
shrinkResources true
shrinkResources false
minifyEnabled true
proguardFiles 'proguard-rules.pro'
}
Expand Down
77 changes: 77 additions & 0 deletions example/config/ParallelFirstScanningConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"options": {
"doneButtonConfig": {
"offset.y": -88
}
},
"viewPluginCompositeConfig": {
"id": "parallel-first-vin-barcode",
"processingMode": "parallelFirstScan",
"viewPlugins": [
{
"viewPluginConfig": {
"pluginConfig": {
"id": "barcode",
"barcodeConfig": {
"barcodeFormats": ["ALL"]
}
},
"scanFeedbackConfig": {
"style": "rect",
"strokeWidth": 2,
"strokeColor": "0099FF",
"fillColor": "330099FF",
"cornerRadius": 0,
"beepOnResult": false,
"vibrateOnResult": false,
"blinkAnimationOnResult": true
}
}
},
{
"viewPluginConfig": {
"pluginConfig": {
"id": "vin",
"vinConfig": {}
},
"cutoutConfig": {
"maxWidthPercent": "85%",
"alignment": "top_half",
"ratioFromSize": { "width": 62, "height": 9 },
"offset": { "x": 0, "y": 0 },
"outerColor": "000000",
"outerAlpha": 0,
"strokeWidth": 2,
"strokeColor": "0099FF",
"cornerRadius": 4,
"feedbackStrokeColor": "0099FF"
},
"scanFeedbackConfig": {
"style": "contour_rect",
"animation": "traverse_multi",
"animationDuration": 250,
"strokeWidth": 2,
"strokeColor": "0099FF",
"fillColor": "220099FF",
"beepOnResult": false,
"vibrateOnResult": false,
"blinkAnimationOnResult": true
},
"uiFeedbackConfig": {
"presets": [
{
"presetName": "simple_instruction_label",
"presetAttributes": [
{
"attributeName": "instruction_text",
"attributeValue": "Position the VIN within the cutout. The barcode can be anywhere inside the camera frame."
}
]
}
]
}
}
}
]
}
}
39 changes: 39 additions & 0 deletions example/config/SerialScanningConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@
"fillColor": "330099ff",
"beepOnResult": true,
"vibrateOnResult": true
},
"uiFeedbackConfig": {
"presets": [
{
"presetName": "simple_instruction_label",
"presetAttributes": [
{
"attributeName": "instruction_text",
"attributeValue": "Position the entire License Plate within the cutout"
}
]
}
]
}
}
},
Expand Down Expand Up @@ -107,6 +120,19 @@
"beepOnResult": true,
"vibrateOnResult": true,
"strokeWidth": 2
},
"uiFeedbackConfig": {
"presets": [
{
"presetName": "simple_instruction_label",
"presetAttributes": [
{
"attributeName": "instruction_text",
"attributeValue": "Position the entire Driving License within the cutout"
}
]
}
]
}
}
},
Expand Down Expand Up @@ -145,6 +171,19 @@
"fillColor": "330099FF",
"beepOnResult": true,
"vibrateOnResult": true
},
"uiFeedbackConfig": {
"presets": [
{
"presetName": "simple_instruction_label",
"presetAttributes": [
{
"attributeName": "instruction_text",
"attributeValue": "Position the VIN within the cutout"
}
]
}
]
}
}
}
Expand Down
10 changes: 9 additions & 1 deletion example/config/TINDOTWithUIFeedbackConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,16 @@
"uiFeedbackConfig": {
"presets": [
{
"presetName": "tin_custom_v1",
"presetName": "tin_with_instruction_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": "lighting_toodark_image",
"attributeValue": "uifeedback_tin_toodark"
Expand Down
13 changes: 13 additions & 0 deletions example/config/TireSizeConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@
"beepOnResult": true,
"vibrateOnResult": false,
"strokeWidth": 2
},
"uiFeedbackConfig": {
"presets": [
{
"presetName": "simple_instruction_label",
"presetAttributes": [
{
"attributeName": "instruction_text",
"attributeValue": "Look for a standardized number sequence, like 205/55 R16"
}
]
}
]
}
}
}
2 changes: 1 addition & 1 deletion example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
14 changes: 7 additions & 7 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- Anyline (51.4.0)
- anyline_plugin (51.4.0):
- Anyline (~> 51)
- Anyline (52.0.1)
- anyline_plugin (52.0.1):
- Anyline (~> 52)
- Flutter
- Flutter (1.0.0)
- path_provider_foundation (0.0.1):
Expand Down Expand Up @@ -37,13 +37,13 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"

SPEC CHECKSUMS:
Anyline: 007428dc62f87f4ef25c93eb4f00b6a49eeea5fd
anyline_plugin: e9b5f89816bacb68aa791ad3e02cebca45136708
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
Anyline: 7bcb18673910593e0bf41304adc8be4d3df5b52a
anyline_plugin: 1d5bcfd3fc3499f4bb58cdb30824d58435d95287
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
permission_handler_apple: 036b856153a2b1f61f21030ff725f3e6fece2b78
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695

PODFILE CHECKSUM: 1ba8e470e8138e872af9577a0e261e59d83eaf57

COCOAPODS: 1.15.2
COCOAPODS: 1.14.3
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 = 51.4.0;
MARKETING_VERSION = 52.0.1;
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 = 51.4.0;
MARKETING_VERSION = 52.0.1;
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 = 51.4.0;
MARKETING_VERSION = 52.0.1;
PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
6 changes: 6 additions & 0 deletions example/lib/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,12 @@ class _HomeState extends State<Home> {
scan(ScanMode.ParallelScanning);
},
),
ScanButton(
text: 'Parallel First Scanning (VIN + Barcode)',
onPressed: () {
scan(ScanMode.ParallelFirstScanning);
},
),
],
),
),
Expand Down
7 changes: 6 additions & 1 deletion example/lib/scan_modes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ enum ScanMode {
NFCAndMRZ,
Odometer,
ParallelScanning,
ParallelFirstScanning,
SerialNumber,
SerialScanning,
TIN,
Expand Down Expand Up @@ -68,6 +69,8 @@ extension ScanModeInfo on ScanMode {
return 'Barcode';
case ScanMode.ParallelScanning:
return 'Parallel Scanning (Meter/USRN)';
case ScanMode.ParallelFirstScanning:
return 'Parallel First Scanning (VIN/Barcode)';
case ScanMode.SerialScanning:
return 'Serial Scanning (LP>DL>VIN)';
case ScanMode.NFCAndMRZ:
Expand All @@ -84,6 +87,8 @@ extension ScanModeInfo on ScanMode {
}

bool isCompositeScan() {
return this == ScanMode.ParallelScanning || this == ScanMode.SerialScanning;
return this == ScanMode.ParallelScanning
|| this == ScanMode.ParallelFirstScanning
|| this == ScanMode.SerialScanning;
}
}
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: "51.4.0"
version: "52.0.1"
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: 51.4.0
version: 52.0.1

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
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 = '51.4.0'
s.version = '52.0.1'
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', '~> 51'
s.dependency 'Anyline', '~> 52'
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: 51.4.0
version: 52.0.1
homepage: https://anyline.com
repository: https://github.com/Anyline/anyline-ocr-flutter-module
documentation: https://documentation.anyline.com
Expand Down

0 comments on commit 7ad3a03

Please sign in to comment.