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
yujune
2025-01-20 22:39:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e789df6cb04d141cebe010677bbaafbbdc0f7ed
0e789df6
1 parent
926da3d9
chore: add blank lines.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt
View file @
0e789df
...
...
@@ -41,6 +41,7 @@ import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.launch
import java.io.ByteArrayOutputStream
import kotlin.math.roundToInt
class MobileScanner(
private val activity: Activity,
private val textureRegistry: TextureRegistry,
...
...
@@ -149,8 +150,10 @@ class MobileScanner(
val byteArray = stream.toByteArray()
val bmWidth = bmResult.width
val bmHeight = bmResult.height
bmResult.recycle()
imageProxy.close()
mobileScannerCallback(
barcodeMap,
byteArray,
...
...
Please
register
or
login
to post a comment