barcode_scanner 6.1.1
barcode_scanner: ^6.1.1 copied to clipboard
Flutter plugin of the Scanbot Barcode Scanner SDK for Android and iOS. Provides functionality for scanning 1D and 2D barcodes, like EAN, UPC, QR code, Data Matrix, PDF 417, etc.
6.1.1 (February 2025) #
- 🎉 New:
- Added a new optional property
cameraModuleinBarcodeCameraConfigurationfor the Classic Component Barcode Scanner.
- Added a new optional property
- 🚙 Under the hood:
- Changed
json_annotationpackage restriction from 4.8.1 to ^4.8.1.
- Changed
6.1.0 (January 2025) #
- 🎉 New:
- Added support for new barcode types Maxicode, rMQR code, Code 11 and Code 32. Added literals that represent the new barcode types in
BarcodeFormat. - Added a new optional property
addAdditionalQuietZoneinBarcodeAdditionalParameters. The default value is false. - Added a new property
accessibilityDescriptioninRoundButtonandButtonConfiguration. - Added a new property
allowEmptySubmissioninMultipleScanningModeto allow submission of an empty barcode list in the Multiple Barcodes use case in RTU-UI v2. - Added new optional properties
useIATA2OF5Checksum,useCode11ChecksumandaustraliaPostCustomerFormatinBarcodeScannerConfiguration,BatchBarcodeScannerConfiguration,BarcodeRecognizerConfigurationandBarcodeAdditionalParameters. - Added a new type literal
CONFIRMEDinValidationStatustype inGenericDocument. - Added a new type literal
NONEinCommonFieldTypetype used inGenericDocument. - iOS: Added new zoom control slider controlled by the new camera control button on all view controllers. Available on all the new iPhone 16 models.
- Android: Added support for 16KB page size (Android 15).
- Added support for new barcode types Maxicode, rMQR code, Code 11 and Code 32. Added literals that represent the new barcode types in
- 🚀 Improvements:
- Improved detection of
UPCandEANextensions. - Added support for Extended Channel Interpretation (ECI) for Datamatrix and Aztec barcodes.
- For
CODE_128andITF, we improved the recognition of barcodes generated by defective thermal printers that do not print certain black bars correctly.
- Improved detection of
- 🐞 Bug fixes:
- Fixed KANJI mode for QR codes.
- iOS: Fixed a UI issue in the RTU-UI v2 Barcode Scanner
FindAndPickScanningModethat never showed the expected barcodes title, but always the barcode value. - iOS: Fixed a UI issue in the RTU-UI v2 Barcode Scanner
FindAndPickScanningModein button sheet mode where the counter badge was not visible. - iOS: Fixed a UI issue on the RTU-UI v2 Barcode Scanner's sheet screen where the subtitle label was being vertically cut off.
- iOS: Fixed a UI issue on the RTU-UI v2 Barcode Scanner's confirmation sheet in the
SingleScanningModewhere the loading indicator was not centered when the loading message was hidden. - iOS: Fixed a UI issue in the RTU-UI v2 Barcode Scanner where a title that was too long would cut off the cancel button.
- iOS: Fixed a UI issue in the RTU-UI v2 Barcode Scanner's finder where the background color overlapped with the line color.
- iOS: Fixed a bug in RTU-UI v2 Barcode Scanner where extended barcodes are displayed along with their non-extended versions.
- iOS: Fixed a bug that did not mirror the front camera as expected.
- iOS: Fixed a crash in scanners when setting the same
minZoomandmaxZoominZoomRange. - Android: Fixed R8 obfuscation config for SDK logging classes.
- Android: Minor fixes for appearance in RTU-UI v2 Barcode Scanner to make it consistent with its iOS counterpart.
- Android: Fixed an issue with AR Overlay and barcode mapping in RTU-UI v2 Barcode Scanner, where the mapped image wasn't shown on the AR Overlay until the same barcode appeared in the list below.
- ⚠️ Breaking Changes:
- Removed duplicate methods
initScanbotSdkandgetLicenseStatusfromscanbot_barcode_sdk_v2.dart. - Renamed the
scanbot_barcode_sdk_v2.dartfile toscanbot_barcode_sdk_ui_v2.dart. - Removed property
codeDensityfromBarcodeScannerConfiguration,BatchBarcodeScannerConfigurationandBarcodeAdditionalParameters. - Removed type literals
VALIDATEandDECODEand replaced them withVALIDATE_STRUCTURE,DECODE_STRUCTURE,VALIDATE_FULLandDECODE_FULLinGs1HandlingMode. - Changed the default values for properties
okButton,cancelButtonandactionButtoninScanbotAlertDialog. - Changed the default values for properties
enableCameraButtonandcloseButtoninCameraPermissionScreen. - Changed the default value for property
visibleinArOverlayFindAndPickConfigurationto true forFindAndPickScanningMode. - Replaced
standardandvalidationStatusfields withvalidationErrorsin theGS1Elementclass. - Android: Changed
barcodesRegexFilterbehavior inBarcodeRecognizerConfigurationforBarcodeScannerConfigurationconfig for RTU-UI v2 Barcode Scanner. Barcodes are accepted if the barcode data contains the part that matches the regex.
- Removed duplicate methods
- 🚙 Under the hood:
- Upgraded the native Scanbot Android SDK to v6.1.1.
- Upgraded the native Scanbot iOS SDK to v6.1.1.
- Added gs1-syntax-dictionary lib.
5.1.0 (June 2024) #
- 🎉 New:
- Introduced the redesigned RTU-UI version 2 for enhanced Barcode scanning, featuring advanced agile configuration options. See Ready-to-Use UI for documentation and various use cases.
- Added support for the Micro PDF 417 barcode format.
- Added support for parsing of AAMVA Certificate of Title for motor vehicle barcodes.
- Added a new field
shouldReturnCroppedImageinBarcodeClassicScannerConfigurationfor theBarcodeScannerCameraClassic UI. If set totrue, the result will be returned in thebarcodeImageBase64field of theBarcodeItemmodel. - Launched the new
FindAndPickScanningMode
- 🚀 Improvements:
- Optimized camera preview quality and processing speed for all scanners.
- iOS:
- IMPORTANT: Changed the default rear cameras on all scanners to the triple or dual camera. On some devices with triple camera this results in a different view port (more zoomed in). Please make sure to adapt your zoom ranges and factors.
- Added support of haptic feedback on capable devices.
- Android:
- Changed the touch to focus square in the native camera view to a circle.
- 🐞 Bug fixes:
- Fixed issue with misaligned barcode polygons on some devices with horizontal orientation.
- For BarcodeFormat.PDF_417, a single case to generate clusters was not covered, which led to a crash.
- iOS:
- Fixes a crash with all Classic UI components when energy saving is disabled.
- ⚠️ Breaking Changes:
- Deprecated the Ready to Use UI v1 barcode scanners. Adoption of the RTU UI v2 barcode scanner API is strongly recommended.
- Transitioned the format of barcode result structures from record classes to GenericDocument. This adjustment impacts RTU UI v1 but is standardized across both RTU UI v1 and RTU UI v2.
- Renamed
BarcodeFormat.RSS_14toBarcodeFormat.DATABARandBarcodeFormat.RSS_EXPANDEDtoBarcodeFormat.DATABAR_EXPANDED. - Eliminated the LiveDetector and CameraController classes. All corresponding functionalities are now integrated within the widgets themselves.
- Updated widgets to automatically adjust to configuration changes received by the camera widget constructors.
- 🚙 Under the hood:
- Upgraded the native Scanbot iOS SDK to v5.1.3 (cf. changelog).
- Upgraded the native Scanbot Android SDK to v5.1.0 (cf. changelog).
- Android:
- Updated Kotlin to version 1.9.0.
- jvmTarget = "17".
- Updated 3rd-party libraries:
- libjpeg-turbo to 2.1.5.1
- libpng to 1.6.40
- libtiff to 4.6.0
- added zlib library
- iOS:
- Updated 3rd-party libraries:
- zlib to version 1.3.1
- libtiff to 4.6.0
- libjpeg-turbo to 2.1.5.1
- libpng to 1.6.40.
- Updated 3rd-party libraries:
4.2.1 (May 2024) #
- 🚙 Under the hood:
- iOS:
- Ensured the SDK to use swift 5.0.
- iOS:
4.2.0 (24 April 2024) #
- 🎉 New:
- Added AR Overlay functionality for the Classic Component Barcode Scanner. Please check
BarcodeCameraConfiguration.overlayConfigurationfor more details. - Added new properties to RTU-UI configurations. Please check
BarcodeScannerConfigurationandBatchBarcodeScannerConfigurationfor more details. - Added
GS1_COMPOSITE,MICRO_QR_CODE,USPS_INTELLIGENT_MAIL,ROYAL_MAIL,JAPAN_POST,ROYAL_TNT_POST,AUSTRALIA_POSTandDATABAR_LIMITEDbarcode formats support toBarcodeFormat. - Added
textWithExtensionproperty result inBarcodeItem.
- Added AR Overlay functionality for the Classic Component Barcode Scanner. Please check
- ⚠️ Breaking Changes:
- Changed Android SDK package name. Please change
io.scanbot.barcode.sdk.fluttertoio.scanbot.sdk.flutterinproguard-rules.prorules. - Method
detectOnImageFilewas renamed todetectBarcodesOnImage. - Changed API for detecting barcodes on images. Please check the documentation or example app for more details.
- Removed
BarcodeScannerConfiguration.barcodeImageGenerationTypefor the Classic Component Barcode Scanner.
- Changed Android SDK package name. Please change
- 🚙 Under the hood:
3.6.0 (06 June 2023) #
- 🎉 New:
- Added
BatchBarcodeScannerConfiguration.overlayConfigurationandBarcodeScannerConfiguration.overlayConfigurationto configure the selection overlay UI. - Added
IATA_2_OF_5,INDUSTRIAL_2_OF_5, andCODE_25barcode formats toBarcodeFormat. - Added a mechanism to properly handle the Classic UI lifecycle when closing the app to the background and reopening it with the scanner open.
- Added a mechanism to properly handle the Classic Barcode Scanner UI lifecycle during navigation of the camera in the stack. Please register
MaterialApp(navigatorObservers: [ScanbotCamera.scanbotSdkRouteObserver])in the app root screen. - Added
stopPreview()andresumePreview()methods insideScanbotCameraController.
- Added
- 🚀 Improvements:
- Improved the behavior of Classic UI components for asynchronous communication with the native SDK.
- ⚠️ Breaking Changes:
- Updated the Flutter environment property to
environment: sdk: '>=2.15.0 <3.0.0'. - Removed the
decodeStacks1Dparameter. The decoding of stacked barcodes is now handled automatically. - Renamed
AcceptedDocumentFormatstoBarcodeDocumentFormat. - Removed
finderMinimumPaddingfromFinderConfiguration. - Renamed the
CameraOrientationModeclass toOrientationLockMode. - Renamed the
FinderInsetsclass toInsets. - Changed the type of the
FinderAspectRatiofields:heightandwidthwere changed frominttodouble. - Changed
NextGenandLegacyengine modes toNEXT_GENandLEGACYinEngineMode. - Moved some code for internal reasons - users might need to update their imports:
package:barcode_scanner/common_data.dartwas moved topackage:barcode_scanner/json/common_data.dart.EngineMode,BarcodeImageGenerationType, andFinderAspectRatiowere moved frompackage:barcode_scanner/barcode_scanning_data.darttopackage:barcode_scanner/json/common_data.dart.
- Updated the Flutter environment property to
- 🚙 Under the hood:
3.2.4 (4 Apr 2023) #
- 🚙 Under the hood
- Updated some third party libraries. see Third-party Libraries
- Updated README
3.2.4-beta2 (30 January 2023) #
- 🐞 Bug fixes:
- iOS: Fixed
enableCameraButtonTitleandenableCameraExplanationTextfor Barcode scanner configuration.
- iOS: Fixed
3.2.3 (11 November 2022) #
- 🎉 New:
- Added
FinderInsetsclass for setting the barcode view insets from all four sides (left, top, right and bottom). - Added
finderInsetsproperty of typeFinderInsetsinFinderConfigurationclass. - Added
BarcodeDensityenum for expected density of QR codes. A higher density finds more QR codes in an image but the performance is slightly reduced. - Added
codeDensityproperty of typeBarcodeDensityenum inBarcodeAdditionalParameters. - Android: Added
useButtonsAllCapsbool property inBarcodeScannerConfigurationandBatchBarcodeScannerConfigurationfor buttons to be in ALL CAPS. - Android:
useCameraXdefaults totruewhile initialising the Scanbot SDK.
- Added
- ⚠️ Breaking Changes:
- Removed
PORTRAIT_UPSIDE_DOWN,LANDSCAPE_LEFTandLANDSCAPE_RIGHTfromCamereOrientationModeenum.
- Removed
- 🚙 Under the hood
3.2.2 (23 September 2022) #
- 🐞 Bug fixes:
- Fixed compatibility issue with Kotlin 1.7.10 (build error)
3.2.1 (24 August 2022) #
- 🎉 New:
- Added the ability to replace the cancel button in the top bar with a back arrow icon in
BarcodeScannerandBatchBarcodeScannerRTU-UI (Android only). SeereplaceCancelButtonWithIconinBarcodeScannerConfigurationandBatchBarcodeScannerConfiguration
- Added the ability to replace the cancel button in the top bar with a back arrow icon in
3.2.0 (22 July 2022) #
- 🎉 New:
- Introduced Classical Components for Barcode Scanning that allow you to build your own flexible and fully customizable UI for the barcode scanner. Use the classes
BarcodeScannerCamera,BarcodeCameraLiveDetectorandScanbotCameraControllerto build a custom scanner UI.
- Introduced Classical Components for Barcode Scanning that allow you to build your own flexible and fully customizable UI for the barcode scanner. Use the classes
- ⚠️ Breaking Changes:
- Renamed parameter
gs1DecodingEnabledtoenableGS1DecodinginBarcodeAdditionalParameters - Renamed Disability Certificate to Medical Certificate:
DisabilityCertificateDocumenthas been renamed toMedicalCertificateDocumentDisabilityCertificateDocumentFieldhas been renamed toMedicalCertificateDocumentFieldDisabilityCertificateDocumentFieldTypehas been renamed toMedicalCertificateDocumentFieldType
- Renamed
AAMVAVersionNumbertoaamvaVersionNumberinAAMVADocument - Renamed
GUIDtoguidinDEMedicalPlanDocument
- Renamed parameter
- 🚀 Improvements:
- Improved 1D barcode recognition
- 🚙 Under the hood
3.1.2 (31 May 2022) #
- 🐞 Bug fixes:
- Fixed compatibility issues with Flutter v3.0.1+
3.1.1 (22 March 2022) #
- 🐞 Bug fixes:
- Fixed
LicenseExpirationDate: Invalid date format. - By default, GPU acceleration has been disabled (due to issues on the Samsung S22 series devices). To enable it, use
allowGpuAcceleration: trueinScanbotSdkConfig().
- Fixed
- 🚙 Under the hood
- Upgraded the native Scanbot Android SDK to v3.1.2 (cf. changelog)
- Updated some third party libraries. see Third-party Libraries
3.1.0 (4 Feb 2022) #
- 🎉 New:
- Added the ability to disable auto-focus by locking the lens at the specified lens position. See
minFocusDistanceinBarcodeScannerConfigurationandBatchBarcodeScannerConfiguration - Android: Added
lowPowerModeinBarcodeScannerAdditionalConfigurationforBarcodeScannerConfigurationandBatchBarcodeScannerConfiguration - Android: Added the ability for Scanbot SDK Core native logging! See
enableNativeLogginginScanbotSDKInitializer
- Added the ability to disable auto-focus by locking the lens at the specified lens position. See
- 🚀 Improvements:
- Improved Aztec barcode recognition.
- Improved PDF417 recognition performance on single photos.
- Improved barcode detection on large documents.
- Improved GS-1 databar recognition in the next-gen barcode scanner.
- 🚙 Under the hood
3.0.2 (23 Dec 2021) #
- 🎉 New:
- Added Document Format filters for Barcode Detection. See
acceptedDocumentFormatsinBarcodeScannerConfiguration,BatchBarcodeScannerConfigurationanddetectFromImageFile - Android: Added support for GPU and Xnnpack acceleration, and the possibility to use the Camera X module! See
allowGpuAcceleration,allowXnnpackAccelerationanduseCameraXRtuUiinScanbotSDKInitializer - Added support for
stripCheckDigitsandmsiPlesseyChecksumAlgorithmsinBarcodeAdditionalParameters
- Added Document Format filters for Barcode Detection. See
- ⚠️ Breaking Changes:
- Renamed parameter
enableGS1Decodingtogs1DecodingEnabledinBarcodeAdditionalParameters - In function
detectFromImageFile,barcodeFormatsparameter is changed from a positional parameter to an optional named parameter
- Renamed parameter
- 🚀 Improvements:
- Significant performance improvements for all scanners
- 🐞 Bug fixes:
- Barcode Scanner RTU-UI now returns
BarcodeScanningResult.canceled()instead of an error, when the user cancels the RTU-UI
- Barcode Scanner RTU-UI now returns
- 🚙 Under the hood
3.0.1 #
- 🎉 New:
- iOS: Added support for Apple Silicon M1 simulators. Your app now will run natively on M1 Mac simulators without having to start Xcode in Rosetta 2 mode
- ⚠️ Breaking Changes:
- iOS: The
ScanbotBarcodeScannerSDKCocoaPod now contains an XCFramework instead of a standard framework, you may need to update CocoaPods and/or Xcode
- iOS: The
- 🚙 Under the hood
- Updated the native iOS Barcode Scanbot SDK to 3.0.1
3.0.0 #
- 🎉 New:
- Brand new "Next Generation" machine-learning-based barcode scanning engine with improved reliability and much faster performance
- API changes for the new barcode engine: added
engineModeproperty of typeEngineModeon barcode scanning APIs -BarcodeScannerConfigurationandBatchBarcodeScannerConfigurationto switch between the legacy barcode engine and the new Next Generation barcode engine. By default, the new engine is used. - Added the new
cameraZoomFactorproperty inBarcodeScannerConfigurationfor configuring the zoom level of the camera. - Encryption for images generated by the SDK. For more details please check out the section "Storage Encryption" of the documentation.
- Added support for MSI Plessey barcodes.
- Added
additionalParametersproperty toBarcodeScannerConfigurationandBatchBarcodeScannerConfiguration, which lets you setup a minimum and maximum text length as well as a quiet zone. Currently works for ITF barcodes only.
- 🚙 Under the hood
- Updated the native iOS Barcode Scanbot SDK to 3.0.0
- Updated the native Android Barcode Scanbot SDK to 3.0.1
- ⚠️ Breaking Changes:
- Removed
enableHighSensitivityModeproperty fromBarcodeScannerConfigurationandBatchBarcodeScannerConfiguration, because it is no longer needed
- Removed
1.2.0 #
-
🎉 New:
- Introduced null safety support for the SDK.
-
⚠️ Breaking Changes:
- Because of the null safety support, please check compilation issues and warnings from
flutter analyzecommand - Updated minimum Dart SDK to v2.12.0-0 and Flutter to v2.0.1
- Because of the null safety support, please check compilation issues and warnings from
1.1.0 #
- 🎉 New:
- Batch Barcode Scanner - a new RTU UI screen component to scan multiple barcodes in a row. See the new API function startBatchBarcodeScanner.
- Added a new config property autoCancelTimeout for the Barcode Scanner UI. It provides the possibility to set a timeout value in seconds for auto-closing/cancellation of the Barcode Scanner UI. New result field BarcodeItem.rawBytes that contains the raw bytes from the scanned barcode
- ⚠️ Breaking Changes:
- Replaced
finderAspectRatioparameter withfinderWidthandfinderHeightinBarcodeScannerConfiguration
- Replaced
- 🚙 Under the hood:
- Updated the native Android Scanbot Barcode Scanner SDK to 1.3.2
- Updated the native iOS Scanbot Barcode Scanner SDK to 1.8.4
1.0.1 #
- Improved
pubspec.yaml, adjusted supported platforms.
1.0.0 #
- 🎉 First release
0.9.0-rc.4 #
- RC4
0.9.0-rc.3 #
- RC3
0.9.0-rc.2 #
- RC2
0.9.0-rc.1 #
- RC1