Releases: juliansteenbakker/mobile_scanner
v3.0.0-beta.1
Breaking changes:
- [Android] SDK updated to SDK 33.
Features:
- [Web] Add binaryData for raw value.
- [iOS] Captures the last scanned barcode with Barcode.image.
- [iOS] Add support for multiple formats on iOS with BarcodeScannerOptions.
- Add displayValue which returns barcode value in a user-friendly format.
- Add autoResume option to MobileScannerController which automatically resumes the camera when the application is resumed
Other changes:
- [Android] Revert camera2 dependency to stable release
- [iOS] Update barcode scanning library to latest version
- Several minor code improvements
v2.1.0
Upgraded GoogleMLKit/BarcodeScanning pod on iOS from 2.6.0 to 3.2.0.
Migrated to stable version of androidx.camera for Android.
Please checkout version 3.0.0-beta.2 for the latest features.
v2.0.0-play-services
This version uses the MLKit play-services model on Android in order to save space.
With the example app, this version reduces the release version from 14.9MB to 7MB.
More information: https://developers.google.com/ml-kit/vision/barcode-scanning/android
v2.0.0
Breaking changes: This version is only compatible with flutter 3.0.0 and later.
v1.1.1-play-services
This version uses the MLKit play-services model on Android in order to save space.
With the example app, this version reduces the release version from 14.9MB to 7MB.
More information: https://developers.google.com/ml-kit/vision/barcode-scanning/android
v1.1.1
Bugfixes:
- Add null checks for Android.
- Update camera dependency for Android.
- Fix return type for analyzeImage.
- Add fixes for Flutter 3.
v1.1.0
Bugfixes:
- Fix for 'stream already listened to' exception.
- Fix building on Android with latest Flutter version.
- Add several WEB improvements.
- Upgraded several dependencies.
v1.0.0
BREAKING CHANGES:
This version adds a new allowDuplicates option which now defaults to FALSE. this means that it will only call onDetect once after a scan.
If you still want duplicates, you can set allowDuplicates to true.
This also means that you don't have to check for duplicates yourself anymore.
New features:
- We now have web support! Keep in mind that only QR codes are supported right now.
Bugfixes:
- Fixed hot reload not working.
- Fixed Navigator.of(context).pop() not working in the example app due to duplicate MaterialApp declaration.
- Fixed iOS MLKit version not resolving the latest version.
- Updated all dependencies
v0.2.0
You can provide a path to controller.analyzeImage(path) in order to scan a local photo from the gallery! Check out the example app to see how you can use the image_picker plugin to retrieve a photo from the gallery. Please keep in mind that this feature is only supported on Android and iOS.
Another feature that has been added is a format selector! Just keep in mind that iOS for now only supports 1 selected barcode.