Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -138,7 +138,7 @@ public class MobileScannerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, | @@ -138,7 +138,7 @@ public class MobileScannerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, | ||
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | DispatchQueue.main.async { | 140 | DispatchQueue.main.async { |
| 141 | - self?.sink?(["name": "barcodeMac", "data" : ["payload": barcode.payloadStringValue, "symbology": barcode.symbology.toInt as Any?]] as [String : Any]) | 141 | + self?.sink?(["name": "barcode", "data" : ["payload": barcode.payloadStringValue, "symbology": barcode.symbology.toInt as Any?]] as [String : Any]) |
| 142 | } | 142 | } |
| 143 | // if barcodeType == "QR" { | 143 | // if barcodeType == "QR" { |
| 144 | // let image = CIImage(image: source) | 144 | // let image = CIImage(image: source) |
-
Please register or login to post a comment