Skip to content

Commit

Permalink
feat: add Interleaved2of5 to supported barcode types on iOS (#481)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Berndt <stefan.berndt@hornbach.com>
  • Loading branch information
stetbern and Stefan Berndt committed Aug 7, 2022
1 parent 5fc9784 commit d4e4aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ReactNativeCameraKit/CKCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ - (BOOL)isSupportedBarCodeType:(NSString *)currentType {
NSArray *supportedBarcodeTypes = @[AVMetadataObjectTypeUPCECode,AVMetadataObjectTypeCode39Code,AVMetadataObjectTypeCode39Mod43Code,
AVMetadataObjectTypeEAN13Code,AVMetadataObjectTypeEAN8Code, AVMetadataObjectTypeCode93Code,
AVMetadataObjectTypeCode128Code, AVMetadataObjectTypePDF417Code, AVMetadataObjectTypeQRCode,
AVMetadataObjectTypeAztecCode, AVMetadataObjectTypeDataMatrixCode];
AVMetadataObjectTypeAztecCode, AVMetadataObjectTypeDataMatrixCode, AVMetadataObjectTypeInterleaved2of5Code];
for (NSString* object in supportedBarcodeTypes) {
if ([currentType isEqualToString:object]) {
result = YES;
Expand Down

0 comments on commit d4e4aa9

Please sign in to comment.