anyline-ocr-react-native-module 38.0.1 → 41.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -65,7 +65,7 @@ repositories {
|
|
|
65
65
|
|
|
66
66
|
dependencies {
|
|
67
67
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
68
|
-
implementation 'io.anyline:anylinesdk:
|
|
68
|
+
implementation 'io.anyline:anylinesdk:41.0.0'
|
|
69
69
|
implementation "com.facebook.react:react-native:+" // from node_modules
|
|
70
70
|
implementation("com.google.android.material:material:1.4.0-rc01")
|
|
71
71
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
@@ -249,8 +249,6 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
249
249
|
jsonMeterResult = AnylinePluginHelper.jsonHelper(Anyline4Activity.this, subResult,
|
|
250
250
|
jsonMeterResult);
|
|
251
251
|
jsonResult.put(subResult.getPluginId(), jsonMeterResult);
|
|
252
|
-
AnylinePluginHelper.clearFinalBarcodeList(); // otherwise result from previous scan could be shown if new scan does not include barcode
|
|
253
|
-
|
|
254
252
|
} catch (Exception e) {
|
|
255
253
|
Log.e(TAG, "EXCEPTION", e);
|
|
256
254
|
}
|
|
@@ -437,10 +435,13 @@ public class Anyline4Activity extends AnylineBaseActivity {
|
|
|
437
435
|
}
|
|
438
436
|
|
|
439
437
|
setResult(scanViewPlugin, jsonResult);
|
|
440
|
-
AnylinePluginHelper.clearFinalBarcodeList(); // otherwise result from previous scan could be shown if new scan does not include barcode
|
|
441
438
|
}
|
|
442
439
|
});
|
|
443
440
|
}
|
|
441
|
+
|
|
442
|
+
/* Clear NativeBarcodeResult after every scan, otherwise the result from previous
|
|
443
|
+
* scan would be shown if now barcode was found */
|
|
444
|
+
AnylinePluginHelper.clearFinalBarcodeList();
|
|
444
445
|
}
|
|
445
446
|
|
|
446
447
|
} catch (Exception e) {
|
package/ios/AnylineReact.podspec
CHANGED
|
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.source = { :git => "https://github.com/Anyline/anyline-ocr-react-native-module.git", :tag => "#{s.version}" }
|
|
20
20
|
|
|
21
21
|
s.source_files = "*.{h,m}"
|
|
22
|
-
s.dependency "Anyline", "~>
|
|
22
|
+
s.dependency "Anyline", "~> 41.0.0"
|
|
23
23
|
s.dependency "React"
|
|
24
24
|
end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "anyline-ocr-react-native-module@^
|
|
3
|
-
"_id": "anyline-ocr-react-native-module@
|
|
2
|
+
"_from": "anyline-ocr-react-native-module@^41.0.0",
|
|
3
|
+
"_id": "anyline-ocr-react-native-module@41.0.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
5
|
"_integrity": "sha512-BGi9zNkSsoxXywDBIqzgBRvKUBniQOJHDKBrozZubKthZNRBAj8Ry5tW0Me0yLXt/fauME//hbC0wsenfPJZqw==",
|
|
6
6
|
"_location": "/anyline-ocr-react-native-module",
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"_requested": {
|
|
9
9
|
"type": "range",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "anyline-ocr-react-native-module@^
|
|
11
|
+
"raw": "anyline-ocr-react-native-module@^41.0.0",
|
|
12
12
|
"name": "anyline-ocr-react-native-module",
|
|
13
13
|
"escapedName": "anyline-ocr-react-native-module",
|
|
14
|
-
"rawSpec": "^
|
|
14
|
+
"rawSpec": "^41.0.0",
|
|
15
15
|
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^
|
|
16
|
+
"fetchSpec": "^41.0.0"
|
|
17
17
|
},
|
|
18
18
|
"_requiredBy": [
|
|
19
19
|
"/"
|
|
20
20
|
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-41.0.0.tgz",
|
|
22
22
|
"_shasum": "bacbcd260cc662244f59393ed81a6edba009b52c",
|
|
23
|
-
"_spec": "anyline-ocr-react-native-module@^
|
|
23
|
+
"_spec": "anyline-ocr-react-native-module@^41.0.0",
|
|
24
24
|
"_where": "/Users/amiransari/Projects/anyline-ocr-react-native-module1/example/RNExampleApp",
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/Anyline/anyline-ocr-react-native-module/issues"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"type": "git",
|
|
48
48
|
"url": "git+https://github.com/Anyline/anyline-ocr-react-native-module.git"
|
|
49
49
|
},
|
|
50
|
-
"version": "
|
|
50
|
+
"version": "41.0.0"
|
|
51
51
|
}
|