react-native-scanbot-barcode-scanner-sdk 7.0.0-rc.3 → 7.0.0-rc.4
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.
|
@@ -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.
|
|
4
|
+
"version": "7.0.0-rc.4",
|
|
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",
|