The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Types of changes
Addedfor new features.Changedfor changes in existing functionality.Deprecatedfor soon-to-be removed features.Removedfor now removed features.Fixedfor any bug fixes.Securityin case of vulnerabilities.
- [Breaking Change] Changed callback functions to be set as functions instead of properties, see "Migration instructions" on the README.md.
- Scanner state handling improved to allow multiple instances. Usage remains the same, just make sure to call
disposeScanner()when no longer need to use a scanner instance.
- Example project updated to adjust to latest flutter version.
- (Breaking) Removed deprecated support of plugin registrant for apps that doesn't support v2 Android embedding
- Added pub topics to package metadata.
- Added support of namespace property to support Android Gradle Plugin (AGP) 8. Projects with AGP < 4.2 should be compatible as well but it is highly recommended to update at least to AGP 7.0 or newer.
- Example project updated to work with AGP 8
- New function
OnScannerDecodeCallbackavailable for specificonDecodedevent callbacks - New function
OnScannerErrorCallbackavailable for specificonErrorevent callbacks
- Breaking change on
ScannerCallBackclass name which was renamed toScannerCallback - Breaking change in
onDecodefunction which now receives aScannedDataobject with the scanned code itself and other info like the code type, code symbol, etc.
setScannerCallBackfunction removed fromHoneywellScanner, if you need to set a scanner callback after scanner instantiation you can use thescannerCallbackset property.
- Scan trigger. Now scanning can be triggered by a button in your app.
- Example updated to show how to use scan trigger.
- Readme updated to show how to use scan trigger.
- Data collection SDK updated to v1.97.00.0026. If you were using a previous version of this plugin then you should check the How to use from Readme and do the Second step again to ensure using the new Honeywell DataCollection.aar library
- README.md updated
- doc folder added with specific BarCode properties documentation.
- Minor changes to example code
- README.md updated
- Android plugin API updated to support v2 Embedding while remaining compatible with apps that don’t use the v2 Android embedding.
Future<bool> isSupported()validation added to avoid platform plugin exceptions on any other platform different than Android.
Future<bool> isSupported()function added to know if running device is supported by honeywell scanner.
- Android gradle plugin updated
- Android compileSdkVersion updated
- Support for null-safety
- Honeywell sdk lib AAR updated to v1.00.00.0102
- Example project updated to show a more detailed how to use.
- CodeFormatUtils is now an extension of CodeFormat (breaking change)
- Changed the way of importing the honeywell.aar library (breaking change)
- Bug on releasing the scanner claim when stopScanner was called
- Unsupported CodeFormats ITF and UPC_EAN_EXTENSION.
- Support for latest flutter frameworks
- Some bugs fixed