7.0.0
Released: November 29, 2024
New Features
Scandit's Smart Data Capture SDK v7.0 addresses the industry's toughest scanning challenges with innovative solutions at every layer. Our enhanced scanning engine is context-aware, understanding both the environment and user needs. This results in smoother integrations, a richer user experience, and improved scanning performance without compromising flexibility.
Version 7.0 also offers increased versatility by supporting multiple input formats including text and barcodes.
SparkScan, our flagship barcode scanning product, embodies the full potential of v7.0 with its versatile user interface coupled with a robust, out-of-the-box scanning engine. SparkScan's success is a testament to our commitment to delivering seamless, high-performance camera-based scanning solutions.
Barcode
- SparkScan introduces a completely redesigned user interface, enhancing ergonomics with a simplified API and in-demand customization options. These updates make SparkScan even more versatile, seamlessly integrating with various use cases and blending smoothly into any existing workflow and UI. See the migration guide for more details.
- Added the
remove_delimiter_data
extension to the CODABAR symbology.
Core
- Added the following API for fetching all Open Source Software (OSS) license text and attributions for all OSS used by the Scandit SDK.
DataCaptureContext.openSourceSoftwareLicenseInfo()
ID
We’ve completely redesigned the ID Capture API to streamline document capture and validation. The latest version introduces enhanced configuration options and improved result structures for an intuitive integration experience. These include:
- Easily configure which documents you capture using
IdCaptureSettings.acceptedDocuments
andIdCaptureSettings.rejectedDocuments
. Choose entire document classes or refine selections by specific countries for precise control. - Use
IdCaptureSettings.scannerType
to specify which document sections are relevant for your capture process. - With just two callbacks —
IdCaptureListener.onIdCaptured
for success andIdCaptureListener.onIdRejected
for rejection — it's straightforward to understand outcomes and define next steps, making the API simpler and more intuitive. - Access key aggregated data at the top level of
CapturedId
or retrieve details from specific document parts, such asCapturedId.visualInspectionZone
,CapturedId.machineReadableZone
, andCapturedId.barcode
. - Retrieve document images, including the complete frame, through
CapturedId.images
.
Performance Improvements
- Improved tracking of 1D barcodes that are horizontally aligned.
- MatrixScan Count’s tracking robustness is improved with quick recovery of tracking failures.
Breaking Changes
Barcode
- The MatrixScan API (
BarcodeTracking
) has been renamed toBarcodeBatch
. All classes have been renamed accordingly (e.g.BarcodeTrackingListener
→BarcodeBatchListener
).
Behavioral Changes
- The NPM package scope for all Scandit packages has been changed to
@scandit/web-datacapture-*
. - The Parser is now a standalone NPM package as opposed to being bundled with the Barcode package.
- Model files now have the file extension set to .model for easier web serving.
- The engine library location has been changed from
build/engine
tosdc-lib
. - Feedback resources (e.g. audio files for beep) are now only loaded when needed. Additionally, the asset sizes have been optimized.
- The CSS templates bundled are now minified.
Bug Fixes
- Fixed an issue with the camera switch control widget when switching to/from Standby mode.
Deprecations
In 7.0, we removed all APIs that were deprecated during the lifetime of 6.0. Before migrating to 7.0, we suggest upgrading to 6.28, fixing all deprecation warnings and then upgrading to 7.0.
Barcode
The following SparkScan APIs have been deprecated in 7.0:
SparkScanView.TorchButtonVisible
SparkScanView.StopCapturingText
SparkScanView.StartCapturingText
SparkScanView.ResumeCapturingText
SparkScanView.ScanningCapturingText
SparkScanView.CaptureButtonBackgroundColor
SparkScanView.CaptureButtonActiveBackgroundColor
SparkScanView.CaptureButtonTintColor
ID
The legacy ID Capture UI has been removed in 7.0. If you are using the legacy UI, you must migrate to the new ID Capture API.