Browse Source

Merge pull request #428 from Eliote/itf-ios-fix

Fix ITF25 reading on iOS
flutter-beta
Julian Steenbakker 4 years ago
committed by GitHub
parent
commit
9db4e58154
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ios/Classes/QRView.swift

+ 2
- 1
ios/Classes/QRView.swift View File

@@ -151,7 +151,8 @@ public class QRView:NSObject,FlutterPlatformView {
typeString = "EAN_8"
case AVMetadataObject.ObjectType.ean13:
typeString = "EAN_13"
case AVMetadataObject.ObjectType.itf14:
case AVMetadataObject.ObjectType.itf14,
AVMetadataObject.ObjectType.interleaved2of5:
typeString = "ITF"
case AVMetadataObject.ObjectType.pdf417:
typeString = "PDF_417"


Loading…
Cancel
Save