react-native-scanbot-barcode-scanner-sdk 5.1.0-beta.4 → 5.1.1-beta.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.
package/Libraries.txt CHANGED
@@ -1,4 +1,4 @@
1
- Open Source libraries used in the Scanbot Barcode SDK for React Native version 5.1.0
1
+ Open Source libraries used in the Scanbot Barcode SDK for React Native version 5.1.1
2
2
 
3
3
  Open Source libraries used in ScanbotBarcodeScannerSDK for iOS version 5.1.3:
4
4
 
@@ -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
@@ -830,7 +830,7 @@ JSON for Modern C++
830
830
  Version v3.11.2
831
831
  (https://github.com/nlohmann/json)
832
832
 
833
- MIT License
833
+ MIT License
834
834
 
835
835
  Copyright (c) 2013-2022 Niels Lohmann
836
836
 
@@ -901,18 +901,18 @@ Copyright (C) 2007-2009 Antony Dovgal
901
901
 
902
902
  This software is provided 'as-is', without any express or implied warranty.
903
903
 
904
- In no event will the authors be held liable for any damages arising from the
904
+ In no event will the authors be held liable for any damages arising from the
905
905
  use of this software.
906
906
 
907
- Permission is granted to anyone to use this software for any purpose,including
908
- commercial applications, and to alter it and redistribute it freely, subject
907
+ Permission is granted to anyone to use this software for any purpose,including
908
+ commercial applications, and to alter it and redistribute it freely, subject
909
909
  to the following restrictions:
910
910
 
911
- 1. The origin of this software must not be misrepresented; you must not claim
912
- that you wrote the original software. If you use this software in a
913
- product, an acknowledgment in the product documentation would be
911
+ 1. The origin of this software must not be misrepresented; you must not claim
912
+ that you wrote the original software. If you use this software in a
913
+ product, an acknowledgment in the product documentation would be
914
914
  appreciated but is not required.
915
- 2. Altered source versions must be plainly marked as such, and must not be
915
+ 2. Altered source versions must be plainly marked as such, and must not be
916
916
  misrepresented as being the original software.
917
917
  3. This notice may not be removed or altered from any source distribution.
918
918
 
@@ -1211,7 +1211,7 @@ Version 4.2.0
1211
1211
  Copyright (c) 1988-1997 Sam Leffler
1212
1212
  Copyright (c) 1991-1997 Silicon Graphics, Inc.
1213
1213
 
1214
- Permission to use, copy, modify, distribute, and sell this software and
1214
+ Permission to use, copy, modify, distribute, and sell this software and
1215
1215
  its documentation for any purpose is hereby granted without fee, provided
1216
1216
  that (i) the above copyright notices and this permission notice appear in
1217
1217
  all copies of the software and related documentation, and (ii) the names of
@@ -1219,15 +1219,15 @@ Sam Leffler and Silicon Graphics may not be used in any advertising or
1219
1219
  publicity relating to the software without the specific, prior written
1220
1220
  permission of Sam Leffler and Silicon Graphics.
1221
1221
 
1222
- THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
1223
- EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
1224
- WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1222
+ THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
1223
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
1224
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1225
1225
 
1226
1226
  IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
1227
1227
  ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
1228
1228
  OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
1229
- WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
1230
- LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
1229
+ WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
1230
+ LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
1231
1231
  OF THIS SOFTWARE.
1232
1232
 
1233
1233
 
@@ -1540,7 +1540,7 @@ Version 1.1.1t
1540
1540
  * are met:
1541
1541
  *
1542
1542
  * 1. Redistributions of source code must retain the above copyright
1543
- * notice, this list of conditions and the following disclaimer.
1543
+ * notice, this list of conditions and the following disclaimer.
1544
1544
  *
1545
1545
  * 2. Redistributions in binary form must reproduce the above copyright
1546
1546
  * notice, this list of conditions and the following disclaimer in
@@ -1595,21 +1595,21 @@ Version 1.1.1t
1595
1595
  * This package is an SSL implementation written
1596
1596
  * by Eric Young (eay@cryptsoft.com).
1597
1597
  * The implementation was written so as to conform with Netscapes SSL.
1598
- *
1598
+ *
1599
1599
  * This library is free for commercial and non-commercial use as long as
1600
1600
  * the following conditions are aheared to. The following conditions
1601
1601
  * apply to all code found in this distribution, be it the RC4, RSA,
1602
1602
  * lhash, DES, etc., code; not just the SSL code. The SSL documentation
1603
1603
  * included with this distribution is covered by the same copyright terms
1604
1604
  * except that the holder is Tim Hudson (tjh@cryptsoft.com).
1605
- *
1605
+ *
1606
1606
  * Copyright remains Eric Young's, and as such any Copyright notices in
1607
1607
  * the code are not to be removed.
1608
1608
  * If this package is used in a product, Eric Young should be given attribution
1609
1609
  * as the author of the parts of the library used.
1610
1610
  * This can be in the form of a textual message at program startup or
1611
1611
  * in documentation (online or textual) provided with the package.
1612
- *
1612
+ *
1613
1613
  * Redistribution and use in source and binary forms, with or without
1614
1614
  * modification, are permitted provided that the following conditions
1615
1615
  * are met:
@@ -1624,10 +1624,10 @@ Version 1.1.1t
1624
1624
  * Eric Young (eay@cryptsoft.com)"
1625
1625
  * The word 'cryptographic' can be left out if the rouines from the library
1626
1626
  * being used are not cryptographic related :-).
1627
- * 4. If you include any Windows specific code (or a derivative thereof) from
1627
+ * 4. If you include any Windows specific code (or a derivative thereof) from
1628
1628
  * the apps directory (application code) you must include an acknowledgement:
1629
1629
  * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
1630
- *
1630
+ *
1631
1631
  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
1632
1632
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1633
1633
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -1639,7 +1639,7 @@ Version 1.1.1t
1639
1639
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1640
1640
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1641
1641
  * SUCH DAMAGE.
1642
- *
1642
+ *
1643
1643
  * The licence and distribution terms for any publically available version or
1644
1644
  * derivative of this code cannot be changed. i.e. this code cannot simply be
1645
1645
  * copied and put under another distribution licence
@@ -1657,7 +1657,7 @@ Version v1.9.2
1657
1657
 
1658
1658
  The MIT License (MIT)
1659
1659
 
1660
- Copyright (c) 2016 Gabi Melman.
1660
+ Copyright (c) 2016 Gabi Melman.
1661
1661
 
1662
1662
  Permission is hereby granted, free of charge, to any person obtaining a copy
1663
1663
  of this software and associated documentation files (the "Software"), to deal
@@ -5,37 +5,49 @@
5
5
 
6
6
  @interface RNScanbotBarcodeScannerLegacyView()
7
7
  @property (strong, nonatomic) SBSDKBarcodeScannerViewController *scannerViewController;
8
+ @property (strong, nonatomic) UIViewController *vc;
8
9
  @property (nonatomic) BOOL scanningEnabled;
9
10
  @end
10
11
 
11
12
  @implementation RNScanbotBarcodeScannerLegacyView
12
13
 
14
+
15
+
13
16
  - (instancetype)initWithFrame:(CGRect)frame
14
17
  {
18
+
15
19
  if (self = [super initWithFrame:frame]) {
16
20
  _scanningEnabled = true;
17
- _scannerViewController = [RNScanbotBarcodeScannerViewControllerWrapper initController];
18
- _scannerViewController.delegate = self;
19
- _scannerViewController.trackingOverlayController.delegate = self;
20
21
  _selectedBarcodes = [NSMutableSet set];
22
+
23
+ self.vc = [[UIViewController alloc] init];
24
+ self.vc.view = self;
25
+ self.scannerViewController = [RNScanbotBarcodeScannerViewControllerWrapper initController];
26
+ self.scannerViewController.delegate = self;
27
+ self.scannerViewController.trackingOverlayController.delegate = self;
21
28
  }
22
29
 
23
30
  return self;
24
31
  }
25
32
 
26
33
  - (void)didMoveToWindow {
27
- UIViewController *vc = [[UIViewController alloc] init];
28
- vc.view = self;
29
- [_scannerViewController attachWithParentViewController:vc parentView:self];
30
34
  [super didMoveToWindow];
35
+ if(self.window) {
36
+ [self.scannerViewController attachWithParentViewController:self.vc parentView:self];
37
+ } else {
38
+ [self.scannerViewController freezeCamera];
39
+ [self.vc sbsdk_detachViewController:self.scannerViewController];
40
+ }
31
41
  }
32
42
 
33
43
  - (void)removeFromSuperview {
34
44
  self.scannerViewController = nil;
45
+ self.vc = nil;
35
46
  self.selectedBarcodes = [NSMutableSet set];
36
47
  [super removeFromSuperview];
37
48
  }
38
49
 
50
+
39
51
  - (void) setScanningEnabled:(BOOL)value {
40
52
  _scanningEnabled = value;
41
53
  }
@@ -73,28 +85,28 @@
73
85
  NSNumber *left = [value valueForKey:@"left"];
74
86
  NSNumber *bottom = [value valueForKey:@"bottom"];
75
87
  NSNumber *right = [value valueForKey:@"right"];
76
-
88
+
77
89
  SBSDKBaseScannerViewFinderConfiguration *finderConfig = self.scannerViewController.viewFinderConfiguration;
78
-
90
+
79
91
  [RNScanbotBarcodeScannerViewControllerWrapper setFinderInset:finderConfig
80
92
  top:top != nil ? [top floatValue] : 10
81
93
  left:left != nil ? [left floatValue]: 10
82
94
  bottom:bottom != nil ? [bottom floatValue] : 10
83
95
  right:right != nil ? [right floatValue] : 10];
84
-
96
+
85
97
  self.scannerViewController.viewFinderConfiguration = finderConfig;
86
98
  }
87
99
 
88
100
  - (void) setFinderRequiredAspectRatios:(NSDictionary * _Nullable)value {
89
101
  NSNumber *width = [value valueForKey:@"width"];
90
102
  NSNumber *height = [value valueForKey:@"height"];
91
-
103
+
92
104
  SBSDKBaseScannerViewFinderConfiguration *finderConfig = self.scannerViewController.viewFinderConfiguration;
93
-
105
+
94
106
  [RNScanbotBarcodeScannerViewControllerWrapper setFinderRequiredAspectRatios:finderConfig
95
107
  width:width != nil ? [width doubleValue] : 4
96
108
  height:height != nil ? [height doubleValue] : 3];
97
-
109
+
98
110
  self.scannerViewController.viewFinderConfiguration = finderConfig;
99
111
  }
100
112
 
@@ -107,13 +119,13 @@
107
119
  - (void) setCameraZoomRange:(NSDictionary * _Nullable)value {
108
120
  NSNumber *minZoom = [value valueForKey:@"minZoom"];
109
121
  NSNumber *maxZoom = [value valueForKey:@"maxZoom"];
110
-
122
+
111
123
  SBSDKBaseScannerZoomConfiguration *zoomConfig = self.scannerViewController.zoomConfiguration;
112
-
124
+
113
125
  [RNScanbotBarcodeScannerViewControllerWrapper setCameraZoomRange:zoomConfig
114
126
  minZoom: minZoom != nil ? [minZoom floatValue] : 1
115
127
  maxZoom: maxZoom != nil ? [maxZoom floatValue] : 12];
116
-
128
+
117
129
  self.scannerViewController.zoomConfiguration = zoomConfig;
118
130
  }
119
131
 
@@ -127,28 +139,28 @@
127
139
 
128
140
  - (void) setDetectorConfig:(NSDictionary * _Nullable)configDict {
129
141
  SBBWrapperBarcodeCameraViewConfiguration* decodedConfig = [SBBWrapperBarcodeCameraViewConfiguration fromDicitonary: configDict];
130
-
142
+
131
143
  SBSDKBarcodeAdditionalParameters *additionalConfig = self.scannerViewController.additionalDetectionParameters;
132
144
 
133
145
  [RNScanbotBarcodeScannerViewControllerWrapper setBarcodeFormats:self.scannerViewController acceptedBarcodeTypes:decodedConfig.acceptedBarcodeTypes];
134
-
146
+
135
147
  [RNScanbotBarcodeScannerViewControllerWrapper setDocumentFormats:self.scannerViewController acceptedDocumentTypes:decodedConfig.acceptedDocumentTypes];
136
148
 
137
149
  [RNScanbotBarcodeScannerViewControllerWrapper setEngineMode:self.scannerViewController engineMode:decodedConfig.engineMode];
138
-
150
+
139
151
  [RNScanbotBarcodeScannerViewControllerWrapper setBarcodeExtensionFilter:self.scannerViewController
140
152
  filter:decodedConfig.barcodesExtensionFilter];
141
153
 
142
154
  [RNScanbotBarcodeScannerViewControllerWrapper setLowPowerMode:self.scannerViewController value:decodedConfig.lowPowerMode];
143
-
155
+
144
156
  [RNScanbotBarcodeScannerViewControllerWrapper setMinimumTextLenght:additionalConfig value:decodedConfig.minimumTextLength];
145
157
 
146
158
  [RNScanbotBarcodeScannerViewControllerWrapper setMaximumTextLenght:additionalConfig value:decodedConfig.maximumTextLength];
147
-
159
+
148
160
  [RNScanbotBarcodeScannerViewControllerWrapper setMinimum1DBarcodesQuietZone:additionalConfig value:decodedConfig.minimum1DBarcodesQuietZone];
149
-
161
+
150
162
  [RNScanbotBarcodeScannerViewControllerWrapper setStripCheckDigits:additionalConfig value:decodedConfig.stripCheckDigits];
151
-
163
+
152
164
  [RNScanbotBarcodeScannerViewControllerWrapper setGS1HandlingMode:additionalConfig gs1HandlingMode:decodedConfig.gs1Handling];
153
165
 
154
166
  [RNScanbotBarcodeScannerViewControllerWrapper setMsiPlesseyChecksumAlgorithm:additionalConfig msiPlesseyChecksumAlgorithm:decodedConfig.msiPlesseyChecksumAlgorithm];
@@ -196,7 +208,7 @@
196
208
 
197
209
  - (void) setOverlayTextFormat:(NSString * _Nullable) value {
198
210
  SBSDKBarcodeOverlayFormat newFormat = [SBSDKBarcodeOverlayFormatDecoder fromString:value];
199
-
211
+
200
212
  [RNScanbotBarcodeScannerViewControllerWrapper setOverlayTextFormat:self.scannerViewController value:newFormat];
201
213
  }
202
214
 
@@ -230,11 +242,11 @@
230
242
  }
231
243
 
232
244
  - (void)barcodeTrackingOverlay:(SBSDKBarcodeTrackingOverlayController * _Nonnull)controller didTapOnBarcode:(SBSDKBarcodeScannerResult * _Nonnull)barcode {
233
-
245
+
234
246
  if(!self.onSelectBarcodeResult){
235
247
  return;
236
248
  }
237
-
249
+
238
250
  NSString *result = [RNScanbotBarcodeScannerViewControllerWrapper jsonFromResultOrNil:@[barcode]];
239
251
  if(result != nil){
240
252
  self.onSelectBarcodeResult(@{@"result":result});
@@ -243,15 +255,15 @@
243
255
  }
244
256
 
245
257
  - (SBSDKBarcodeTrackedViewPolygonStyle *)barcodeTrackingOverlay:(SBSDKBarcodeTrackingOverlayController * _Nonnull)controller polygonStyleFor:(SBSDKBarcodeScannerResult * _Nonnull)barcode {
246
-
258
+
247
259
  return [RNScanbotBarcodeScannerViewControllerWrapper polygonForSelectedBarcode:barcode
248
260
  selectedBarcodes:self.selectedBarcodes
249
261
  controller:self.scannerViewController];
250
-
262
+
251
263
  }
252
264
 
253
265
  - (SBSDKBarcodeTrackedViewTextStyle *)barcodeTrackingOverlay:(SBSDKBarcodeTrackingOverlayController * _Nonnull)controller textStyleFor:(SBSDKBarcodeScannerResult * _Nonnull)barcode {
254
-
266
+
255
267
  return [RNScanbotBarcodeScannerViewControllerWrapper textStyleForSelectedBarcode:barcode
256
268
  selectedBarcodes:self.selectedBarcodes
257
269
  controller:self.scannerViewController];
@@ -31,46 +31,45 @@ using namespace facebook::react;
31
31
  static const auto defaultProps = std::make_shared<const ScanbotBarcodeScannerViewProps>();
32
32
  _props = defaultProps;
33
33
  _scanningEnabled = true;
34
- _scannerViewController = [RNScanbotBarcodeScannerViewControllerWrapper initController];
35
- _scannerViewController.delegate = self;
36
- _scannerViewController.trackingOverlayController.delegate = self;
37
34
  _selectedBarcodes = [NSMutableSet set];
38
- }
39
-
35
+
36
+ self.vc = [[UIViewController alloc] init];
37
+ self.vc.view = self;
38
+ self.scannerViewController = [RNScanbotBarcodeScannerViewControllerWrapper initController];
39
+ self.scannerViewController.delegate = self;
40
+ self.scannerViewController.trackingOverlayController.delegate = self;
41
+ }
42
+
40
43
  return self;
41
44
  }
42
45
 
43
46
  - (void)didMoveToWindow {
44
47
  [super didMoveToWindow];
45
-
46
- if(self.window){
47
- if (_vc == nil) {
48
- _vc = [[UIViewController alloc] init];
49
- _vc.view = self;
50
- [_scannerViewController attachWithParentViewController:_vc parentView:self];
51
- }
52
- } else {
53
- if (_scannerViewController != nil) {
54
- [_vc sbsdk_detachViewController:_scannerViewController];
55
- _vc = nil;
48
+
49
+ if(self.window) {
50
+ if (self.vc == nil){
51
+ self.vc = [[UIViewController alloc] init];
52
+ self.vc.view = self;
56
53
  }
54
+ [self.scannerViewController attachWithParentViewController:self.vc parentView:self];
57
55
  }
58
56
  }
59
57
 
60
58
  - (void)prepareForRecycle {
61
- [super prepareForRecycle];
62
- _scannerViewController = nil;
59
+ self.scannerViewController = nil;
60
+ self.vc = nil;
63
61
  self.selectedBarcodes = [NSMutableSet set];
64
62
  static const auto defaultProps = std::make_shared<const ScanbotBarcodeScannerViewProps>();
65
63
  _props = defaultProps;
64
+ [super prepareForRecycle];
66
65
  }
67
66
 
68
67
  - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &)oldProps
69
68
  {
70
- if (_scannerViewController == nil) {
71
- _scannerViewController = [RNScanbotBarcodeScannerViewControllerWrapper initController];
72
- _scannerViewController.delegate = self;
73
- _scannerViewController.trackingOverlayController.delegate = self;
69
+ if (self.scannerViewController == nil) {
70
+ self.scannerViewController = [RNScanbotBarcodeScannerViewControllerWrapper initController];
71
+ self.scannerViewController.delegate = self;
72
+ self.scannerViewController.trackingOverlayController.delegate = self;
74
73
  }
75
74
 
76
75
  const auto &oldViewProps = *std::static_pointer_cast<ScanbotBarcodeScannerViewProps const>(_props);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-scanbot-barcode-scanner-sdk",
3
3
  "title": "Scanbot Barcode Scanner SDK for React Native",
4
- "version": "5.1.0-beta.4",
4
+ "version": "5.1.1-beta.1",
5
5
  "description": "Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS",
6
6
  "main": "lib/commonjs/index",
7
7
  "module": "lib/module/index",