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
2025-02-03 09:00:48 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2025-02-03 09:00:48 +0100
Commit
64f061302331947f394653487c4f79c608c52ee4
64f06130
2 parents
653e92d6
e7b3ade1
Merge branch 'master' into fix_master_analysis
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
CHANGELOG.md
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt
pubspec.yaml
CHANGELOG.md
View file @
64f0613
## 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.
...
...
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt
View file @
64f0613
...
...
@@ -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 ->
...
...
pubspec.yaml
View file @
64f0613
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
:
...
...
Please
register
or
login
to post a comment