Showing
2 changed files
with
11 additions
and
1 deletions
| 1 | +## 3.0.0-beta.3 | ||
| 2 | +Breaking changes: | ||
| 3 | +* `MobileScannerException` now uses an `errorCode` instead of a `message`. | ||
| 4 | +* `MobileScannerException` now contains additional details from the original error. | ||
| 5 | +* Refactored `MobileScannerController.start()` to throw `MobileScannerException`s | ||
| 6 | + with consistent error codes, rather than string messages. | ||
| 7 | +* The previously deprecated `onPermissionSet` is now removed from the `MobileScanner` widget. | ||
| 8 | + To handle permission errors, consider catching the result of `MobileScannerController.start()`. | ||
| 9 | +* Toggling the device torch now does nothing if the device has no torch, rather than throwing an error. | ||
| 10 | + | ||
| 1 | ## 3.0.0-beta.2 | 11 | ## 3.0.0-beta.2 |
| 2 | Breaking changes: | 12 | Breaking changes: |
| 3 | * The arguments parameter of onDetect is removed. The data is now returned by the onStart callback | 13 | * The arguments parameter of onDetect is removed. The data is now returned by the onStart callback |
| 1 | name: mobile_scanner | 1 | name: mobile_scanner |
| 2 | 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. | 2 | 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. |
| 3 | -version: 3.0.0-beta.2 | 3 | +version: 3.0.0-beta.3 |
| 4 | repository: https://github.com/juliansteenbakker/mobile_scanner | 4 | repository: https://github.com/juliansteenbakker/mobile_scanner |
| 5 | 5 | ||
| 6 | environment: | 6 | environment: |
-
Please register or login to post a comment