Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-09-04 09:02:37 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c83dd61ae68bf512bb2bae65624a08c05d9ec9b9
c83dd61a
1 parent
c179310c
fix discrepancy for barcode capture image size on Android
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScannerHandler.kt
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScannerHandler.kt
View file @
c83dd61
...
...
@@ -50,9 +50,11 @@ class MobileScannerHandler(
barcodeHandler.publishEvent(mapOf(
"name" to "barcode",
"data" to barcodes,
"image" to image,
"image" to mapOf(
"bytes" to image,
"width" to width!!.toDouble(),
"height" to height!!.toDouble()
"height" to height!!.toDouble(),
)
))
} else {
barcodeHandler.publishEvent(mapOf(
...
...
Please
register
or
login
to post a comment