Skip to content

Commit 5799f12

Browse files
authored
Release 55.7.0 (#109)
1 parent 6225ede commit 5799f12

File tree

4 files changed

+231
-7
lines changed

4 files changed

+231
-7
lines changed

AnylineExamples/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
ext {
7-
anylinesdk_version = "55.6.2"
7+
anylinesdk_version = "55.7.0"
88
timber_version = "5.0.1"
99
leakcanary_version = "2.9.1"
1010

1111
anyline_examples_version_code = 13
12-
anyline_examples_version_name = "55.6.2"
12+
anyline_examples_version_name = "55.7.0"
1313
}
1414

1515
android {
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
{
2+
"scanViewConfigDescription": "Optimized for DOT numbers with alignment check, upside down support and UI feedback.",
3+
"cameraConfig": {
4+
"captureResolution": "1080"
5+
},
6+
"flashConfig": {
7+
"mode": "manual",
8+
"alignment": "bottom_right"
9+
},
10+
"viewPluginConfig": {
11+
"pluginConfig": {
12+
"id": "Tire|TIN DOT Numbers",
13+
"tinConfig": {
14+
"scanMode": "DOT",
15+
"upsideDownMode": "AUTO",
16+
"horizontalAlignmentRatio": 0.11,
17+
"detectionMinHeightRatio": 0.36
18+
},
19+
"cancelOnResult": true
20+
},
21+
"cutoutConfig": {
22+
"alignment": "center",
23+
"maxWidthPercent": "60%",
24+
"maxHeightPercent": "60%",
25+
"ratioFromSize": {
26+
"width": 6.25,
27+
"height": 1
28+
},
29+
"strokeWidth": 2,
30+
"strokeColor": "FFFFFF",
31+
"cornerRadius": 4,
32+
"outerColor": "000000",
33+
"outerAlpha": 0.5,
34+
"feedbackStrokeColor": "0099FF",
35+
"offset": {
36+
"x": 0,
37+
"y": -15
38+
}
39+
},
40+
"scanFeedbackConfig": {
41+
"animation": "traverse_multi",
42+
"animationDuration": 250,
43+
"style": "contour_rect",
44+
"strokeWidth": 2,
45+
"strokeColor": "0099FF",
46+
"beepOnResult": false,
47+
"vibrateOnResult": true,
48+
"blinkAnimationOnResult": true
49+
},
50+
"uiFeedbackConfig": {
51+
"presets": [
52+
{
53+
"presetName": "tin_with_instruction_oriented_overlay_image_text_sound_feedback",
54+
"presetAttributes": [
55+
{
56+
"attributeName": "instruction_text",
57+
"attributeValue": "Please make sure the entire DOT number is inside the cutout."
58+
},
59+
{
60+
"attributeName": "cutout_overlay_normal_image",
61+
"attributeValue": "uifeedback_tin_dot_cutout_normal"
62+
},
63+
{
64+
"attributeName": "cutout_overlay_upsidedown_image",
65+
"attributeValue": "uifeedback_tin_dot_cutout_upsidedown"
66+
},
67+
{
68+
"attributeName": "alignment_alignleft_image",
69+
"attributeValue": "uifeedback_tin_dot_alignleft"
70+
},
71+
{
72+
"attributeName": "alignment_alignright_image",
73+
"attributeValue": "uifeedback_tin_dot_alignright"
74+
},
75+
{
76+
"attributeName": "lighting_toodark_image",
77+
"attributeValue": "uifeedback_default_toodark"
78+
},
79+
{
80+
"attributeName": "lighting_toobright_image",
81+
"attributeValue": "uifeedback_default_toobright"
82+
},
83+
{
84+
"attributeName": "distance_moveback_image",
85+
"attributeValue": "uifeedback_default_moveback"
86+
},
87+
{
88+
"attributeName": "distance_movecloser_image",
89+
"attributeValue": "uifeedback_default_movecloser"
90+
},
91+
{
92+
"attributeName": "format_wrong_image",
93+
"attributeValue": "uifeedback_tin_wrongformat"
94+
},
95+
{
96+
"attributeName": "date_wrong_image",
97+
"attributeValue": "uifeedback_tin_wrongformat"
98+
},
99+
{
100+
"attributeName": "alignment_alignleft_text",
101+
"attributeValue": ""
102+
},
103+
{
104+
"attributeName": "alignment_alignright_text",
105+
"attributeValue": ""
106+
},
107+
{
108+
"attributeName": "lighting_toodark_text",
109+
"attributeValue": ""
110+
},
111+
{
112+
"attributeName": "lighting_toobright_text",
113+
"attributeValue": ""
114+
},
115+
{
116+
"attributeName": "distance_moveback_text",
117+
"attributeValue": ""
118+
},
119+
{
120+
"attributeName": "distance_movecloser_text",
121+
"attributeValue": ""
122+
},
123+
{
124+
"attributeName": "format_wrong_text",
125+
"attributeValue": ""
126+
},
127+
{
128+
"attributeName": "date_wrong_text",
129+
"attributeValue": ""
130+
},
131+
{
132+
"attributeName": "alignment_alignleft_sound",
133+
"attributeValue": "info_sound_default.wav"
134+
},
135+
{
136+
"attributeName": "alignment_alignright_sound",
137+
"attributeValue": "info_sound_default.wav"
138+
},
139+
{
140+
"attributeName": "lighting_toodark_sound",
141+
"attributeValue": "info_sound_default.wav"
142+
},
143+
{
144+
"attributeName": "lighting_toobright_sound",
145+
"attributeValue": "info_sound_default.wav"
146+
},
147+
{
148+
"attributeName": "distance_moveback_sound",
149+
"attributeValue": "info_sound_default.wav"
150+
},
151+
{
152+
"attributeName": "distance_movecloser_sound",
153+
"attributeValue": "info_sound_default.wav"
154+
},
155+
{
156+
"attributeName": "format_wrong_sound",
157+
"attributeValue": "info_sound_default.wav"
158+
},
159+
{
160+
"attributeName": "date_wrong_sound",
161+
"attributeValue": "info_sound_default.wav"
162+
}
163+
]
164+
}
165+
]
166+
}
167+
}
168+
}

AnylineExamples/app/src/main/assets/viewConfigs/tire_config_tin_dot_with_uifeedback.json

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,27 @@
4848
"uiFeedbackConfig": {
4949
"presets": [
5050
{
51-
"presetName": "tin_with_instruction_overlay_image_text_sound_feedback",
51+
"presetName": "tin_with_instruction_oriented_overlay_image_text_sound_feedback",
5252
"presetAttributes": [
5353
{
5454
"attributeName": "instruction_text",
5555
"attributeValue": "Please make sure the entire DOT number is inside the cutout."
5656
},
5757
{
58-
"attributeName": "left_overlay_image",
59-
"attributeValue": "dot_overlay"
58+
"attributeName": "cutout_overlay_normal_image",
59+
"attributeValue": "uifeedback_tin_dot_cutout_normal"
60+
},
61+
{
62+
"attributeName": "cutout_overlay_upsidedown_image",
63+
"attributeValue": "uifeedback_tin_dot_cutout_upsidedown"
64+
},
65+
{
66+
"attributeName": "alignment_alignleft_image",
67+
"attributeValue": "uifeedback_tin_dot_alignleft"
68+
},
69+
{
70+
"attributeName": "alignment_alignright_image",
71+
"attributeValue": "uifeedback_tin_dot_alignright"
6072
},
6173
{
6274
"attributeName": "lighting_toodark_image",
@@ -82,6 +94,14 @@
8294
"attributeName": "date_wrong_image",
8395
"attributeValue": "uifeedback_tin_wrongformat"
8496
},
97+
{
98+
"attributeName": "alignment_alignleft_text",
99+
"attributeValue": ""
100+
},
101+
{
102+
"attributeName": "alignment_alignright_text",
103+
"attributeValue": ""
104+
},
85105
{
86106
"attributeName": "lighting_toodark_text",
87107
"attributeValue": ""
@@ -106,6 +126,14 @@
106126
"attributeName": "date_wrong_text",
107127
"attributeValue": ""
108128
},
129+
{
130+
"attributeName": "alignment_alignleft_sound",
131+
"attributeValue": "info_sound_default.wav"
132+
},
133+
{
134+
"attributeName": "alignment_alignright_sound",
135+
"attributeValue": "info_sound_default.wav"
136+
},
109137
{
110138
"attributeName": "lighting_toodark_sound",
111139
"attributeValue": "info_sound_default.wav"

AnylineExamples/app/src/main/assets/viewConfigs/tire_config_tin_universal_with_uifeedback.json

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,26 @@
4848
"uiFeedbackConfig": {
4949
"presets": [
5050
{
51-
"presetName": "tin_with_instruction_overlay_image_text_sound_feedback",
51+
"presetName": "tin_with_instruction_oriented_overlay_image_text_sound_feedback",
5252
"presetAttributes": [
5353
{
5454
"attributeName": "instruction_text",
5555
"attributeValue": "Please make sure the entire TIN number is inside the cutout."
5656
},
5757
{
58-
"attributeName": "left_overlay_image",
58+
"attributeName": "cutout_overlay_normal_image",
59+
"attributeValue": ""
60+
},
61+
{
62+
"attributeName": "cutout_overlay_upsidedown_image",
63+
"attributeValue": ""
64+
},
65+
{
66+
"attributeName": "alignment_alignleft_image",
67+
"attributeValue": ""
68+
},
69+
{
70+
"attributeName": "alignment_alignright_image",
5971
"attributeValue": ""
6072
},
6173
{
@@ -82,6 +94,14 @@
8294
"attributeName": "date_wrong_image",
8395
"attributeValue": "uifeedback_tin_wrongformat"
8496
},
97+
{
98+
"attributeName": "alignment_alignleft_text",
99+
"attributeValue": ""
100+
},
101+
{
102+
"attributeName": "alignment_alignright_text",
103+
"attributeValue": ""
104+
},
85105
{
86106
"attributeName": "lighting_toodark_text",
87107
"attributeValue": ""
@@ -106,6 +126,14 @@
106126
"attributeName": "date_wrong_text",
107127
"attributeValue": ""
108128
},
129+
{
130+
"attributeName": "alignment_alignleft_sound",
131+
"attributeValue": ""
132+
},
133+
{
134+
"attributeName": "alignment_alignright_sound",
135+
"attributeValue": ""
136+
},
109137
{
110138
"attributeName": "lighting_toodark_sound",
111139
"attributeValue": "info_sound_default.wav"

0 commit comments

Comments
 (0)