react-native-scanbot-barcode-scanner-sdk 7.0.0-rc.3 → 7.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/README.md CHANGED
@@ -78,7 +78,7 @@ npx expo install react-native-scanbot-barcode-scanner-sdk
78
78
 
79
79
  Expo projects require a development build. Configure the project using our config plugin by adding this to your app config file:
80
80
 
81
- ```json
81
+ ```
82
82
  "plugins": [
83
83
  [
84
84
  "react-native-scanbot-barcode-scanner-sdk",
@@ -100,7 +100,7 @@ Our SDK needs camera access to scan from a live camera stream.
100
100
 
101
101
  **Note:** If you use Expo, the permissions can be configured using our config plugin, and this step can be skipped.
102
102
 
103
- ##### Android[​](https://docs.scanbot.io/barcode-scanner-sdk/react-native/detailed-setup-guide/permissions/#android)
103
+ ##### [Android](https://docs.scanbot.io/barcode-scanner-sdk/react-native/detailed-setup-guide/permissions/#android)
104
104
 
105
105
  Add these camera permissions to your **android/app/src/main/AndroidManifest.xml**:
106
106
 
@@ -111,7 +111,7 @@ Add these camera permissions to your **android/app/src/main/AndroidManifest.xml*
111
111
 
112
112
  We added the uses-feature tag for better recognition in the Google Play Store ([learn more](https://developer.android.com/guide/topics/manifest/uses-feature-element)). Our Ready-to-Use UI Components handle runtime permissions automatically.
113
113
 
114
- ##### iOS[​](https://docs.scanbot.io/barcode-scanner-sdk/react-native/detailed-setup-guide/permissions/#ios)
114
+ ##### [iOS](https://docs.scanbot.io/barcode-scanner-sdk/react-native/detailed-setup-guide/permissions/#ios)
115
115
 
116
116
  Add this camera permission description to **ios/{projectName}/Info.plist** inside the <dict> element:
117
117
 
@@ -179,7 +179,7 @@ const result = await ScanbotBarcodeSDK.startBarcodeScanner(config);
179
179
  ```
180
180
 
181
181
  <p align="left">
182
- <img src="https://scanbot.io/wp-content/uploads/2025/04/multi-barcode-scanning-gif2.gif" width="33.3%"/>
182
+ <img src="https://scanbot.io/wp-content/uploads/2025/04/multi-barcode-scanning-gif.gif" width="33.3%"/>
183
183
  </p>
184
184
 
185
185
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  //DEFAULTS
19
19
  scannerViewController.trackingOverlayController.configuration.polygonStyle.polygonBackgroundColor = [self uiColorToUiColorWithTransparentAlpha: [UIColor fromRgbAHex: @"#00CFA633"]];
20
- scannerViewController.trackingOverlayController.configuration.polygonStyle.polygonBackgroundSelectedColor = [UIColor fromRgbAHex: @"#00CFA633"];
20
+ scannerViewController.trackingOverlayController.configuration.polygonStyle.polygonBackgroundSelectedColor = [self uiColorToUiColorWithTransparentAlpha: [UIColor fromRgbAHex: @"#00CFA633"]];
21
21
  scannerViewController.trackingOverlayController.configuration.polygonStyle.polygonColor = [UIColor fromRgbAHex: @"#00CFA6CC"];
22
22
  scannerViewController.trackingOverlayController.configuration.polygonStyle.polygonSelectedColor = [UIColor fromRgbAHex: @"#00CFA6CC"];
23
23
  scannerViewController.trackingOverlayController.configuration.textStyle.textColor = [UIColor fromRgbAHex: @"#000000"];
@@ -123,7 +123,7 @@
123
123
 
124
124
  + (void)setOverlayPolygonColor:(SBSDKBarcodeScannerViewController *)config value:(UIColor * _Nullable)value {
125
125
  config.trackingOverlayController.configuration.polygonStyle.polygonBackgroundColor = [self uiColorToUiColorWithTransparentAlpha:value != nil ? value : [UIColor fromRgbAHex: @"#00CFA633"]];
126
- config.trackingOverlayController.configuration.polygonStyle.polygonBackgroundSelectedColor = value != nil ? value : [UIColor fromRgbAHex: @"#00CFA633"];
126
+ config.trackingOverlayController.configuration.polygonStyle.polygonBackgroundSelectedColor = [self uiColorToUiColorWithTransparentAlpha:value != nil ? value : [UIColor fromRgbAHex: @"#00CFA633"]];
127
127
  }
128
128
 
129
129
  + (void)setOverlayStrokeColor:(SBSDKBarcodeScannerViewController *)config value:(UIColor * _Nullable)value {
@@ -233,7 +233,7 @@
233
233
  NSString* polygonColor = [barcodeItemOverlayViewBinding valueForKey:@"polygonColor"];
234
234
  if(polygonColor != nil) {
235
235
  polygon.polygonBackgroundColor = [self uiColorToUiColorWithTransparentAlpha:[UIColor fromRgbAHex:polygonColor]]; // To make it like Android
236
- polygon.polygonBackgroundSelectedColor = [UIColor fromRgbAHex:polygonColor];
236
+ polygon.polygonBackgroundSelectedColor = [self uiColorToUiColorWithTransparentAlpha:[UIColor fromRgbAHex:polygonColor]]; // To make it like Android
237
237
  }
238
238
  }
239
239
 
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": "7.0.0-rc.3",
4
+ "version": "7.0.0",
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",