scanbot_sdk 2.13.0-alpha07 scanbot_sdk: ^2.13.0-alpha07 copied to clipboard
Flutter plugin of the Scanbot Scanner SDK for Android and iOS. Provides functionality like Document Scanning, QR and Barcode Scanning, PDF Creation, TIFF, OCR, etc.
2.13.0 (20 July 2023) #
- 🎉 New:
- Added
onCameraPreviewStarted
callback to custom components to get notified when the camera preview is started. It also runs each time the preview restarts after the picture is taken (Android) - Changed behavior of
onWidgetReady
callback in custom camera components. Now it's called when the camera widget is initialized and ready to use. This happens not only once when the widget is created but also when the app returns to the foreground and the user pops to the camera page from another page, ifScanbotCamera.scanbotSdkRouteObserver
is registered.
- Added
- 🐞 Bug fixes:
- Fixed bug with
ScanbotSdk.refreshImageUris
method on Android. Now it renews uris properly. ScanbotCroppingWidget
now properly reacts to thePage
object changes. If you change page to the new one with new id, it will reset its content and cropping state to new one.
- Fixed bug with
- ⚠️ Breaking Changes:
- Refactored the structure of ALL RTU-UI scanners configuration classes. Please check example app and documentation for more details.
- Refactored the way we process and return the data for the Generic Document Scanner and MRZ Scanner. The structure of the result classes for the both scanners are changed to support the
GenericDocument
structure. Same as native sdk's. Please check example app and documentation for more details. - Refactored imports structure inside the scanbot_sdk. Please replace all scanbot_sdk related imports to
import 'package:scanbot_sdk/scanbot_sdk.dart';
in your code. For imports with the prefixes please useimport 'package:scanbot_sdk/scanbot_sdk.dart' as ScanbotSdk;
. Please check example app and documentation for more details.
- 🚙 Under the hood:
2.12.1 (9 June 2023) #
- 🐞 Bug fixes:
- Fixed a crash in the iOS Classic components for when the scanners were closed multiple times.
2.12.0 (5 May 2023) #
- 🎉 New:
- Added
IATA_2_OF_5
,INDUSTRIAL_2_OF_5
andCODE_25
barcodes format toBarcodeFormat
.
- Added
- 🚀 Improvements:
- Improved behavior of classic ui components for asynchronous communication with the native SDK.
- ⚠️ Breaking Changes:
- Changed structure of
MedicalCertificateRecognizerResult
:MedicalCertificateInfoBox
type splitted intoMedicalCertificatePatientInfoField
andMedicalCertificateCheckBox
.McPatientInfoField
renamed toMedicalCertificatePatientInfoField
.McInfoBoxSubType
renamed toMedicalCertificateCheckBoxType
.McPatientInfoFieldType
renamed toMedicalCertificatePatientInfoFieldType
.MedicalCertificateInfoBox.patientInfoFields
property now available asMedicalCertificateInfoBox.patientInfoBox.patientInfoFields
.DateRecord.validationConfidenceValue
removed.
- Removed parameter
decodeStacks1D
. The decoding of stacked barcodes is now handled automatically.
- Changed structure of
- 🚙 Under the hood:
2.11.1 (4 Apr 2023) #
- 🚙 Under the hood
- Updated some third party libraries. see Third-party Libraries
- Updated README
2.11.0 (27 March 2023) #
- 🎉 New:
- Introduced Classical Components for the Medical Certificate Scanner that allow you to build your own flexible and fully customizable UI for Scanning German Medical Certificates. Use the classes
MedicalCertificateScannerCamera
andScanbotCameraController
to build a custom document scanner UI. - Added
camera.stopPreview()
andcamera.resumePreview()
methods. - 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 classical scanner lifecycle during the navigation of camera in stack. Please register
MaterialApp(navigatorObservers: [ScanbotCamera.scanbotSdkRouteObserver])
in the app root screen.
- Introduced Classical Components for the Medical Certificate Scanner that allow you to build your own flexible and fully customizable UI for Scanning German Medical Certificates. Use the classes
- 🚙 Under the hood:
2.10.1 (20 January 2023) #
- 🎉 New:
- Introduced Classical Components for Cropping Page that allow you to build your own flexible and fully customizable UI for cropping Page Objects. Use the classes
ScanbotCroppingWidget
andCroppingController
to build a custom cropping UI.
- Introduced Classical Components for Cropping Page that allow you to build your own flexible and fully customizable UI for cropping Page Objects. Use the classes
- ⚠️ Breaking Changes:
- Renamed
DetectionResult
toDetectionStatus
- Renamed
FinderInsets
toInsets
- Renamed
- 🐞 Bug fixes:
- Fixed
enableCameraButtonTitle
andenableCameraExplanationText
in EHIC and MRZ Scanners - Fixed image saving for classical document scanner on android
- Fixed
2.10.0 (17 November 2022) #
- 🎉 New:
- Introduced Classical Components for Document Scanning that allow you to build your own flexible and fully customizable UI for the document scanner. Use the classes
DocumentScannerCamera
,DocumentCameraLiveDetector
, andScanbotCameraController
to build a custom document scanner UI. - Added
GS1
barcode document toBarcodeDocumentFormat
.
- Introduced Classical Components for Document Scanning that allow you to build your own flexible and fully customizable UI for the document scanner. Use the classes
- ⚠️ Breaking Changes:
- Changed file location of Barcode Scanner and Batch Barcode Scanner related classes.
- Renamed
AcceptedDocumentFormat
toBarcodeDocumentFormat
- Renamed
CameraOrientationMode
toOrientationLockMode
- 🚙 Under the hood:
2.9.1 (28 September 2022) #
- 🐞 Bug fixes:
- Fixed compatibility issue with Xcode 14 (build error)
2.9.0 (22 June 2022) #
- 🎉 New:
- Introduced Classical Components for Barcode Scanning that allow you to build your own flexible and fully customizable UI components.
BarcodeScannerCamera
,BarcodeCameraLiveDetector
andScanbotCameraController
to build a custom Barcode and QR-Code scanning.
- Introduced Classical Components for Barcode Scanning that allow you to build your own flexible and fully customizable UI components.
- 🚀 Improvements:
- Improved 1D barcode recognition
- 🚙 Under the hood:
2.8.3 (31 May 2022) #
- 🚀 Improvements:
- Updated README
2.8.2 (31 May 2022) #
- 🐞 Bug fixes:
- Fixed compatibility issues with Flutter v3.0.1+
2.8.1 (16 March 2022) #
- 🐞 Bug fixes:
- Fixed
LicenseExpirationDate
: Invalid date format.
- Fixed
2.8.0 (8 March 2022) #
- 🎉 New:
- Introduced the
Generic Document Recognizer
, providing the ability to scan various types of documents, includingGerman ID cards
,German passports
andGerman driver's licenses
- Added
detectBarcodesOnImages
inScanbotSdk
for detecting barcodes on multiple still images. - Android: Added
useCameraX
inScanbotSdkConfig
. You can now enable CameraX under the hood. - Android: Added
allowXnnpackAcceleration
inScanbotSdkConfig
which allows controlling whether the XNN pack optimizations should be used. - Android: Added
allowGpuAcceleration
inScanbotSdkConfig
which enables GPU acceleration for TensorFlow ML models. - Added the ability to disable auto-focus by locking the lens at the specified lens position. See
minFocusDistance
inBarcodeScannerConfiguration
andBatchBarcodeScannerConfiguration
- Introduced the
- 🚀 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.
- 🐞 Bug fixes:
- Fixed
LicenseExpirationDate
returning the incorrect time.
- Fixed
- ⚠️ Breaking Changes:
- Renamed
detectBarcodeFromImageFile
parameter todetectBarcodesOnImage
- Renamed
- 🚙 Under the hood:
2.7.0 (3 Dec 2021) #
- 🎉 New:
- Added
createPageFromBytes
function to create a page object without storing a temporary image file outside the SDK - Added support for
AcceptedDocumentFormats
inBarcodeScannerConfiguration
,BatchBarcodeScannerConfiguration
anddetectBarcodeFromImageFile
- Added
- 🚀 Improvements:
- Significant performance improvements for all scanners
- 🚙 Under the hood
- 🐞 Bug fixes:
- Fixed
CroppingResult.error()
return forCroppingResult
object in the page cropping component
- Fixed
2.6.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. - Added support for MSI Plessey barcodes.
- 🚙 Under the hood
- ⚠️ Breaking Changes:
- Removed
enableHighSensitivityMode
property onBarcodeScanner
, because it is no longer needed
- Removed
2.5.0 #
2.4.1 #
- 🐞 Bug fixes:
- iOS: Fixed a mapping issue of the config parameter
flashButtonHidden
in the Document Scanner.
- iOS: Fixed a mapping issue of the config parameter
2.4.0 #
- 🎉 New:
- Add null safety support for the SDK.
- ⚠️ Breaking Changes:
- Due to null safety support update please follow compilation issues and warnings from 'flutter analyze' command
- Updated minimum dart sdk to
2.12.0-0
and flutter to2.0.1
2.3.0 #
- 🎉 New:
- Encryption for images, PDF, and TIFF files, generated by the SDK. For more details please check out the section "Storage Encryption" of the documentation.
- Blur estimation feature. See the new API function
estimateBlurOnPage
.
- 🐞 Bug fixes:
- iOS: Multiple UI fixes for barcode scanners.
- 🚙 Under the hood:
2.2.2 #
- ⚠️ Breaking Changes:
- Android compileSdkVersion is set to 30
- Increase flutter min support version to 1.22.6
- 🐞 Bug fixes:
- Fix compilation for compileSdkVersion 30 for android
2.2.1 #
- 🐞 Bug fixes:
- Added missing permission text properties
enableCameraButtonTitle
andenableCameraExplanationText
toDocumentScannerConfiguration
- Added missing permission text properties
2.2.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 barcode detection from still images, see
detectBarcodeFromImageFile
. - New result field
BarcodeItem.rawBytes
that contains the raw bytes from the scanned barcode.
- Batch Barcode Scanner - a new RTU UI screen component to scan multiple barcodes in a row.
See the new API function
- ⚠️ Breaking Changes:
- Replaced
finderAspectRatio
parameter withfinderWidth
andfinderHeight
inBarcodeScannerConfiguration
andMrzScannerConfiguration
.
- Replaced
- 🚙 Under the hood:
2.1.0 #
- 🐞 Bug fixes:
- iOS: Introduced a new API method
refreshImageUris(pages)
to fix image file paths after app updates. For more details please check out the section "Persistence of Page Objects" of the documentation. - iOS: Fixed de-/serialization of the property
Page.detectionStatus
.
- iOS: Introduced a new API method
2.0.1 #
- 🚀 Improvements:
- iOS: Swift 5 support
2.0.0 #
- 🎉 New:
- A new Machine Learning based approach for document detection. See the new SDK initialization parameter
documentDetectorMode
. - Barcode Scanner: Added barcode data parsers for several document types. See the new result field
BarcodeItem.formattedResult
as well as the corresponding implementations ofBarcodeFormattedResult
.
- A new Machine Learning based approach for document detection. See the new SDK initialization parameter
- 🚀 Improvements:
- Android: Some big improvements in the Document Scanner UI that make document scanning perform better and much smoother. Increased start-up time of the camera preview. Faster saving of the snapped pages. Optimized performance of the image processing for simple operations (rotate, crop, resize).
- Barcode Scanner: Multi-barcode scan support!
- ⚠️ Breaking Changes:
- Android: Migrated to Android embedding v2
- Android: Raised
minSdkVersion
to21
- iOS: Dropped support for iOS 9 and iOS 10!
- 🚙 Under the hood:
1.1.4 #
- 🚀 Improvements:
- iOS: Changed presenter logic for all Scanbot SDK RTU UI screens.
1.1.3 #
- 🐞 Bug fixes:
- iOS: Fixed a mapping issue of the config parameter
doneButtonTitle
in Cropping UI.
- iOS: Fixed a mapping issue of the config parameter
1.1.2 #
- 🚀 Improvements:
OperationResult.CANCELED
when the user pressescancel
in any Scanbot UI screen component.
1.1.1 #
- 🐞 Bug fixes:
- Android: Fixed a bug with mappings of OCR language data files
(
zh-Hans
andzh-Hant
tochi_sim.traineddata
andchi_tra.traineddata
).
- Android: Fixed a bug with mappings of OCR language data files
(
1.1.0 #
- 🎉 New:
- Added further TIFF options
dpi
andcompression
. SeecreateTiff(pages, options)
.
- Added further TIFF options
- 🚀 Improvements:
- Improved OCR API. The OCR results contain now bounding boxes and values of recognized words, lines and paragraphs.
See the API docs of
OcrResult.pages
for more details.
- Improved OCR API. The OCR results contain now bounding boxes and values of recognized words, lines and paragraphs.
See the API docs of
- 🐞 Bug fixes:
- iOS: Fixed file URI handling in the native implementation of the
createPage()
method.
- iOS: Fixed file URI handling in the native implementation of the
1.0.0 #
- 🎉 First release
0.9.0-beta.7 #
- Beta version
0.9.0-beta.6 #
- First beta version