This commit is contained in:
soraefir
2025-10-07 00:37:19 +02:00
parent 7e1443deca
commit 8b5c1cd942
41 changed files with 1949 additions and 1492 deletions
@@ -26,9 +26,9 @@ object BarcodeScanner {
try {
val result = reader.decode(binaryBitmap)
cb(result.text, formatToString(result.barcodeFormat))
} catch (e: NotFoundException) {
} catch (_: NotFoundException) {
cb(null, null)
} catch (e: ReaderException) {
} catch (_: ReaderException) {
cb(null, null)
}
}