Julian Steenbakker

release of v6.0.5

## 6.0.5
Bugs fixed:
* [Android] Fixed crash due to imageProxy being closed too early.
## 6.0.4
Bugs fixed:
* [Android] Fixed UI stutter when `returnImage` is true.
... ...
... ... @@ -128,12 +128,12 @@ class MobileScanner(
}
if (!returnImage) {
imageProxy.close()
mobileScannerCallback(
barcodeMap,
null,
mediaImage.width,
mediaImage.height)
imageProxy.close()
return@addOnSuccessListener
}
... ... @@ -151,16 +151,16 @@ class MobileScanner(
val bmWidth = bmResult.width
val bmHeight = bmResult.height
bmResult.recycle()
imageProxy.close()
imageFormat.release()
mobileScannerCallback(
barcodeMap,
byteArray,
bmWidth,
bmHeight
)
bmResult.recycle()
imageProxy.close()
imageFormat.release()
}
}.addOnFailureListener { e ->
... ...
name: mobile_scanner
description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
version: 6.0.4
version: 6.0.5
repository: https://github.com/juliansteenbakker/mobile_scanner
screenshots:
... ...