IMPORTANT: This version of Barcode Plugin contains breaking changes that may require you to modify how your app uses the Plugin in order for you to be able to publish. Refer to the full release notes below for more information.
BREAKING CHANGES
The static entity “Formats” was renamed to “Format”, and its identifiers start in 1 instead of 0.
If you were using “Formats” in your app, you will need to change to this new entity. Also, if you were storing the integer identifiers, you may need to adapt that logic considering that the identifiers have been incremented.
The “ResultScanned” in ScanCode Block and “ScanResult” in ScanBarcode client action have changed from Text to a “ScanResult” Structure.
This structure includes “Text” - which corresponds to the scan result, exactly the same as older versions - and “Format”, a field for the barcode format.
Features
Android and iOS
Support “Hint” field to allow scanning a specific format (e.g. only QR Codes). This feature was available in PWA before, now it’s also available in native mobile apps.
Android, iOS and PWA
Return scanned barcode format.
Performance Improvements
Android
Reduce memory consumption when scanning with ML Kit.
Bug Fixes
PWA
RPM-6100 - ScanBarcode client action not scanning properly if Hint is not defined.
Copyright (C) 2012-2018 ZXing authors, Journey Mobile, Apache License 2.0.
Copyright (c) 2024 OutSystems, MIT License.
Copyright (c) 2020 html5-qrcode, MINHAZ <minhazav@gmail.com>, Apache License 2.0.
Fixes
Chores