Showing
1 changed file
with
5 additions
and
3 deletions
| @@ -50,9 +50,11 @@ class MobileScannerHandler( | @@ -50,9 +50,11 @@ class MobileScannerHandler( | ||
| 50 | barcodeHandler.publishEvent(mapOf( | 50 | barcodeHandler.publishEvent(mapOf( |
| 51 | "name" to "barcode", | 51 | "name" to "barcode", |
| 52 | "data" to barcodes, | 52 | "data" to barcodes, |
| 53 | - "image" to image, | ||
| 54 | - "width" to width!!.toDouble(), | ||
| 55 | - "height" to height!!.toDouble() | 53 | + "image" to mapOf( |
| 54 | + "bytes" to image, | ||
| 55 | + "width" to width!!.toDouble(), | ||
| 56 | + "height" to height!!.toDouble(), | ||
| 57 | + ) | ||
| 56 | )) | 58 | )) |
| 57 | } else { | 59 | } else { |
| 58 | barcodeHandler.publishEvent(mapOf( | 60 | barcodeHandler.publishEvent(mapOf( |
-
Please register or login to post a comment