barcode_scanner 3.6.0-alpha4 barcode_scanner: ^3.6.0-alpha4 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.
3.6.0 #
- 🎉 New:
- Added
BatchBarcodeScannerConfiguration.overlayConfiguration
andBarcodeScannerConfiguration.overlayConfiguration
to configure the selection overlay UI. - Added
IATA_2_OF_5
,INDUSTRIAL_2_OF_5
andCODE_25
barcodes format toBarcodeFormat
. - Added mechanism to properly handle classical scanner lifecycle on closing app to the background and back when the scanner is open.
- Added mechanism to properly handle the classical barcode scanner lifecycle during the navigation of camera in stack. Please register MaterialApp(navigatorObservers: [ScanbotCamera.scanbotSdkRouteObserver]) in the app root screen.
- Added
stopPreview()
andresumePreview()
methods insideScanbotCameraController
.
- Added
- 🚀 Improvements:
- Improved behavior of classic ui components for asynchronous communication with the native SDK.
- ⚠️ Breaking Changes:
- Bumped Flutter environment property to
environment: sdk: '>=2.15.0 <3.0.0'
. - Removed parameter
decodeStacks1D
. The decoding of stacked barcodes is now handled automatically. - Renamed
AcceptedDocumentFormats
toBarcodeDocumentFormat
. - Removed
finderMinimumPadding
fromFinderConfiguration
. - Renamed
CameraOrientationMode
class toOrientationLockMode
. - Renamed
FinderInsets
class toInsets
. - Changed
FinderAspectRatio
fields type:height
andwidth
were of typeint
but becamedouble
. - Changed
NextGen
andLegacy
engine mode toNEXT_GEN
andLEGACY
inEngineMode
. - Moved some code for internal reasons - users might need to update their imports:
package:barcode_scanner/common_data.dart
was moved topackage:barcode_scanner/json/common_data.dart
.EngineMode
,BarcodeImageGenerationType
andFinderAspectRatio
moved frompackage:barcode_scanner/barcode_scanning_data.dart
topackage:barcode_scanner/json/common_data.dart
.
- Bumped 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
enableCameraButtonTitle
andenableCameraExplanationText
for Barcode scanner configuration.
- iOS: Fixed
3.2.3 (11 November 2022) #
- 🎉 New:
- Added
FinderInsets
class for setting the barcode view insets from all four sides (left, top, right and bottom). - Added
finderInsets
property of typeFinderInsets
inFinderConfiguration
class. - Added
BarcodeDensity
enum for expected density of QR codes. A higher density finds more QR codes in an image but the performance is slightly reduced. - Added
codeDensity
property of typeBarcodeDensity
enum inBarcodeAdditionalParameters
. - Android: Added
useButtonsAllCaps
bool property inBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
for buttons to be in ALL CAPS. - Android:
useCameraX
defaults totrue
while initialising the Scanbot SDK.
- Added
- ⚠️ Breaking Changes:
- Removed
PORTRAIT_UPSIDE_DOWN
,LANDSCAPE_LEFT
andLANDSCAPE_RIGHT
fromCamereOrientationMode
enum.
- 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
BarcodeScanner
andBatchBarcodeScanner
RTU-UI (Android only). SeereplaceCancelButtonWithIcon
inBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
- 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
,BarcodeCameraLiveDetector
andScanbotCameraController
to 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
gs1DecodingEnabled
toenableGS1Decoding
inBarcodeAdditionalParameters
- Renamed Disability Certificate to Medical Certificate:
DisabilityCertificateDocument
has been renamed toMedicalCertificateDocument
DisabilityCertificateDocumentField
has been renamed toMedicalCertificateDocumentField
DisabilityCertificateDocumentFieldType
has been renamed toMedicalCertificateDocumentFieldType
- Renamed
AAMVAVersionNumber
toaamvaVersionNumber
inAAMVADocument
- Renamed
GUID
toguid
inDEMedicalPlanDocument
- Renamed parameter
- 🚀 Improvements:
- Improved 1D barcode recognition
- 🚙 Under the hood
- Upgraded the native Scanbot Android SDK to v3.2.2 (cf. changelog)
- Upgraded the native Scanbot iOS SDK to v3.2.2 (cf. changelog)
- Updated some third party libraries. see Third-party Libraries
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: true
inScanbotSdkConfig()
.
- 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
minFocusDistance
inBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
- Android: Added
lowPowerMode
inBarcodeScannerAdditionalConfiguration
forBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
- Android: Added the ability for Scanbot SDK Core native logging! See
enableNativeLogging
inScanbotSDKInitializer
- 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
- Upgraded the native Scanbot Android SDK to v3.1.0 (cf. changelog)
- Upgraded the native Scanbot iOS SDK to v3.1.1 (cf. changelog)
- Updated some third party libraries. see Third-party Libraries
3.0.2 (23 Dec 2021) #
- 🎉 New:
- Added Document Format filters for Barcode Detection. See
acceptedDocumentFormats
inBarcodeScannerConfiguration
,BatchBarcodeScannerConfiguration
anddetectFromImageFile
- Android: Added support for GPU and Xnnpack acceleration, and the possibility to use the Camera X module! See
allowGpuAcceleration
,allowXnnpackAcceleration
anduseCameraXRtuUi
inScanbotSDKInitializer
- Added support for
stripCheckDigits
andmsiPlesseyChecksumAlgorithms
inBarcodeAdditionalParameters
- Added Document Format filters for Barcode Detection. See
- ⚠️ Breaking Changes:
- Renamed parameter
enableGS1Decoding
togs1DecodingEnabled
inBarcodeAdditionalParameters
- In function
detectFromImageFile
,barcodeFormats
parameter 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
- Upgraded the native Scanbot Android SDK to v3.0.6 (cf. changelog)
- Upgraded the native Scanbot iOS SDK to v3.0.3 (cf. changelog)
- Updated some third party libraries. see Third-party Libraries
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
ScanbotBarcodeScannerSDK
CocoaPod 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
engineMode
property of typeEngineMode
on barcode scanning APIs -BarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
to switch between the legacy barcode engine and the new Next Generation barcode engine. By default, the new engine is used. - Added the new
cameraZoomFactor
property inBarcodeScannerConfiguration
for 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
additionalParameters
property toBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
, 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
enableHighSensitivityMode
property fromBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
, 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 analyze
command - 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
finderAspectRatio
parameter withfinderWidth
andfinderHeight
inBarcodeScannerConfiguration
- 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