From d4e4aa943ee15fcbc32ebc1e12e0826f7496ac66 Mon Sep 17 00:00:00 2001 From: Stefan Berndt <104437822+stetbern@users.noreply.github.com> Date: Mon, 8 Aug 2022 01:30:47 +0200 Subject: [PATCH] feat: add Interleaved2of5 to supported barcode types on iOS (#481) Co-authored-by: Stefan Berndt --- ios/ReactNativeCameraKit/CKCamera.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/ReactNativeCameraKit/CKCamera.m b/ios/ReactNativeCameraKit/CKCamera.m index 7ef1372bb..401bb3e2e 100644 --- a/ios/ReactNativeCameraKit/CKCamera.m +++ b/ios/ReactNativeCameraKit/CKCamera.m @@ -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;