add functionality for multiple callbacks from scanner
This commit is contained in:
parent
95babe0f2c
commit
bacebf8d31
|
@ -37,6 +37,7 @@ export default class CameraScreen extends Component {
|
|||
|
||||
onReadCode={((event) => Alert.alert(`Qr code found ${event.nativeEvent.codeStringValue} `))}
|
||||
hideControls={true}
|
||||
isNeedMultipleScanBarcode = {true}
|
||||
// offsetForScannerFrame = {10}
|
||||
// heightForScannerFrame = {300}
|
||||
colorForScannerFrame = {'blue'}
|
||||
|
|
|
@ -158,6 +158,7 @@ RCT_ENUM_CONVERTER(CKCameraZoomMode, (@{
|
|||
|
||||
}
|
||||
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame {
|
||||
self = [super initWithFrame:frame];
|
||||
|
||||
|
@ -1112,3 +1113,4 @@ const NSString *isNeedMultipleScanBarcode = @"isNeedMultipleScanBarcode";
|
|||
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in New Issue