Skip to content

Commit 146423c

Browse files
authored
Release 51.5.0 (#174)
1 parent 521a136 commit 146423c

File tree

10 files changed

+97
-16
lines changed

10 files changed

+97
-16
lines changed

example/RNExampleApp/android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ android {
8787
minSdkVersion rootProject.ext.minSdkVersion
8888
targetSdkVersion rootProject.ext.targetSdkVersion
8989
versionCode 5
90-
versionName "51.4.0"
90+
versionName "51.5.0"
9191
multiDexEnabled true
9292

9393
buildConfigField("boolean", "REACT_NATIVE_UNSTABLE_USE_RUNTIME_SCHEDULER_ALWAYS", (findProperty("reactNative.unstable_useRuntimeSchedulerAlways") ?: true).toString())

example/RNExampleApp/config/ParallelFirstScanningConfig.js

+13
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,19 @@ export default {
5656
"beepOnResult": false,
5757
"vibrateOnResult": false,
5858
"blinkAnimationOnResult": true
59+
},
60+
"uiFeedbackConfig": {
61+
"presets": [
62+
{
63+
"presetName": "simple_instruction_label",
64+
"presetAttributes": [
65+
{
66+
"attributeName": "instruction_text",
67+
"attributeValue": "Position the VIN within the cutout. The barcode can be anywhere inside the camera frame."
68+
}
69+
]
70+
}
71+
]
5972
}
6073
}
6174
}

example/RNExampleApp/config/SerialScanningConfig.js

+39
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ export default {
6161
"fillColor": "330099ff",
6262
"beepOnResult": true,
6363
"vibrateOnResult": true
64+
},
65+
"uiFeedbackConfig": {
66+
"presets": [
67+
{
68+
"presetName": "simple_instruction_label",
69+
"presetAttributes": [
70+
{
71+
"attributeName": "instruction_text",
72+
"attributeValue": "Position the entire License Plate within the cutout"
73+
}
74+
]
75+
}
76+
]
6477
}
6578
}
6679
},
@@ -107,6 +120,19 @@ export default {
107120
"beepOnResult": true,
108121
"vibrateOnResult": true,
109122
"strokeWidth": 2
123+
},
124+
"uiFeedbackConfig": {
125+
"presets": [
126+
{
127+
"presetName": "simple_instruction_label",
128+
"presetAttributes": [
129+
{
130+
"attributeName": "instruction_text",
131+
"attributeValue": "Position the entire Driving License within the cutout"
132+
}
133+
]
134+
}
135+
]
110136
}
111137
}
112138
},
@@ -145,6 +171,19 @@ export default {
145171
"fillColor": "330099FF",
146172
"beepOnResult": true,
147173
"vibrateOnResult": true
174+
},
175+
"uiFeedbackConfig": {
176+
"presets": [
177+
{
178+
"presetName": "simple_instruction_label",
179+
"presetAttributes": [
180+
{
181+
"attributeName": "instruction_text",
182+
"attributeValue": "Position the VIN within the cutout"
183+
}
184+
]
185+
}
186+
]
148187
}
149188
}
150189
}

example/RNExampleApp/config/TINDOTConfig.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,16 @@ export default {
6060
"uiFeedbackConfig": {
6161
"presets": [
6262
{
63-
"presetName": "tin_custom_v1",
63+
"presetName": "tin_with_instruction_overlay_image_text_sound_feedback",
6464
"presetAttributes": [
65+
{
66+
"attributeName": "instruction_text",
67+
"attributeValue": "Please make sure the entire DOT number is inside the cutout."
68+
},
69+
{
70+
"attributeName": "left_overlay_image",
71+
"attributeValue": "dot_overlay"
72+
},
6573
{
6674
"attributeName": "lighting_toodark_image",
6775
"attributeValue": "uifeedback_tin_toodark"

example/RNExampleApp/config/TINUniversalConfig.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,16 @@ export default {
5858
"uiFeedbackConfig": {
5959
"presets": [
6060
{
61-
"presetName": "tin_custom_v1",
61+
"presetName": "tin_with_instruction_overlay_image_text_sound_feedback",
6262
"presetAttributes": [
63+
{
64+
"attributeName": "instruction_text",
65+
"attributeValue": "Please make sure the entire TIN number is inside the cutout."
66+
},
67+
{
68+
"attributeName": "left_overlay_image",
69+
"attributeValue": ""
70+
},
6371
{
6472
"attributeName": "lighting_toodark_image",
6573
"attributeValue": "uifeedback_tin_toodark"

example/RNExampleApp/config/TireSizeConfig.js

+13
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@ export default {
4343
"beepOnResult": true,
4444
"vibrateOnResult": false,
4545
"strokeWidth": 2
46+
},
47+
"uiFeedbackConfig": {
48+
"presets": [
49+
{
50+
"presetName": "simple_instruction_label",
51+
"presetAttributes": [
52+
{
53+
"attributeName": "instruction_text",
54+
"attributeValue": "Look for a standardized number sequence, like 205/55 R16"
55+
}
56+
]
57+
}
58+
]
4659
}
4760
}
4861
}

example/RNExampleApp/ios/RNExampleApp.xcodeproj/project.pbxproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
inputPaths = (
235235
"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh",
236236
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
237-
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_51.4.0/Framework/AnylineResources.bundle",
237+
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_51.5.0/Framework/AnylineResources.bundle",
238238
);
239239
name = "[CP] Copy Pods Resources";
240240
outputPaths = (
@@ -365,7 +365,7 @@
365365
INFOPLIST_FILE = RNExampleApp/Info.plist;
366366
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
367367
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
368-
MARKETING_VERSION = 51.4.0;
368+
MARKETING_VERSION = 51.5.0;
369369
OTHER_LDFLAGS = (
370370
"$(inherited)",
371371
"-ObjC",
@@ -398,7 +398,7 @@
398398
INFOPLIST_FILE = RNExampleApp/Info.plist;
399399
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
400400
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
401-
MARKETING_VERSION = 51.4.0;
401+
MARKETING_VERSION = 51.5.0;
402402
OTHER_LDFLAGS = (
403403
"$(inherited)",
404404
"-ObjC",

example/RNExampleApp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-example-app",
3-
"version": "51.4.0",
3+
"version": "51.5.0",
44
"private": true,
55
"scripts": {
66
"initProject": "yarn add expo && yarn add ../../plugin",

plugin/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ repositories {
6161

6262
dependencies {
6363
implementation fileTree(dir: "libs", include: ["*.jar"])
64-
implementation 'io.anyline:anylinesdk:51.4.0'
64+
implementation 'io.anyline:anylinesdk:51.5.0'
6565
implementation "com.facebook.react:react-native:+"
6666
implementation("com.google.android.material:material:1.9.0")
6767
implementation 'androidx.multidex:multidex:2.0.1'

plugin/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"_from": "anyline-ocr-react-native-module@^51.4.0",
3-
"_id": "anyline-ocr-react-native-module@^51.4.0",
2+
"_from": "anyline-ocr-react-native-module@^51.5.0",
3+
"_id": "anyline-ocr-react-native-module@^51.5.0",
44
"_inBundle": false,
55
"_integrity": "sha512-BGi9zNkSsoxXywDBIqzgBRvKUBniQOJHDKBrozZubKthZNRBAj8Ry5tW0Me0yLXt/fauME//hbC0wsenfPJZqw==",
66
"_location": "/anyline-ocr-react-native-module",
77
"_phantomChildren": {},
88
"_requested": {
99
"type": "range",
1010
"registry": true,
11-
"raw": "anyline-ocr-react-native-module@^51.4.0",
11+
"raw": "anyline-ocr-react-native-module@^51.5.0",
1212
"name": "anyline-ocr-react-native-module",
1313
"escapedName": "anyline-ocr-react-native-module",
14-
"rawSpec": "^51.4.0",
14+
"rawSpec": "^51.5.0",
1515
"saveSpec": null,
16-
"fetchSpec": "^51.4.0"
16+
"fetchSpec": "^51.5.0"
1717
},
1818
"_requiredBy": [
1919
"/"
2020
],
21-
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-51.4.0.tgz",
21+
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-51.5.0.tgz",
2222
"_shasum": "bacbcd260cc662244f59393ed81a6edba009b52c",
23-
"_spec": "anyline-ocr-react-native-module@^51.4.0",
23+
"_spec": "anyline-ocr-react-native-module@^51.5.0",
2424
"_where": "/Users/amiransari/Projects/anyline-ocr-react-native-module1/example/RNExampleApp",
2525
"bugs": {
2626
"url": "https://github.com/Anyline/anyline-ocr-react-native-module/issues"
@@ -47,5 +47,5 @@
4747
"type": "git",
4848
"url": "git+https://github.com/Anyline/anyline-ocr-react-native-module.git"
4949
},
50-
"version": "51.4.0"
50+
"version": "51.5.0"
5151
}

0 commit comments

Comments
 (0)