react-native-scanbot-barcode-scanner-sdk 7.1.1-beta.2 → 7.1.2-rc.1

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.
Files changed (27) hide show
  1. package/Libraries.txt +56 -38
  2. package/RNScanbotBarcodeSDK.podspec +1 -1
  3. package/android/gradle.properties +1 -1
  4. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.m +0 -2
  5. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.mm +0 -2
  6. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.h +0 -1
  7. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.m +1 -3
  8. package/lib/commonjs/barcode/BarcodeConfigurationTypes.js +177 -0
  9. package/lib/commonjs/barcode/BarcodeConfigurationTypes.js.map +1 -1
  10. package/lib/commonjs/barcode/BarcodeScannerTypes.js +0 -10
  11. package/lib/commonjs/barcode/BarcodeScannerTypes.js.map +1 -1
  12. package/lib/commonjs/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -1
  13. package/lib/module/barcode/BarcodeConfigurationTypes.js +177 -0
  14. package/lib/module/barcode/BarcodeConfigurationTypes.js.map +1 -1
  15. package/lib/module/barcode/BarcodeScannerTypes.js +0 -10
  16. package/lib/module/barcode/BarcodeScannerTypes.js.map +1 -1
  17. package/lib/module/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -1
  18. package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts +129 -0
  19. package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts.map +1 -1
  20. package/lib/typescript/src/barcode/BarcodeScannerTypes.d.ts +0 -7
  21. package/lib/typescript/src/barcode/BarcodeScannerTypes.d.ts.map +1 -1
  22. package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts +0 -1
  23. package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +1 -1
  24. package/package.json +2 -2
  25. package/src/barcode/BarcodeConfigurationTypes.ts +193 -0
  26. package/src/barcode/BarcodeScannerTypes.ts +0 -10
  27. package/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.ts +0 -1
package/Libraries.txt CHANGED
@@ -1,6 +1,6 @@
1
- Open Source libraries used in the Scanbot Barcode SDK for React Native version 7.1.1
1
+ Open Source libraries used in the Scanbot Barcode SDK for React Native version 7.1.2
2
2
 
3
- Open Source libraries used in ScanbotBarcodeScannerSDK for iOS version 7.1.2:
3
+ Open Source libraries used in ScanbotBarcodeScannerSDK for iOS version 7.1.3:
4
4
 
5
5
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
6
6
 
@@ -77,7 +77,7 @@ record keeping.)
77
77
  * are met:
78
78
  *
79
79
  * 1. Redistributions of source code must retain the above copyright
80
- * notice, this list of conditions and the following disclaimer.
80
+ * notice, this list of conditions and the following disclaimer.
81
81
  *
82
82
  * 2. Redistributions in binary form must reproduce the above copyright
83
83
  * notice, this list of conditions and the following disclaimer in
@@ -132,21 +132,21 @@ record keeping.)
132
132
  * This package is an SSL implementation written
133
133
  * by Eric Young (eay@cryptsoft.com).
134
134
  * The implementation was written so as to conform with Netscapes SSL.
135
- *
135
+ *
136
136
  * This library is free for commercial and non-commercial use as long as
137
137
  * the following conditions are aheared to. The following conditions
138
138
  * apply to all code found in this distribution, be it the RC4, RSA,
139
139
  * lhash, DES, etc., code; not just the SSL code. The SSL documentation
140
140
  * included with this distribution is covered by the same copyright terms
141
141
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
142
- *
142
+ *
143
143
  * Copyright remains Eric Young's, and as such any Copyright notices in
144
144
  * the code are not to be removed.
145
145
  * If this package is used in a product, Eric Young should be given attribution
146
146
  * as the author of the parts of the library used.
147
147
  * This can be in the form of a textual message at program startup or
148
148
  * in documentation (online or textual) provided with the package.
149
- *
149
+ *
150
150
  * Redistribution and use in source and binary forms, with or without
151
151
  * modification, are permitted provided that the following conditions
152
152
  * are met:
@@ -161,10 +161,10 @@ record keeping.)
161
161
  * Eric Young (eay@cryptsoft.com)"
162
162
  * The word 'cryptographic' can be left out if the rouines from the library
163
163
  * being used are not cryptographic related :-).
164
- * 4. If you include any Windows specific code (or a derivative thereof) from
164
+ * 4. If you include any Windows specific code (or a derivative thereof) from
165
165
  * the apps directory (application code) you must include an acknowledgement:
166
166
  * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
167
- *
167
+ *
168
168
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
169
169
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
170
170
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -176,7 +176,7 @@ record keeping.)
176
176
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
177
177
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
178
178
  * SUCH DAMAGE.
179
- *
179
+ *
180
180
  * The licence and distribution terms for any publically available version or
181
181
  * derivative of this code cannot be changed. i.e. this code cannot simply be
182
182
  * copied and put under another distribution licence
@@ -1356,7 +1356,7 @@ ISO-3166-Countries-with-Regional-Codes
1356
1356
  Version 10.0
1357
1357
  (https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes)
1358
1358
 
1359
- ![license](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)
1359
+ ![license](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)
1360
1360
  This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
1361
1361
 
1362
1362
 
@@ -1367,7 +1367,7 @@ JSON for Modern C++
1367
1367
  Version v3.11.3
1368
1368
  (https://github.com/nlohmann/json)
1369
1369
 
1370
- MIT License
1370
+ MIT License
1371
1371
 
1372
1372
  Copyright (c) 2013-2022 Niels Lohmann
1373
1373
 
@@ -1438,18 +1438,18 @@ Copyright (C) 2007-2009 Antony Dovgal
1438
1438
 
1439
1439
  This software is provided 'as-is', without any express or implied warranty.
1440
1440
 
1441
- In no event will the authors be held liable for any damages arising from the
1441
+ In no event will the authors be held liable for any damages arising from the
1442
1442
  use of this software.
1443
1443
 
1444
- Permission is granted to anyone to use this software for any purpose,including
1445
- commercial applications, and to alter it and redistribute it freely, subject
1444
+ Permission is granted to anyone to use this software for any purpose,including
1445
+ commercial applications, and to alter it and redistribute it freely, subject
1446
1446
  to the following restrictions:
1447
1447
 
1448
- 1. The origin of this software must not be misrepresented; you must not claim
1449
- that you wrote the original software. If you use this software in a
1450
- product, an acknowledgment in the product documentation would be
1448
+ 1. The origin of this software must not be misrepresented; you must not claim
1449
+ that you wrote the original software. If you use this software in a
1450
+ product, an acknowledgment in the product documentation would be
1451
1451
  appreciated but is not required.
1452
- 2. Altered source versions must be plainly marked as such, and must not be
1452
+ 2. Altered source versions must be plainly marked as such, and must not be
1453
1453
  misrepresented as being the original software.
1454
1454
  3. This notice may not be removed or altered from any source distribution.
1455
1455
 
@@ -1750,7 +1750,7 @@ Version 4.6.0
1750
1750
  Copyright © 1988-1997 Sam Leffler\
1751
1751
  Copyright © 1991-1997 Silicon Graphics, Inc.
1752
1752
 
1753
- Permission to use, copy, modify, distribute, and sell this software and
1753
+ Permission to use, copy, modify, distribute, and sell this software and
1754
1754
  its documentation for any purpose is hereby granted without fee, provided
1755
1755
  that (i) the above copyright notices and this permission notice appear in
1756
1756
  all copies of the software and related documentation, and (ii) the names of
@@ -1758,15 +1758,15 @@ Sam Leffler and Silicon Graphics may not be used in any advertising or
1758
1758
  publicity relating to the software without the specific, prior written
1759
1759
  permission of Sam Leffler and Silicon Graphics.
1760
1760
 
1761
- THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
1762
- EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
1763
- WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1761
+ THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
1762
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
1763
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1764
1764
 
1765
1765
  IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
1766
1766
  ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
1767
1767
  OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
1768
- WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
1769
- LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
1768
+ WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
1769
+ LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
1770
1770
  OF THIS SOFTWARE.
1771
1771
 
1772
1772
 
@@ -2079,7 +2079,7 @@ Version 1.1.1t
2079
2079
  * are met:
2080
2080
  *
2081
2081
  * 1. Redistributions of source code must retain the above copyright
2082
- * notice, this list of conditions and the following disclaimer.
2082
+ * notice, this list of conditions and the following disclaimer.
2083
2083
  *
2084
2084
  * 2. Redistributions in binary form must reproduce the above copyright
2085
2085
  * notice, this list of conditions and the following disclaimer in
@@ -2134,21 +2134,21 @@ Version 1.1.1t
2134
2134
  * This package is an SSL implementation written
2135
2135
  * by Eric Young (eay@cryptsoft.com).
2136
2136
  * The implementation was written so as to conform with Netscapes SSL.
2137
- *
2137
+ *
2138
2138
  * This library is free for commercial and non-commercial use as long as
2139
2139
  * the following conditions are aheared to. The following conditions
2140
2140
  * apply to all code found in this distribution, be it the RC4, RSA,
2141
2141
  * lhash, DES, etc., code; not just the SSL code. The SSL documentation
2142
2142
  * included with this distribution is covered by the same copyright terms
2143
2143
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
2144
- *
2144
+ *
2145
2145
  * Copyright remains Eric Young's, and as such any Copyright notices in
2146
2146
  * the code are not to be removed.
2147
2147
  * If this package is used in a product, Eric Young should be given attribution
2148
2148
  * as the author of the parts of the library used.
2149
2149
  * This can be in the form of a textual message at program startup or
2150
2150
  * in documentation (online or textual) provided with the package.
2151
- *
2151
+ *
2152
2152
  * Redistribution and use in source and binary forms, with or without
2153
2153
  * modification, are permitted provided that the following conditions
2154
2154
  * are met:
@@ -2163,10 +2163,10 @@ Version 1.1.1t
2163
2163
  * Eric Young (eay@cryptsoft.com)"
2164
2164
  * The word 'cryptographic' can be left out if the rouines from the library
2165
2165
  * being used are not cryptographic related :-).
2166
- * 4. If you include any Windows specific code (or a derivative thereof) from
2166
+ * 4. If you include any Windows specific code (or a derivative thereof) from
2167
2167
  * the apps directory (application code) you must include an acknowledgement:
2168
2168
  * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
2169
- *
2169
+ *
2170
2170
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
2171
2171
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2172
2172
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -2178,7 +2178,7 @@ Version 1.1.1t
2178
2178
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2179
2179
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2180
2180
  * SUCH DAMAGE.
2181
- *
2181
+ *
2182
2182
  * The licence and distribution terms for any publically available version or
2183
2183
  * derivative of this code cannot be changed. i.e. this code cannot simply be
2184
2184
  * copied and put under another distribution licence
@@ -2196,7 +2196,7 @@ Version v1.15.2
2196
2196
 
2197
2197
  The MIT License (MIT)
2198
2198
 
2199
- Copyright (c) 2016 Gabi Melman.
2199
+ Copyright (c) 2016 Gabi Melman.
2200
2200
 
2201
2201
  Permission is hereby granted, free of charge, to any person obtaining a copy
2202
2202
  of this software and associated documentation files (the "Software"), to deal
@@ -3091,10 +3091,6 @@ Version 1.1.0
3091
3091
 
3092
3092
 
3093
3093
 
3094
-
3095
-
3096
-
3097
-
3098
3094
  G8Tesseract
3099
3095
  Copyright @ 2014 Daniele Galiotto. https://github.com/gali8/Tesseract-OCR-iOS
3100
3096
  This library is distributed under the terms of a MIT License (https://github.com/gali8/Tesseract-OCR-iOS/blob/master/LICENSE.md).
@@ -3107,7 +3103,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
3107
3103
 
3108
3104
  ------------------------------------------------------------------------------------------------------------------------
3109
3105
 
3110
- Open Source libraries used in the Scanbot Barcode Scanner SDK for Android version 7.1.1
3106
+ Open Source libraries used in the Scanbot Barcode Scanner SDK for Android version 7.1.2
3111
3107
 
3112
3108
  CWAC-Camera
3113
3109
 
@@ -3280,7 +3276,29 @@ Unless required by applicable law or agreed to in writing, software
3280
3276
  distributed under the License is distributed on an "AS IS" BASIS,
3281
3277
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3282
3278
  See the License for the specific language governing permissions and
3283
- limitations under the License.+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3279
+ limitations under the License.
3280
+
3281
+
3282
+ PdfiumAndroid
3283
+
3284
+ Version 103d5855f797af78a6f33f94cb306ef1c23b2290
3285
+ (https://github.com/barteksc/PdfiumAndroid)
3286
+
3287
+ Original work Copyright 2015 Bekket McClane
3288
+ Modified work Copyright 2016 Bartosz Schiller
3289
+
3290
+ Licensed under the Apache License, Version 2.0 (the "License");
3291
+ you may not use this file except in compliance with the License.
3292
+ You may obtain a copy of the License at
3293
+
3294
+ http://www.apache.org/licenses/LICENSE-2.0
3295
+
3296
+ Unless required by applicable law or agreed to in writing, software
3297
+ distributed under the License is distributed on an "AS IS" BASIS,
3298
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3299
+ See the License for the specific language governing permissions and
3300
+ limitations under the License.
3301
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3284
3302
 
3285
3303
  Boost C++
3286
3304
 
@@ -40,6 +40,6 @@ Pod::Spec.new do |s|
40
40
  end
41
41
  end
42
42
 
43
- s.dependency "ScanbotBarcodeSDKWrapper", '7.1.2.0'
43
+ s.dependency "ScanbotBarcodeSDKWrapper", '7.1.3.0'
44
44
  s.ios.vendored_frameworks = 'ScanbotBarcodeSDKWrapper.framework'
45
45
  end
@@ -1,4 +1,4 @@
1
- ScanbotBarcodeSdk_sharedLibsVersion=7.1.1.0
1
+ ScanbotBarcodeSdk_sharedLibsVersion=7.1.2.0
2
2
  ScanbotBarcodeSdk_kotlinVersion=1.9.25
3
3
  ScanbotBarcodeSdk_minSdkVersion=21
4
4
  ScanbotBarcodeSdk_targetSdkVersion=34
@@ -191,14 +191,12 @@
191
191
 
192
192
  - (void) setConfigAccumulation: (NSDictionary *)value {
193
193
  SBSDKBarcodeScannerConfiguration *configuration = self.scannerViewController.copyCurrentConfiguration;
194
- NSNumber* _Nullable minConfirmationsStandaloneEAN = [value valueForKey:@"minConfirmationsStandaloneEAN"];
195
194
  NSNumber* _Nullable accumulationTime = [value valueForKey:@"accumulationTime"];
196
195
  BOOL removeUnconnectedResults = [value valueForKey:@"removeUnconnectedResults"];
197
196
  NSString* _Nullable method = [value valueForKey:@"method"];
198
197
 
199
198
 
200
199
  [RNScanbotBarcodeScannerViewControllerWrapper setConfigAccumulation:configuration
201
- minConfirmationsStandaloneEAN:minConfirmationsStandaloneEAN != nil ? [minConfirmationsStandaloneEAN intValue] : 1
202
200
  accumulationTime:accumulationTime != nil ? [accumulationTime intValue] : 500
203
201
  removeUnconnectedResults:removeUnconnectedResults
204
202
  method:method];
@@ -249,7 +249,6 @@ using namespace facebook::react;
249
249
  }
250
250
  if(oldViewProps.configAccumulation != newViewProps.configAccumulation){
251
251
  [RNScanbotBarcodeScannerViewControllerWrapper setConfigAccumulation:configuration
252
- minConfirmationsStandaloneEAN:newViewProps.configAccumulation.minConfirmationsStandaloneEAN
253
252
  accumulationTime:newViewProps.configAccumulation.accumulationTime
254
253
  removeUnconnectedResults:newViewProps.configAccumulation.removeUnconnectedResults
255
254
  method:[self toNSString:newViewProps.configAccumulation.method]];
@@ -441,7 +440,6 @@ bool operator!=(std::vector<ScanbotBarcodeScannerViewConfigFormatConfigurationsS
441
440
  bool operator!=(ScanbotBarcodeScannerViewConfigAccumulationStruct const &i, ScanbotBarcodeScannerViewConfigAccumulationStruct const &j) {
442
441
  return i.accumulationTime != j.accumulationTime ||
443
442
  i.method != j.method ||
444
- i.minConfirmationsStandaloneEAN != j.minConfirmationsStandaloneEAN ||
445
443
  i.removeUnconnectedResults != j.removeUnconnectedResults;
446
444
  }
447
445
 
@@ -84,7 +84,6 @@
84
84
  value:(BOOL)value;
85
85
 
86
86
  + (void) setConfigAccumulation:(SBSDKBarcodeScannerConfiguration * _Nonnull)config
87
- minConfirmationsStandaloneEAN:(int)minConfirmationsStandaloneEAN
88
87
  accumulationTime:(int)accumulationTime
89
88
  removeUnconnectedResults:(BOOL)removeUnconnectedResults
90
89
  method:(NSString * _Nullable)method;
@@ -169,13 +169,11 @@
169
169
  }
170
170
 
171
171
  + (void)setConfigAccumulation:(SBSDKBarcodeScannerConfiguration * _Nonnull)config
172
- minConfirmationsStandaloneEAN:(int)minConfirmationsStandaloneEAN
173
172
  accumulationTime:(int)accumulationTime
174
173
  removeUnconnectedResults:(BOOL)removeUnconnectedResults
175
174
  method:(NSString * _Nullable)method {
176
175
  [config setAccumulationConfig: [[SBSDKBarcodeAccumulationConfiguration alloc]
177
- initWithMinConfirmationsStandaloneEAN: minConfirmationsStandaloneEAN
178
- accumulationTime: accumulationTime
176
+ initWithAccumulationTime: accumulationTime
179
177
  removeUnconnectedResults: removeUnconnectedResults
180
178
  method: [method isEqual: @"INTERPOLATE_BY_CAMERA"] ?
181
179
  SBSDKBarcodeAccumulationMethodInterpolateByCamera : SBSDKBarcodeAccumulationMethodLastVisible