Skip to content

Commit c591826

Browse files
Release 55.5.0 (#60)
1 parent f4c833b commit c591826

25 files changed

Lines changed: 732 additions & 252 deletions

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
# 55.2.1
3+
# 55.5.0
44

55
Please find the complete and updated release notes at https://documentation.anyline.com/flutter-plugin-component/latest/release-notes.html.
66

android/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version '1.0'
44

55
buildscript {
66
ext {
7-
anyline_sdk_version = '55.2.1'
7+
anyline_sdk_version = '55.5.0'
88
kotlin_version = "1.8.0"
99
}
1010
repositories {
@@ -48,14 +48,11 @@ android {
4848

4949
dependencies {
5050
api "io.anyline:anylinesdk:$anyline_sdk_version"
51-
implementation 'com.google.android.material:material:1.4.0-rc01'
5251
}
5352
}
5453

5554
dependencies {
56-
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
5755
implementation 'androidx.annotation:annotation:1.1.0'
58-
implementation 'androidx.appcompat:appcompat:1.2.0'
5956
implementation 'androidx.multidex:multidex:2.0.1'
6057
constraints {
6158
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
<uses-permission android:name="android.permission.VIBRATE" />
88

99
<application android:allowBackup="true">
10-
<activity
11-
android:name=".ScanActivity"
12-
android:screenOrientation="portrait"
13-
android:theme="@style/Theme.AppCompat"/>
10+
1411
</application>
1512
</manifest>

android/src/main/java/io/anyline/flutter/AnylinePlugin.java

Lines changed: 232 additions & 110 deletions
Large diffs are not rendered by default.

android/src/main/java/io/anyline/flutter/Constants.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
public class Constants {
44
public static final String METHOD_GET_APPLICATION_CACHE_PATH = "METHOD_GET_APPLICATION_CACHE_PATH";
55
public static final String METHOD_GET_SDK_VERSION = "METHOD_GET_SDK_VERSION";
6+
public static final String METHOD_SETUP_WRAPPER_SESSION = "METHOD_SETUP_WRAPPER_SESSION";
67
public static final String METHOD_SET_CUSTOM_MODELS_PATH = "METHOD_SET_CUSTOM_MODELS_PATH";
78
public static final String METHOD_SET_VIEW_CONFIGS_PATH = "METHOD_SET_VIEW_CONFIGS_PATH";
89
public static final String METHOD_SET_LICENSE_KEY = "METHOD_SET_LICENSE_KEY";
910
public static final String METHOD_START_ANYLINE = "METHOD_START_ANYLINE";
11+
public static final String METHOD_STOP_ANYLINE = "METHOD_STOP_ANYLINE";
1012
public static final String METHOD_EXPORT_CACHED_EVENTS = "METHOD_EXPORT_CACHED_EVENTS";
13+
public static final String METHOD_REPORT_UCR = "METHOD_REPORT_UCR";
1114

1215
public static final String EXTRA_CONFIG_JSON = "EXTRA_CONFIG_JSON";
1316
public static final String EXTRA_LICENSE_KEY = "EXTRA_LICENSE_KEY";
@@ -16,17 +19,15 @@ public class Constants {
1619
public static final String EXTRA_PLUGIN_VERSION = "EXTRA_PLUGIN_VERSION";
1720
public static final String EXTRA_CUSTOM_MODELS_PATH = "EXTRA_CUSTOM_MODELS_PATH";
1821
public static final String EXTRA_VIEW_CONFIGS_PATH = "EXTRA_VIEW_CONFIGS_PATH";
22+
public static final String EXTRA_SCAN_CALLBACK_CONFIG = "EXTRA_SCAN_CALLBACK_CONFIG";
23+
public static final String EXTRA_STOP_CONFIG = "EXTRA_STOP_CONFIG";
24+
public static final String EXTRA_REPORT_UCR_BLOBKEY = "EXTRA_REPORT_UCR_BLOBKEY";
25+
public static final String EXTRA_REPORT_UCR_CORRECTED_RESULT = "EXTRA_REPORT_UCR_CORRECTED_RESULT";
1926

20-
public static final String EXTRA_SCAN_MODE = "EXTRA_SCAN_MODE";
2127
public static final String EXTRA_ERROR_CODE = "EXTRA_ERROR_MESSAGE";
2228

2329
public static final String EXCEPTION_DEFAULT = "AnylineException";
2430
public static final String EXCEPTION_LICENSE = "AnylineLicenseException";
25-
public static final String EXCEPTION_CONFIG = "AnylineConfigException";
26-
public static final String EXCEPTION_NO_CAMERA_PERMISSION = "AnylineCameraPermissionException";
27-
public static final String EXCEPTION_CORE = "AnylineCoreException";
28-
29-
public static final int SCAN_ACTIVITY_REQUEST_CODE = 999;
3031

3132
public static final int RESULT_CANCELLED = 0;
3233
public static final int RESULT_OK = 1;
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<resources>
22

3-
<string name="app_name">AnylineReactNative</string>
4-
53
</resources>

example/config/BarcodeConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"outerAlpha": 0.3
4242
},
4343
"scanFeedbackConfig": {
44-
"style": "none",
44+
"style": "rect",
4545
"strokeWidth": 0,
4646
"strokeColor": "0099FF",
4747
"fillColor": "330099FF",
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"viewPluginConfig": {
3+
"pluginConfig": {
4+
"id": "barcode_all",
5+
"barcodeConfig": {
6+
"fastProcessMode": true,
7+
"parseAAMVA": false,
8+
"barcodeFormats": [
9+
"ALL"
10+
]
11+
},
12+
"consecutiveEqualResultFilter": -1,
13+
"cancelOnResult": false,
14+
"startScanDelay": 1000
15+
},
16+
"cutoutConfig": {
17+
"animation": "none",
18+
"maxWidthPercent": "70%",
19+
"maxHeightPercent": "70%",
20+
"alignment": "center",
21+
"ratioFromSize": {
22+
"width": 3,
23+
"height": 2
24+
},
25+
"offset": {
26+
"x": 0,
27+
"y": 0
28+
},
29+
"cropOffset": {
30+
"x": 0,
31+
"y": 0
32+
},
33+
"cropPadding": {
34+
"x": 0,
35+
"y": 0
36+
},
37+
"cornerRadius": 4,
38+
"strokeColor": "0099ff",
39+
"strokeWidth": 2,
40+
"outerColor": "000000",
41+
"feedbackStrokeColor": "0099FF",
42+
"outerAlpha": 0.3
43+
},
44+
"scanFeedbackConfig": {
45+
"style": "rect",
46+
"strokeWidth": 0,
47+
"strokeColor": "0099FF",
48+
"fillColor": "330099FF",
49+
"beepOnResult": false,
50+
"vibrateOnResult": false,
51+
"blinkAnimationOnResult": false
52+
},
53+
"uiFeedbackConfig": {
54+
"presets": [
55+
{
56+
"presetName": "simple_instruction_label",
57+
"presetAttributes": [
58+
{
59+
"attributeName": "instruction_text",
60+
"attributeValue": "Scanning will stop after the first ten different barcodes."
61+
}
62+
]
63+
}
64+
]
65+
}
66+
},
67+
"flashConfig": {
68+
"mode": "manual_off",
69+
"alignment": "top_left"
70+
},
71+
"options": {
72+
"toolbarTitle": "Barcode"
73+
}
74+
}

example/ios/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
2-
- Anyline (55.2.1)
3-
- anyline_plugin (55.2.1):
4-
- Anyline (= 55.2.1)
2+
- Anyline (55.5.0)
3+
- anyline_plugin (55.5.0):
4+
- Anyline (= 55.5.0)
55
- Flutter
66
- Flutter (1.0.0)
77
- path_provider_foundation (0.0.1):
@@ -32,8 +32,8 @@ EXTERNAL SOURCES:
3232
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
3333

3434
SPEC CHECKSUMS:
35-
Anyline: efb3adf084f3cc3003d4a03cad869d02af2c55f6
36-
anyline_plugin: 6d7029691422d1c3ad6adb91f9980d2cd85ff1e1
35+
Anyline: ea65320b206ef4e8f4ef4429ad524d371184eb8c
36+
anyline_plugin: bb430535e236051e4fd1a5026591393cab18289f
3737
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
3838
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
3939
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
"$(inherited)",
408408
"$(PROJECT_DIR)/Flutter",
409409
);
410-
MARKETING_VERSION = 55.2.1;
410+
MARKETING_VERSION = 55.5.0;
411411
PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples;
412412
PRODUCT_NAME = "$(TARGET_NAME)";
413413
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -545,7 +545,7 @@
545545
"$(inherited)",
546546
"$(PROJECT_DIR)/Flutter",
547547
);
548-
MARKETING_VERSION = 55.2.1;
548+
MARKETING_VERSION = 55.5.0;
549549
PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples;
550550
PRODUCT_NAME = "$(TARGET_NAME)";
551551
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -578,7 +578,7 @@
578578
"$(inherited)",
579579
"$(PROJECT_DIR)/Flutter",
580580
);
581-
MARKETING_VERSION = 55.2.1;
581+
MARKETING_VERSION = 55.5.0;
582582
PRODUCT_BUNDLE_IDENTIFIER = io.anyline.flutter.examples;
583583
PRODUCT_NAME = "$(TARGET_NAME)";
584584
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)