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
2022-11-21 12:10:30 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2c306ef4619e15829fb707d2e639e4e0621c0e47
2c306ef4
1 parent
7e125453
fix changelog
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
CHANGELOG.md
CHANGELOG.md
View file @
2c306ef
...
...
@@ -8,15 +8,9 @@ Breaking changes:
*
The
`onPermissionSet` argument of the `MobileScannerController`
is now deprecated.
To handle permission errors, consider catching the result of
`MobileScannerController.start()`
.
*
Toggling the device torch now does nothing if the device has no torch, rather than throwing an error.
*
The
`MobileScanner` widget no longer starts its `controller`
.
Clients of the widget should call
`controller.start()`
when appropriate.
*
The
`MobileScanner` now only starts its internal `controller`
.
If providing your own controller, consider calling
`start()`
on it.
*
The
`onStart` method has been renamed to `onScannerStarted`
.
To retrieve the start arguments of the controller, await the
`start()`
method:
```
dart
final
arguments
=
await
controller
.
start
();
```
To retrieve the updated preview size when the application resumes from the background,
use the new
`onScannerRestarted`
method.
*
The
`autoResume` attribute has been removed from the `MobileScanner`
widget.
The controller already automatically resumes, so it had no effect.
*
Removed
`MobileScannerCallback` and `MobileScannerArgumentsCallback`
typedef.
...
...
Please
register
or
login
to post a comment