Skip to content

Commit

Permalink
Release 51.5.0 (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-graca authored May 6, 2024
1 parent 521a136 commit 146423c
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 16 deletions.
2 changes: 1 addition & 1 deletion example/RNExampleApp/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 5
versionName "51.4.0"
versionName "51.5.0"
multiDexEnabled true

buildConfigField("boolean", "REACT_NATIVE_UNSTABLE_USE_RUNTIME_SCHEDULER_ALWAYS", (findProperty("reactNative.unstable_useRuntimeSchedulerAlways") ?: true).toString())
Expand Down
13 changes: 13 additions & 0 deletions example/RNExampleApp/config/ParallelFirstScanningConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@ export default {
"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."
}
]
}
]
}
}
}
Expand Down
39 changes: 39 additions & 0 deletions example/RNExampleApp/config/SerialScanningConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ export default {
"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 @@ export default {
"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 @@ export default {
"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/RNExampleApp/config/TINDOTConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,16 @@ export default {
"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
10 changes: 9 additions & 1 deletion example/RNExampleApp/config/TINUniversalConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,16 @@ export default {
"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 TIN number is inside the cutout."
},
{
"attributeName": "left_overlay_image",
"attributeValue": ""
},
{
"attributeName": "lighting_toodark_image",
"attributeValue": "uifeedback_tin_toodark"
Expand Down
13 changes: 13 additions & 0 deletions example/RNExampleApp/config/TireSizeConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,19 @@ export default {
"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"
}
]
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_51.4.0/Framework/AnylineResources.bundle",
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_51.5.0/Framework/AnylineResources.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
Expand Down Expand Up @@ -365,7 +365,7 @@
INFOPLIST_FILE = RNExampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 51.4.0;
MARKETING_VERSION = 51.5.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -398,7 +398,7 @@
INFOPLIST_FILE = RNExampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 51.4.0;
MARKETING_VERSION = 51.5.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
2 changes: 1 addition & 1 deletion example/RNExampleApp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-example-app",
"version": "51.4.0",
"version": "51.5.0",
"private": true,
"scripts": {
"initProject": "yarn add expo && yarn add ../../plugin",
Expand Down
2 changes: 1 addition & 1 deletion plugin/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ repositories {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'io.anyline:anylinesdk:51.4.0'
implementation 'io.anyline:anylinesdk:51.5.0'
implementation "com.facebook.react:react-native:+"
implementation("com.google.android.material:material:1.9.0")
implementation 'androidx.multidex:multidex:2.0.1'
Expand Down
16 changes: 8 additions & 8 deletions plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"_from": "anyline-ocr-react-native-module@^51.4.0",
"_id": "anyline-ocr-react-native-module@^51.4.0",
"_from": "anyline-ocr-react-native-module@^51.5.0",
"_id": "anyline-ocr-react-native-module@^51.5.0",
"_inBundle": false,
"_integrity": "sha512-BGi9zNkSsoxXywDBIqzgBRvKUBniQOJHDKBrozZubKthZNRBAj8Ry5tW0Me0yLXt/fauME//hbC0wsenfPJZqw==",
"_location": "/anyline-ocr-react-native-module",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "anyline-ocr-react-native-module@^51.4.0",
"raw": "anyline-ocr-react-native-module@^51.5.0",
"name": "anyline-ocr-react-native-module",
"escapedName": "anyline-ocr-react-native-module",
"rawSpec": "^51.4.0",
"rawSpec": "^51.5.0",
"saveSpec": null,
"fetchSpec": "^51.4.0"
"fetchSpec": "^51.5.0"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-51.4.0.tgz",
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-51.5.0.tgz",
"_shasum": "bacbcd260cc662244f59393ed81a6edba009b52c",
"_spec": "anyline-ocr-react-native-module@^51.4.0",
"_spec": "anyline-ocr-react-native-module@^51.5.0",
"_where": "/Users/amiransari/Projects/anyline-ocr-react-native-module1/example/RNExampleApp",
"bugs": {
"url": "https://github.com/Anyline/anyline-ocr-react-native-module/issues"
Expand All @@ -47,5 +47,5 @@
"type": "git",
"url": "git+https://github.com/Anyline/anyline-ocr-react-native-module.git"
},
"version": "51.4.0"
"version": "51.5.0"
}

0 comments on commit 146423c

Please sign in to comment.