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
Julian Steenbakker
2022-12-08 11:40:07 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
842fba94a40d8db0e25faf88f50dcc6e956ad1de
842fba94
1 parent
a2d04e31
doc: update changelog
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
CHANGELOG.md
CHANGELOG.md
View file @
842fba9
...
...
@@ -22,11 +22,15 @@ Features:
*
Added
`autoStart`
parameter to MobileScannerController(). If set to false, controller won't start automatically.
*
Added
`hasTorch`
function on MobileScannerController(). After starting the controller, you can check if the device has a torch.
Fixed:
*
Fixed a memory leak where the
`MobileScanner`
widget would never close its subscription to the barcode events.
*
Fixed a dependency on all properties of
`MediaQueryData`
to build the preview widget. Now the preview only depends on its layout constraints.
Fixes:
*
Fixes the missing gradle setup for the Android project, which prevented gradle sync from working.
*
Fixes
`MobileScannerController.stop()`
throwing when already stopped.
*
Fixes
`MobileScannerController.toggleTorch()`
throwing if the device has no torch.
Now it does nothing if the torch is not available.
*
Fixes a memory leak where the
`MobileScanner`
would keep listening to the barcode events.
*
Fixes the
`MobileScanner` preview depending on all attributes of `MediaQueryData`
.
Now it only depends on its layout constraints.
*
Fixed a potential crash when the scanner is restarted due to the app being resumed.
*
Various documentation improvements.
## 3.0.0-beta.2
Breaking changes:
...
...
Please
register
or
login
to post a comment