Changelog | iOS Barcode Scanner
tip
For additional details about the API, please refer to our API reference documentation.
Version 6.1.1 (28 November 2024):
- 🐞 Bug fixes:
- Fixes a crash in scanners when setting the same
minZoom
andmaxZoom
inSBSDKZoomRange
.
- Fixes a crash in scanners when setting the same
Version 6.1.0 (7 November 2024):
- 🎉 New:
- Added a new property
hardwareButtonsEnabled
that enables snapping from the hardware volume buttons and the new hardware camera control button toSBSDKBarcodeScanAndCountViewController
, available on iOS 17.2 and later. - Added new zoom control slider controlled by the new camera control button on all view controllers, available on all the new iPhone 16 models.
- Added a new property
allowEmptySubmission
toSBSDKUI2MultipleScanningMode
.
- Added a new property
- 🐞 Bug fixes:
- Fixed KANJI mode for QR codes.
- Fixed a bug with wrong raw bytes returned for some 2D barcode types.
- ⚠️ Breaking Changes:
- Replaced the buggy initializer
init?(json: Data)
inSBSDKUI2BarcodeScannerConfiguration
by the static functionSBSDKUI2BarcodeScannerConfiguration.fromJson(json: String)?
.
- Replaced the buggy initializer
Version 6.0.0 (22 October 2024):
- 🎉 New:
- Added new property
addAdditionalQuietZone
toSBSDKBarcodeAdditionalParameters
. - Added new property
postalTypes
toSBSDKBarcodeType
.
- Added new property
- 🚀 Improvements:
- The AR-overlay in
SBSDKUI2FindAndPickScanningMode
is now visible by default. - For CODE_128 and ITF, we improved the recognition of barcodes generated by defective thermal printers that do not print certain black bars correctly.
- The AR-overlay in
- 🐞 Bug fixes:
- Fixed a bug in RTU-UI v2 Barcode Scanner where extended barcodes are displayed along with their non-extended versions.
- Fixed a UI issue in the RTU-UI v2 Barcode Scanner where a title that was too long would cut off the cancel button.
- Fixed a UI issue in the RTU-UI v2 Find & Pick scanner in
button
sheet mode where the counter badge was not visible. - Fixed a bug that did not mirror the front camera as expected.
- Fixed a bug in
SBSDKUI2SingleScanDialogModelProvider
where the default displayed texts were not correct.
Version 5.2.1 (24 July 2024):
- 🚀 Improvements:
- Made the SwiftUI Barcode Scanner more flexible. See
SBSDKUI2BarcodeScannerView
.
- Made the SwiftUI Barcode Scanner more flexible. See
- 🐞 Bug fixes:
- Fixed a UI issue on the RTU-UI V2 barcode sheet screen where the subtitle label was being vertically cut off.
- Fixed a UI issue on the RTU-UI V2 barcode confirmation sheet in the single use case where the loading indicator was not centered when the loading message was hidden.
- ⚠️ Breaking Changes:
- Changed SwiftUI Barcode Scanner initializer to accept blocks instead of binding vars. See
SBSDKUI2BarcodeScannerView
.
- Changed SwiftUI Barcode Scanner initializer to accept blocks instead of binding vars. See
Version 5.2.0 (26 June 2024):
- 🎉 New:
- Added support for new barcode types Maxicode, rMQR code, Code 11 and Code 32.
- Added properties
australiaPostCustomerFormat
,useIATA2OF5Checksum
anduseCode11Checksum
toSBSDKBarcodeAdditionalParameters
andSBSDKUI2BarcodeRecognizerConfiguration
.
- 🚀 Improvements:
- Improved detection of UPC and EAN extensions.
- Added support for Extended Channel Interpretation (ECI) for Datamatrix and Aztec.
- Improved GS1 string handling with new modes for decoding and validation. See
SBSDKGS1Handling
. - Added the ability to display the scanned barcode's image in the FindAndPick usecase of
SBSDKUI2BarcodeScannerViewController
by specifyingSBSDKUI2ExpectedBarcode.barcodeImageKey
for the expected barcode'simage
property.
- 🐞 Bug fixes:
- Fixed a bug in the FindAndPick usecase of
SBSDKUI2BarcodeScannerViewController
that never showed the expected barcode's title, but always the barcode value.
- Fixed a bug in the FindAndPick usecase of
- ⚠️ Breaking Changes:
- Removed enum
SBSDKBarcodeDensity
. - Removed property
codeDensity
fromSBSDKBarcodeAdditionalParameters
. - Removed enum values
validate
anddecode
fromSBSDKGS1Handling
and replaced them bydecodeStructure
,decodeFull
,validateStructure
andvalidateFull
.
- Removed enum
Version 5.1.3 (26 June 2024):
- 🚀 Improvements:
- Improved detection of UPC/EAN barcode extensions in live mode.
- The barcode scanner now supports transposed (mirrored/flipped) Aztec barcodes.
- 🐞 Bug fixes:
- Fixes a bug in
SBSDKUI2Color
where settingisArgb
to true, resulted in a wrong color.
- Fixes a bug in
Version 5.1.1 (6 June 2024):
- 🐞 Bug fixes:
- Fixes a crash with all Classic UI components when energy saving is disabled.
- Fixes a bug in
SBSDKUI2BarcodeScannerViewController
in single scan mode that prevented the barcode scanner from pausing the recognition while the submit dialog is shown.
Version 5.1.0 (21 May 2024):
- 🎉 New:
- Added new property
regularExpressionPattern
toSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
to limit detection results. - Added support of the new 'Find and Pick' barcode scanning mode, see
SBSDKUI2FindAndPickScanningMode
. - Added support for continuous scanning in
SBSDKUI2BarcodeScannerViewController
. - Added Swift structured concurrency API (async/await) to
SBSDKUI2BarcodeScannerViewController
. - Added support for new barcode type
SBSDKBarcodeTypeMicroPdf417
. - Added a new class
SBSDKBarcodeDocumentConstants
which has all the constants related to the barcode document format. - Added new classes for all the barcode document formats. See the API documentation for more details.
- Added a new class
SBSDKBarcodeDocumentRootType
which replaces the oldSBSDKBarCodeScannerDocumentFormat
. - Added a new struct
SBSDKUI2BarcodeScannerView
which is the SwifUI wrapper forSBSDKUI2BarcodeScannerViewController
. - Added possibility to inject an image to simulate a video stream and a captured image to any scanner's camera session for UI testing. See
Scanbot.testData
,SBSDKTestData
andSBSDKSimulatedCameraMockData
. - Added
isCameraFrozen
property toSBSDKBaseScannerViewController
. - Added new static properties
allFormats
,commonFormats
,oneDFormats
andtwoDFormats
toSBSDKUI2BarcodeFormat
. - Added new class
SBSDKUI2BarcodeTextLocalization
and new propertylocalization
toSBSDKUI2BarcodeScannerConfiguration
to support localized strings. - Added support for parsing of AAMVA Certificate of Title for motor vehicle barcodes.
- Added new property
- 🚀 Improvements:
- 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.
- Improved image quality and capture speed on most iOS devices slightly by capturing HEIF images.
- Added support of haptic feedback on capable devices.
SBSDKPDFPagesExtractor
functions now create the output directory if it doesn't exist yet.- Added support for structured logging (OSLog) to the SDK (iOS 14+).
- 🐞 Bug fixes:
- Fixes a bug with the asynchronous functions of
SBSDKPDFPagesExtractor
which returned an empty array of image URLs. - Fixes a UI bug in the
SBSDKUI2BarcodeScannerViewController
. - Fixed JSON representation of
SBSDKUI2BarcodeItem
.
- Fixes a bug with the asynchronous functions of
- ⚠️ Breaking Changes:
- Important: The default rear camera in all scanners has been changed from the ultra-wide or wide camera to the triple or dual camera.
- Renamed function
captureJPEGStillImage
tocaptureStillImage
inSBSDKBaseScannerViewController
(and all subclasses) andSBSDKCameraSession
. - Renamed function
captureOutput(_ output:, didOutput:, from:)
tocameraSession(_ session:, didOutput:)
in protocolSBSDKCameraSessionDelegate
. - Replaced the class
SBSDKBarcodeDocumentType
bySBSDKBarcodeDocumentRootType
. - Renamed
supportedBarcodesTypes(for:)
tosupportedBarcodeTypes(for:)
in the new classSBSDKBarcodeDocumentRootType
. - Removed the protocol
SBSDKBarCodeScannerDocumentFormat
and all of its children classes. - Removed default properties of use cases in
SBSDKUI2BarcodeUseCase
, now use the proper initializer for every use case, e.g.SBSDKUI2SingleScanningMode()
. - Made the property
type
inSBSDKUI2BarcodeItem
optional. - Changed type of property
rawBytes
from [UInt8] to Data.
- 🚙 Under the hood:
- Added third-party library libzueci version 1.0.0
Version 5.0.4 (27 March 2024):
- 🐞 Bug fixes:
- Fixes a bug where barcode results formattedResult returned nil instead of the correct barcode document.
Version 5.0.3 (21 March 2024):
- 🐞 Bug fixes:
- Changed privacy manifest to comply with the latest Apple specs.
Version 5.0.2 (15 March 2024):
- 🐞 Bug fixes:
- Fixes a problem that slowed down still image capturing on some older iOS devices.
- 🚀 Improvements:
- Improved speed and image quality of still image capturing.
Version 5.0.1 (12 March 2024):
- 🐞 Bug fixes:
- Fixed a critical bug in the camera session causing still images to be captured at a lower than expected resolution.
Version 5.0.0 (1 March 2024):
- 🎉 New:
- Added new RTU-UI V2 component, see
SBSDKUI2BarcodeScannerViewController
. - Added the
SBSDKFinderView.Style
enum and the propertystyle
that defines the drawing styles of the finder view toSBSDKFinderView
andSBSDKBaseScannerViewFinderConfiguration
. - Added the
viewFinderStyle
property toSBSDKBaseScannerViewController
. - Added streaming encryption support to
SBSDKStorageCrypting
. - Added Privacy manifest file (
PrivacyInfo.xcprivacy
) to the SDK. - Added new static property
maximumRecommendedImageSize
toSBSDKDeviceInformation
. - Added new function
resetAccumulation
toSBSDKBarcodeScannerViewController
.
- Added new RTU-UI V2 component, see
- ⚠️ Breaking Changes
- Deprecated
SBSDKUIBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerViewController
along with their related classes. Please consider switching to the newSBSDKUI2BarcodeScannerViewController
. - Changed
isLicenseValid
,licenseStatus
from functions to variables inScanbot
class. - Changed
defaultImageStoreEncrypter
,defaultPDFEncrypter
,shouldShowStatusBarOnScanningScreens
,defaultStatusBarStyle
from separated getters and setters to variables inScanbotUI
class. - Removed
printInfo:
,printError:
andprintWarning:
fromSBSDKLog
. - Changed
setLoggingEnabled:
to propertyisLoggingEnabled
inSBSDKLog
. - Functions
logInfo:
,logError:
andlogWarning:
inSBSDKLog
now acceptString
as a parameter instead ofva_list
. - Changed all
SBSDKBarcodeType
global constants to static properties ofSBSDKBarcodeType
. - Refactored
SBSDKBarcodeType
, it introduces a style naming change for all barcode types, please see the documentation. - Moved the global constants
SBSDKBarcodeMetadataEANUPCExtensionKey
andSBSDKBarcodeMetadataIsGS1MessageKey
toSBSDKBarcodeScannerResult
as its static properties. - Changed all
SBSDKBarcodeDocumentType
global constants to static properties ofSBSDKBarcodeDocumentType
. - Replaced the default value of
acceptedBarcodeTypes
withSBSDKBarcodeType.commonTypes
, this property will no longer accept nil anywhere, if it's set to an empty array, this will automatically be translated toSBSDKBarcodeType.commonTypes
.
- Deprecated
- 🚙 Under the hood:
- Refactored all public SDK code to Swift.
Version 4.2.2 (21 March 2024):
- 🐞 Bug fixes:
- Changed privacy manifest to comply with the latest Apple specs.
Version 4.2.1 (13 February 2024):
- 🎉 New:
- Added Privacy manifest file (
PrivacyInfo.xcprivacy
) to the SDK. - Added new static property
maximumRecommendedImageSize
toSBSDKDeviceInformation
.
- Added Privacy manifest file (
Version 4.2.0 (7 December 2023):
- 🎉 New:
- Added support for new barcode type
SBSDKBarcodeTypeGS1Composite
.
- Added support for new barcode type
- 🚀 Improvements:
- Added more control over how to handle GS1 messages in barcodes. See
SBSDKGS1Handling
.
- Added more control over how to handle GS1 messages in barcodes. See
- ⚠️ Breaking Changes:
- The property
enableGS1Decoding
has been replaced by the enumSBSDKGS1Handling
inSBSDKBarcodeAdditionalParameters
. GS1
codes are now handled differently for various barcode types. Using the default optionPARSE
will give the same result as before for all barcode types, except ofRSS_EXPANDED
. Previously, forRSS_EXPANDED
, the result was inconsistently returned with parentheses. Now, to get results with parentheses for all barcode types, it is needed to choose the optionDECODE
.
- The property
Version 4.1.0 (27 November 2023):
- 🎉 New:
- Added support for 6 new barcode types to the barcode scanner:
SBSDKBarcodeTypeUSPSIntelligentMail
SBSDKBarcodeTypeRoyalMail
SBSDKBarcodeTypeJapanPost
SBSDKBarcodeTypeRoyalTNTPost
SBSDKBarcodeTypeAustraliaPost
SBSDKBarcodeTypeDatabarLimited
- Added support for 6 new barcode types to the barcode scanner:
- 🐞 Bug fixes:
- Fixed a bug where the finder text hint was still showing when
viewFinderEnabled
was disabled inSBSDKUIBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerViewController
. - Fixed a wrong polygon color in RTU-UI barcode scanner tracking overlay.
- Fixed a bug where the finder text hint was still showing when
Version 4.0.3 (30 October 2023):
- 🎉 New:
- Added new method
widestAvailableBackFacingCamera
toSBSDKCameraDevice
. - Added new method
setupDefaultLicenseFailureHandlerWithCompletion:
to theScanbot
class.
- Added new method
- ⚠️ Breaking Changes:
- Renamed
photoQualityPriorization
tophotoQualityPrioritization
everywhere in the SDK.
- Renamed
Version 4.0.2 (28 September 2023):
- 🐞 Bug fixes:
- Fixed a focusing issue with the new iPhone 15 Pro and 15 Pro Max.
Version 4.0.0 (23 August 2023):
- 🎉 New:
- Added property
extensionFilter
to all barcode scanning APIs (SBSDKBarcodeScanner
,SBSDKBarcodeScannerViewController
,SBSDKBarcodeScanAndCountViewController
,SBSDKUIBarcodeScannerBehaviorConfiguration
andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
). - Added property
extension
toSBSDKBarcodeScannerResult
. - Added new class
SBSDKScanAndCountPolygonStyle
. - Added new delegate function
(nonnull SBSDKScanAndCountPolygonStyle *)barcodeScanAndCountController:(nonnull SBSDKBarcodeScanAndCountViewController *)controller polygonStyleForBarcode:(nonnull SBSDKBarcodeScannerResult *)code
toSBSDKBarcodeScanAndCountViewControllerDelegate
. - Added
trackingOverlayController
property toSBSDKBarcodeScannerViewController
. - Introduced new classes and protocols to manage barcode tracking overlay:
SBSDKBarcodeTrackingOverlayController
: Provides a customizable user interface for displaying barcodes and supports interaction with them.SBSDKBarcodeTrackingOverlayConfiguration
: Represents the configuration options for aSBSDKBarcodeTrackingOverlayController
.SBSDKBarcodeTrackedViewTextStyle
: Represents the style and kind of text rendered below a barcode.SBSDKBarcodeTrackedViewPolygonStyle
: Represents the style of the polygon rendered around a barcode.SBSDKTrackedBarcodeInfoView
: A protocol that defines the methods and properties required for a custom tracking view.- Added functions to
SBSDKDeviceInformation
to get the total, used and unused disk space on the device.
- Added property
- 🚀 Improvements:
- RTU-UI configurations can now be initialized with partial/incomplete JSON data by internally merging the partial data into the configurations default values.
- Improved the speed of barcode recognition for most barcode symbologies.
- 🐞 Bug fixes:
- Fixed a crash when denying camera permission.
- ⚠️ Breaking Changes:
- Due to a Swift compiler naming collision, the class
ScanbotSDK
has been renamed toScanbot
. - Renamed the class
ScanbotSDKUI
toScanbotUI
for consistency. - Removed barcode type
SBSDKBarcodeTypeUnknown
. - Removed
qrBarcodeDetectionViewController:selectionOverlayTextFor:
fromSBSDKUIBarcodeScannerViewController
. - Renamed
selectionOverlayEnabled
toisTrackingOverlayEnabled
inSBSDKBarcodeScannerViewController
. - Renamed
SBSDKUIBarcodeSelectionOverlayConfiguration
toSBSDKUIBarcodeTrackingOverlayConfiguration
- Renamed
selectionOverlayConfiguration
totrackingOverlayConfiguration
inSBSDKUIBarcodeScannerConfiguration
andSBSDKUIBarcodesBatchScannerConfiguration
. - Replaced the properties
polygonEnabled
,polygonColor
,polygonFillColor
andpolygonLineWidth
by the propertypolygonStyle
inSBSDKBarcodeScanAndCountViewController
.
- Due to a Swift compiler naming collision, the class
Version 3.7.0 (22 June 2023):
- 🎉 New:
- Added support for the Micro QR barcode type.
- Added new property
viewFinderEnabled
toSBSDKUIBarcodeScannerBehaviorConfiguration
andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
. - Added new properties
confirmationDialogTitle
andconfirmationDialogMessage
toSBSDKUIBarcodeScannerTextConfiguration
. - Added new class
SBSDKPDFPagesExtractor
. - Added new Classic UI component
SBSDKBarcodeScanAndCountViewController
which enables you to scan barcodes multiple times using the shutter button.
- 🚀 Improvements:
- Changed the default zoom range from (0.0 - 3.0) to (0.0 - 12.0) in all Classic UI and RTU-UI components and in
SBSDKZoomRange
. - Better per-frame accuracy for QR code detection.
- Support for inverted PDF-417 barcodes.
- The barcode types Code 39 and Code 93 decode slightly faster.
- Changed the default zoom range from (0.0 - 3.0) to (0.0 - 12.0) in all Classic UI and RTU-UI components and in
- 🐞 Bug fixes:
- Fixed the detection of a few false positive RSS Expanded codes in live mode.
- Fixed an unexpected behavior of the barcode scanner when passing
SBSDKBarcodeTypeUnknown
as accepted barcode type. - Fixed a bug in all Classic UI and RTU-UI components where the
recognitionEnabled
property might not have worked as intended. - Fixed a bug where
automaticSelectionEnabled
was not working properly inSBSDKUIBarcodesBatchScannerViewController
.
- ⚠️ Breaking Changes:
- Removed support for iOS 11.x and 12.x. The minimum deployment target to use ScanbotSDK in your app is iOS 13.0!
- Removed class
SBSDKUIMachineCodesCollection
. - Renamed the property
acceptedMachineCodeTypes
toacceptedBarcodeTypes
inSBSDKUIBarcodeScannerBehaviorConfiguration
andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
. - The RTU-UI configuration JSON formats have been changed, mostly the enum values have been capitalized.
- 🚙 Under the hood:
- Released versions of ScanbotBarcodeScannerSDK.framework and ScanbotBarcodeScannerSDK.xcframework are code-signed now using an iOS Distribution Certificate on behalf of "Scanbot SDK GmbH", so you can easily verify our SDKs.
Version 3.6.1 (25 May 2023):
- 🐞 Bug fixes:
- Fixed a crash within the barcode detector.
Version 3.6.0 (25 April 2023):
- 🎉 New:
- Added optional delegate methods
barcodeScannerController:didUpdateDetectedBarcodes:
,barcodeScannerController:configureCustomCell:forBarcode:withBarcodePolygonPath:
, andbarcodeScannerController:customCellFrameForProposedFrame:
toSBSDKBarcodeScannerViewControllerDelegate
. - Added new property
automaticSelectionEnabled
toSBSDKBarcodeScannerViewController
. - Added new properties
oneDTypes
andtwoDTypes
toSBSDKBarcodeType
. - Added properties
dateOfDetection
andage
toSBSDKBarcodeScannerResult
. - Added new methods
init
andattach:parentViewController:containerView
toSBSDKBarcodeScannerViewController
. - Added support for the barcode type
SBSDKBarcodeTypeCode25
, which is a variant of the Industrial-2of5 type without the checksum. - Added new methods
init
andattach:parentViewController:containerView
for all Classic-UI components. - Added new property
minimumTimeWithoutDeviceMotionBeforeDetection
toSBSDKBaseScannerGeneralConfiguration
.
- Added optional delegate methods
- 🚀 Improvements:
- Improved barcode scanning with new ML models.
- Substantial improvements to stacked RSS barcode scanning.
- All Classic-UI view controllers can now be instantiated from storyboards.
- ⚠️ Breaking Changes:
- Changed the method
initWithParentViewController:parentViewController:parentView:delegate
ofSBSDKBarcodeScannerViewController
so that theparentViewController
and theparentView
must not be nil. - Removed property
decodeStacks1D
fromSBSDKBarcodeAdditionalParameters
. The barcode scanner now handles this automatically.
- Changed the method
- 🐞 Bug fixes:
- Fixed a crash while logging URLs with spaces.
- Fixed a rare crash with the application state observer.
Version 3.5.0 (3 February 2023):
- 🎉 New:
- Added new properties
resultWithConfirmationEnabled
anddialogTextFormat
inSBSDKUIBarcodeScannerBehaviorConfiguration
to display a confirmation dialog before returning the results. - Added new properties
confirmationDialogRetryButtonTitle
andconfirmationDialogConfirmButtonTitle
inSBSDKUIBarcodeScannerTextConfiguration
to configure the text confirmation dialog buttons. - Added new properties
confirmationDialogStyle
,confirmationDialogConfirmButtonStyle
andconfirmationDialogRetryButtonStyle
inSBSDKUIBarcodeScannerUIConfiguration
to configure the style of the confirmation dialog buttons. - Added new property
automaticSelectionEnabled
toSBSDKUIBarcodeSelectionOverlayConfiguration
. - Added new property
sourceImage
toSBSDKBarcodeScannerResult
. - Added new property
videoFrameResolution
of the new typeSBSDKVideoFrameResolution
toSBSDKBaseScannerGeneralConfiguration
.
- Added new properties
- 🚀 Improvements:
- Improved general speed and accuracy when detecting barcodes.
- Improved recognition of stacked RSS Expanded barcodes.
- ⚠️ Breaking Changes:
- Refactored
SBSDKBarcodeScannerViewControllerDelegate
. Please check all your classes that conform toSBSDKBarcodeScannerViewControllerDelegate
.
- Refactored
- 🚙 Under the hood:
- Updated third-party library TFlite to version 2.10.
Version 3.4.0 (15 December 2022):
- 🎉 New:
- Added support for more camera device types in
SBSDKCameraDevice
. The new device types areSBSDKCameraDeviceTypeUltraWide
,SBSDKCameraDeviceTypeDualWide
,SBSDKCameraDeviceTypeDual
andSBSDKCameraDeviceTypeTriple
. - Added new barcode scanner parameter
decodeStacks1D
toSBSDKBarcodeAdditionalParameters
. For stacked RSS barcodes, this should be set to the number of stacks with which the barcode was printed. - Added a new text format property configuration in barcodes overlay
SBSDKBarcodeOverlayFormat
for RTU-UI, seeoverlayTextFormat
inSBSDKUIBarcodeSelectionOverlayConfiguration
and for classical component, seeoverlayTextFormat
inSBSDKBarcodeScannerViewController
.
- Added support for more camera device types in
- 🚀 Improvements:
- Improved recognition of inverted barcodes.
- Improved performance and reduced false positive rate for stacked RSS barcodes.
- Improved performance of DataMatrix and QR-codes.
- 🐞 Bug fixes:
- Fixed a crash when navigating from and to scanner view controllers.
- Fixed a potential crash when the app using ScanbotSDK is suspended by the operating system.
- ⚠️ Breaking Changes:
- Changed the default back-facing camera to the ultra-wide lens on iPhone 14 Pro (including Max) devices, due to close-focusing issues with these devices.
- 🚙 Under the hood:
- Added third-party libraries (backward-cpp v1.6 and magic-enum v0.8.1).
Version 3.3.0 (19 October 2022):
- ⚠️ Breaking Changes:
- Xcode 14.0 and higher is now required to build and submit apps using ScanbotSDK!
- Removed bitcode from ScanbotSDK. Bitcode is no longer needed and Apple deprecated it with Xcode 14. Please turn bitcode off for your apps using ScanbotSDK!
- The
SBSDKCameraSession
's methodstartSession
is now asynchronous and has a completion handler.
- 🎉 New:
- Added support for IATA and Industrial barcode types.
- Added property
initialScanDelay
toSBSDKBaseScannerViewController
,SBSDKUIBarcodesBatchScannerBehaviourConfiguration
andSBSDKUIBarcodeScannerBehaviourConfiguration
, which allows you to define how long the view controller waits (after its appearance) before scanning/recognizing. - Added a new function
- (nonnull NSArray<SBSDKBarcodeScannerResult *> *)barcodeScanner:(nonnull SBSDKBarcodeScannerViewController *)controller filterResults:(nonnull NSArray<SBSDKBarcodeScannerResult *> *)codes
toSBSDKBarcodeScannerViewControllerDelegate
which allows you to filter detected barcodes before post-processing them in the final delegate call. - Added properties
displayResultsOverlay
,resultsOverlayColor
andresultsOverlayTextColor
toSBSDKBarcodeScannerViewController
to display an AR-style overlay highlighting the found recognition result in real-time - Added properties
selectionOverlayEnabled
as well asselectionPolygonColor
,selectionTextColor
,selectionTextContainerColor
and their highlighted counterparts toSBSDKBarcodeScannerViewController
to display and configure an overlay for selecting and highlighting recognized barcodes. - Added property
selectionOverlayConfiguration
of the new classSBSDKUIBarcodeSelectionOverlayConfiguration
toSBSDKUIBarcodeScannerConfiguration
andSBSDKUIBarcodesBatchScannerConfiguration
. - Added property
applicationStateDidChangeHandler
toSBSDKBaseScannerViewController
to notify you when the application moved to foreground or background state. - Added property
zoomFactorDidChangeHandler
toSBSDKBaseScannerViewController
to notify you when the camera zoom factor has changed. - Added property
cameraZoomFactorAbsolute
toSBSDKBaseScannerViewController
which returns the absolute camera's video zoom factor. - Added functions
freezeCamera
andunfreezeCamera
toSBSDKBaseScannerViewController
,SBSDKUIBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerViewController
.
- 🐞 Bug fixes:
- Fixed a bug where UPC/EAN extensions were not recognized.
- Fixed a warning with Xcode 14/iOS 16 about the camera session's synchronous start.
Version 3.2.4 (26 September 2022):
- ⚠️ Breaking Changes:
- Removed bitcode from ScanbotBarcodeScannerSDK, Bitcode is no longer needed and Apple deprecated it with Xcode 14. Please turn Bitcode off for your apps using ScanbotBarcodeScannerSDK!
- 🎉 New:
- Added new class
SBSDKSoundController
to play a default or custom sound on different actions, e.g. successful code detection. - Added new method
playBleepSound
toSBSDKBaseScannerViewController
to play a default bleep sound.
- Added new class
Version 3.2.3 (18 August 2022):
- 🎉 New:
- Added support for JSON in all RTU-UI configurations. All
SBSDKUI...Configuration
classes now have aninitWithJSON:
initializer - Added new parameter
codeDensity
toSBSDKBarcodeAdditionalParameters
. - Added new parameter
flashButtonHidden
to RTU-UI screen.
- Added support for JSON in all RTU-UI configurations. All
- ⚠️ Breaking Changes:
- Moved the parameters
acceptedMachineCodeTypes
andacceptedDocumentTypes
from the initializers ofSBSDKUIBarcodeScannerViewController
toSBSDKUIBarcodeScannerBehaviorConfiguration
and fromSBSDKUIBarcodesBatchScannerViewController
toSBSDKUIBarcodesBatchScannerBehaviorConfiguration
. - Removed the parameter
accumulatedFramesCount
and the corresponding initializers fromSBSDKBarcodeScanner
. - Removed the parameter
barcodeAccumulatedFramesCount
fromSBSDKBarcodeScannerViewController
andSBSDKScannerViewController
. - Removed parameters
imageOrientationLock
andallowedInterfaceOrientations
from all RTU-UI configurations. This has been replaced by the combined propertyorientationLockMode
.
- Moved the parameters
- 🚙 Under the hood:
- Updated third-party library Boost to version 1.79.0
Version 3.2.2 (13 June 2022):
- 🎉 New:
- Classic UI components:
- Added a new base scanner view controller
SBSDKBaseScannerViewController
which provides a lot of base functionality like zooming, view finder, energy management, focus locking, flash light, flash animation, automatic interruption of detection on disappearance or when presenting view controllers and more.
- Added a new base scanner view controller
- RTU-UI components:
- Refactored all RTU-UI components to make use of the new Classic UI components under the hood.
- Classic UI components:
- 🚀 Improvements:
- Improved 1D barcode recognition
- ⚠️ Breaking Changes:
SBSDKBarcodeScannerViewController
- replaced designated initializer with
- (nullable instancetype)initWithParentViewController:(nonnull UIViewController *)parentViewController parentView:(nullable UIView *)containerView delegate:(nullable id<SBSDKBarcodeScannerViewControllerDelegate>)delegate
. - In
SBSDKBarcodeScannerViewControllerDelegate
the function- (void)barcodeScannerController:(nonnull SBSDKBarcodeScannerViewController *)controller didDetectBarcodes:(nonnull NSArray<SBSDKBarcodeScannerResult *> *)codes;
is renamed to- (void)barcodeScannerController:(nonnull SBSDKBarcodeScannerViewController *)controller didDetectBarcodes:(nonnull NSArray<SBSDKBarcodeScannerResult *> *)codes onImage:(nonnull UIImage *)image;
. - removed property
HUDView
, please useoverlayView
. - removed property
cameraZoomRange
, please usezoomConfiguration.zoomRange
. - removed property
cameraZoomFactor
, please usezoomConfiguration.initialZoomFactor
. - removed property
doubleTapToZoomEnabled
, please usezoomConfiguration.doubleTapToZoomEnabled
. - removed property
pinchToZoomEnabled
, please usezoomConfiguration.pinchToZoomEnabled
. - removed property
shouldUseFinderFrame
. - removed property
finderAspectRatio
, please useviewFinderConfiguration.aspectRatio
. - removed property
finderMinimumInset
, please useviewFinderConfiguration.minimumInset
. - removed property
previewBackgroundColor
. - removed property
viewFinderBackgroundColor
, please useviewFinderConfiguration.backgroundColor
. - removed property
viewFinderLineColor
, please useviewFinderConfiguration.lineColor
. - removed property
viewFinderLineWidth
, please useviewFinderConfiguration.lineWidth
.
- replaced designated initializer with
- Replaced
SBSDKFinderLayer
bySBSDKFinderView
. - Renamed
SBSDKUIVideoContentMode
toSBSDKVideoContentMode
.
Version 3.2.1 (20 April 2022):
- 🐞 Bug fixes:
- Fixed a crash on specific PDF-417 codes with boarding passes
Version 3.2.0 (7 April 2022):
- 🚀 Improvements:
- Major improvements on barcode detection.
- Improved barcode image cropping.
- 🚙 Under the hood:
- Updated third-party library Boost to version 1.75.0
- Updated third-party library BoringSSL to commit 8f5eb80b
- Updated third-party library JSON for Modern C++ to version 3.10.2
- Updated third-party library Leptonica to version 1.82.0
- Updated third-party library libjpeg-turbo to version 2.1.2
- Updated third-party library libpng to version 1.6.36
- Updated third-party library libtiff to version 4.2.0
- Updated third-party library Nameof C++ to version 0.10.1
- Updated third-party library OpenCV to version 4.5.3
- Updated third-party library OpenSSL to version 1.1.1i
- Updated third-party library Skia to commit 47b4b19
- Updated third-party library spdlog to version 1.9.2
- Updated third-party library Tensorflow to version 2.6.1
- Updated third-party library Tesseract to version 4.1.3
- Updated third-party library XNNPACK to commit fb8d1f1b2
- Updated third-party library xsimd to commit 3d17850e
- Updated third-party library xtensor to commit be35a267
- Updated third-party library xtl to commit e0f00666
- Updated third-party library ZXing-C++ to version 1.1.0
- Updated third-party library G8Tesseract to commit bfc86ac
Version 3.1.3 (1 March 2022):
- 🐞 Bug fixes:
- Fixed a bug with wrong camera preview orientation when starting
SBSDKBarcodeScannerViewController
andSBSDKUIBarcodeScannerViewController
in landscape orientation.
- Fixed a bug with wrong camera preview orientation when starting
Version 3.1.2 (18 February 2022):
- 🎉 New:
- Added support for the GS1 barcode document format, see
SBSDKGS1DocumentFormat
. - Added the
SBSDKBarcodeDocumentParser
class which parses any given string for supported barcode document types.
- Added support for the GS1 barcode document format, see
- ⚠️ Breaking Changes:
- Renamed
SBSDKDisabilityCertificateDocumentFormat
toSBSDKMedicalCertificateDocumentFormat
- Renamed
Version 3.1.1 (26 January 2022):
- 🐞 Bug fixes:
- Fixes an issue with view finder colors and line width not being applied in RTU-UI components.
- Fixes an issue with the flashlight not turning on automatically if configured in
SBSDKUIBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerViewController
.
Version 3.1.0 (14 January 2022):
- 🎉 New:
- Added ability to disable auto-focus by locking the lens at the specified lens position.
- Added property
isFocusLockEnabled
and functions- (BOOL)beginFocusLockAtLensPosition:(CGFloat)lensPosition
,- (void)endFocusLock
toSBSDKBarcodeScannerViewController
andSBSDKCameraSession
. - Added properties
focusLockEnabled
andfocusLockPosition
toSBSDKUIBarcodeScannerBehaviorConfiguration
andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
.
- Added property
- Support for front-facing, telephoto and wide angle cameras in RTU-UI and classic components:
- New classes for camera support:
SBSDKCameraDevice
,SBSDKUIConfiguration
andSBSDKUICameraConfiguration
. - New function for camera support:
[SBSDKCameraSession initForFeature:withDevice:]
. - New property for camera support:
cameraDevice
inSBSDKBaseCameraViewController
which is the base class for all classic components. - All SBSDKUIConfiguration objects now derive from
SBSDKUIConfiguration
which adds the new subconfigrationcameraConfiguration
of typeSBSDKUICameraConfiguration
.
- New classes for camera support:
- Added properties
rawTextStringWithExtension
andmetadata
toSBSDKBarcodeScannerResult
to support barcode extensions of UPC and EAN barcodes. - The results screen of the
SBSDKUIBarcodesBatchScannerViewController
now displaysrawTextStringWithExtension
instead ofrawTextString
. - Support for barcode scanner results filtering in RTU-UI barcode scanning components:
- New subclassable objects
SBSDKUIBarcodeFilter
andSBSDKUIBarcodeExtensionsFilter
. - New property
barcodeFilter
inSBSDKUIBarcodeScannerBehaviorConfiguration
andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
.
- New subclassable objects
- Added ability to disable auto-focus by locking the lens at the specified lens position.
- 🚀 Improvements:
- Improved Aztec barcode recognition.
- Improved PDF417 recognition performance on single photos.
- Improved barcode detection on large documents.
- Updated flash buttons' icons.
- Improved GS-1 databar recognition in the next-gen barcode scanner.
- 🐞 Bug fixes:
- Fixed crash when scanning barcodes on certain images.
- Fixed a very rare problem in all scanner screens where the camera layer lost track of the device orientation.
Version 3.0.3 (3 November 2021):
- 🐞 Bug fixes
- Fixed some rare crashes
- 🚙 Under the hood:
- Updated some third party libraries. (see Third-party Libraries)
Version 3.0.2 (26 August 2021):
- 🎉 New:
- Added support for zooming in
SBSDKUIBarcodesBatchScannerViewController
- Added
stripCheckDigits
parameter inSBSDKBarcodeAdditionalParameters
class.
- Added support for zooming in
- ⚠️ Breaking Changes:
- Added
SBSDKSEPADocumentFieldTypePurpose
,SBSDKSEPADocumentFieldTypeRemittance
andSBSDKSEPADocumentFieldTypeInformation
fields toSBSDKSEPADocumentFieldType
. RemovedSBSDKSEPADocumentFieldTypeReference
andSBSDKSEPADocumentFieldTypeHint
fields from it.
- Added
- 🚀 Improvements:
- Improved recognition of UPC/EAN barcodes due to ink spread
Version 3.0.1 (6 July 2021):
- 🎉 New:
- Added support for Apple Silicon M1 simulators. Your app build with the
ScanbotBarcodeScannerSDK.xcframework
or via CocoaPods now will run natively on M1 Mac simulators without having to start Xcode in Rosetta 2 mode
- Added support for Apple Silicon M1 simulators. Your app build with the
- ⚠️ Breaking Changes:
- The ScanbotBarcodeScannerSDK CocoaPod now contains an XCFramework instead of a standard framework, you may need to update CocoaPods and/or Xcode
Version 3.0.0 (1 July 2021):
- 🎉 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 typeSBSDKBarcodeEngineMode
on barcode scanning APIs likeSBSDKBarcodeScanner
,SBSDKBarcodeScannerViewController
, andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
to switch between the legacy barcode engine and the new Next Generation barcode engine. By default, the new engine is used.
- ⚠️ Breaking Changes:
- Removed
enableHighSensitivityMode
property onSBSDKBarcodeScanner
, because it is no longer needed
- Removed
- 🚀 Improvements:
- Improved logging for license failures. The app bundle identifier from the license and from the app will be displayed in the log in case you accidentally set up a wrong license. Also now the expiration date of expired licenses is being logged to the console.
- 🚙 Under the hood:
- New third-party libraries: xsimd, xtl und xtensor (see Third-party Libraries)
Version 1.12.0 (9 June 2021):
- 🎉 New:
- Added support for MSI-Plessey barcodes again: see
SBSDKBarcodeTypeMSIPlessey
, MSI checksum algorithm is selectable viaSBSDKBarcodeAdditionalParameters
property namedmsiPlesseyChecksumAlgorithm
, by default MSI-Plessey is disabled, you must explicitly passSBSDKBarcodeAdditionalParameters
as accepted type to any barcode scanning class
- Added support for MSI-Plessey barcodes again: see
- 🚀 Improvements:
- Better logging of licensing system errors, e.g. display the apps and the licenses bundle identifier
- 🐞 Bug fixes
- Fixes a problem with UPC-A barcodes being recognized as EAN13 barcodes.
Version 1.11.0 (21 April 2021):
- 🎉 New:
- Added support for zooming in
SBSDKBarcodeScannerViewController
andSBSDKUIBarcodeScannerViewController
. Use the new propertiescameraZoomRange
,cameraZoomFactor
,shouldAnimateZooming
,doubleTapToZoomEnabled
andpinchToZoomEnabled
onSBSDKBarcodeScannerViewController
andSBSDKUIBarcodeScannerBehaviorConfiguration
to configure zooming the camera to scan small barcodes. - Added support for document type filtering to
SBSDKUIBarcodesBatchScannerViewController
- Added support for zooming in
- ⚠️ Breaking Changes:
SBSDKBarcodeScannerViewController
:capturingFrameAspectRatio
was renamed tofinderAspectRatio
, andcapturingFrameMinimumInset
was renamed tofinderMinimumInset
.- Removed
SBSDKUIMachineCodeScannerConfiguration
and related configurations.SBSDKUIBarcodeScannerViewController
now usesSBSDKUIBarcodeScannerConfiguration
as configuration.
Version 1.10.1 (9 April 2021):
- 🎉 New:
- Added
enableGS1Decoding
parameter toSBSDKBarcodeAdditionalParameters
.
- Added
- 🐞 Bug fixes
- Fixed a bug in
SBSDKUIBarcodesBatchScannerViewController
whereadditionalDetectionParameters
have not been applied. - Fixed a rare bug with calculation the finder rectangle in
SBSDKBarcodeScannerViewController
.
- Fixed a bug in
- 🚙 Under the hood:
- Updated OpenSSL to version 1.1.1j.
Version 1.10.0 (25 March 2021):
- 🎉 New:
- Added
additionalParameters
property toSBSDKBarcodeScanner
andSBSDKUIMachineCodeScannerBehaviorConfiguration
,additionalDetectionParameters
toSBSDKBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerBehaviorConfiguration
andadditionalBarcodeDetectionParameters
toSBSDKScannerViewController
which lets you setup a minimum and maximum text length as well as a quiet zone. Currently works for ITF barcodes only.
- Added
- 🐞 Bug fixes
- Fixed a rare out-of-memory crash in barcode (datamatrix) scanning on older devices
- 🚀 Improvements:
- Added download links for ScanbotBarcodeScannerSDK.framework and XCFramework in the Installation Guide of the documentation.
Version 1.9.1 (11 March 2021):
- 🐞 Bug fixes
- Fixed a rare crash in barcode scanner with wrong finder coordinates
- ⚠️ Breaking Changes:
- Removed support of the MSI Plessey barcode detection
Version 1.9.0 (24 Feb 2021):
- 🎉 New:
- Added support for Swiss QR codes, see
SBSDKSwissQRCodeDocumentFormat
- Added support for document type filtering to barcode and QR code scanners,
acceptedDocumentTypes
properties inSBSDKBarcodeScanner
,SBSDKBarcodeScannerViewController
andSBSDKUIBarcodeScannerViewController
- Added global control of status bar visibility and style in SBSDKUI components, see functions
+ (void)setShouldShowStatusBarOnScanningScreens:(BOOL)shouldShow
and+ (void)setDefaultStatusBarStyle:(UIStatusBarStyle)style
in the classScanbotSDKUI
- Added support for Swiss QR codes, see
- 🐞 Bug fixes
- Fixed a UI problem in
SBSDKUIBarcodesBatchScannerViewController
- Fixed a UI problem in
Version 1.8.5 (2 Feb 2021):
- ⚠️ Breaking Changes:
- (nullable instancetype)initWithKey:(NSString *)key mode:(SBSDKAESEncrypterMode)mode
was replaced by- (nullable instancetype)initWithPassword:(NSString *)password mode:(SBSDKAESEncrypterMode)mode
- 🐞 Bug fixes
- Fixed a potential crash in
SBSDKUIBarcodesBatchScannerViewController
- Fixed a potential crash in
Version 1.8.4 (21 Dec 2020):
- 🐞 Bug fixes
- Fixed included strip script
Version 1.8.3 (17 Dec 2020):
- 🚀 Improvements:
- Improved detection of ITF barcodes
Version 1.8.2 (7 Dec 2020):
- 🚀 Improvements:
- Improved DataMatrix detection
Version 1.8.1 (3 Dec 2020)
- 🎉 New:
- Added new property
autoCancelTimeout
toSBSDKUIMachineCodeScannerBehaviorConfiguration
- Added new optional delegate function
- (void)qrBarcodeDetectionViewControllerDidTimeout:(nonnull SBSDKUIBarcodeScannerViewController *)viewController;
toSBSDKUIBarcodeScannerViewController
- Added new property
- 🚀 Improvements:
- Improved some PDF417 detection edge cases
- 🐞 Bug fixes
- Fixed a problem where distribution of an app containing ScanbotSDK would fail
Version 1.8.0 (1 Dec 2020)
- 🎉 New:
- Added (customizable) encryption/decryption to image stores; new classes:
SBSDKAESEncrypter
,SBSDKStorageCrypting
,ScanbotSDKUI
- For SBSDKUI components you can enable encryption for stored images globally using the function
+ (void)setDefaultImageStoreEncrypter:(nullable id<SBSDKStorageCrypting>)encrypter
ofScanbotSDKUI
class, this will encrypt all stored images in these components SBSDKAESEncrypter
provides built-in support for AES128 and AES256 encryption, but you can create your own encrypter by implementing a class conforming to the protocolSBSDKStorageCrypting
- Added (customizable) encryption/decryption to image stores; new classes:
- 🚀 Improvements:
- Better recognition of rotated PDF417 codes
Version 1.7.3 (24 Nov 2020)
- 🚀 Improvements:
- Improved barcode and PDF417 detection
- 🐞 Bug fixes
- Fixed a rare crash in
SBSDKUIBarcodesBatchScannerViewController
, that occurred after fetching updated data.
- Fixed a rare crash in
Version 1.7.2 (16 Nov 2020)
- 🐞 Bug fixes
- Fixed a deadlock in
SBSDKUIBarcodesBatchScannerViewController
- Fixed a potential memory leak with
SBSDKUIBarcodesBatchScannerViewController
- The delegate function of
SBSDKUIBarcodeBatchStorageDelegate
- (void)barcodeBatchStorage:(SBSDKUIBarcodeBatchStorage *)storage didUpdateBarcode:(SBSDKUIBarcodeMappedResult *)barcode atIndex:(NSInteger)index;
is now called on the main queue
- Fixed a deadlock in
Version 1.7.1 (29 Oct 2020)
- 🚀 Improvements:
- Updated barcode recognition model to improve recognition of certain QR and data matrix codes
Version 1.7.0 (23 Sept 2020)
- 🚀 Improvements:
- Improved recognition of damaged DataMatrix barcodes
- Improved recognition of Aztec barcodes
- Modernized camera API usage and removed deprecated API usage, multiple new functions added to process a CVPixelBufferRef
- ⚠️ Breaking Changes:
- Removed support for iOS 9 and iOS 10
- SBSDKCameraSession:
- (void)captureStillImageWithCompletionHandler:(nullable void (^)(CMSampleBufferRef _Nullable, NSError* _Nullable))completion;
changed to- (void)captureStillImageWithCompletionHandler:(nullable void (^)(CVPixelBufferRef _Nullable, NSError* _Nullable))completion;
- 🚙 Under the hood:
- Updated OpenCV to version 4.4.0
Version 1.6.0 (18 Aug 2020)
- 🎉 New:
- Added Barcode batch detector RTU UI component
SBSDKUIBarcodesBatchScannerViewController
. - Barcode scanner:
SBSDKBarcodeScannerResult
class now containsrawBytes
parameter.
- Added Barcode batch detector RTU UI component
- 🐞 Bug fixes:
- Barcode scanner format parser fixes
- ⚠️ Breaking Changes:
SBSDKBarcodeScannerResult
initializer is now- (instancetype)initWithPolygon:(SBSDKPolygon *)poly type:(SBSDKBarcodeType *)type barcodeImage:(UIImage *)image rawTextString:(NSString *)string rawBytes:(NSData *)rawBytes;
Version 1.5.2 (6 Aug 2020)
- 🐞 Bug fixes:
- Fixed SDK size issue from the past release.
Version 1.5.1 (13 Jul 2020)
- 🎉 New:
- Beta: Added support for MSI Plessey barcode format. Disabled by default, must explicitly be allowed.
commonTypes
array of barcodes inSBSDKBarcodeType
now contain all commonly-used types of barcodes. Is recommended for most cases.
- 🚀 Improvements:
- Improved barcode and QR code live detection especially for very dense codes.
- Added debug symbols for simulator architectures.
- Improved handling of ink spread issues with Code128 barcodes.
- Improved barcode detection model.
- 🚙 Under the hood:
- Updated OpenSSL to version 1.1.1g
- Updated TensorFlow to version 2.2.0
Version 1.5.0 (28 May 2020)
- 🚀 Improvements:
- Improved recognition of inverted barcodes.
- 🐞 Bug fixes:
- Fixed an issue with uploading apps containing the Scanbot Barcode SDK (related Apple error codes ITMS-90166, ITMS-90535 and ITMS-90171).
- ⚠️ Breaking Changes:
SBSDKMedicalPlanPatientFieldTypeAllergysAndIntolerances
is renamed toSBSDKMedicalPlanPatientFieldTypeAllergiesAndIntolerances
SBSDKMedicalPlanSubheadingReceipeFieldType
enum is renamed toSBSDKMedicalPlanSubheadingPrescriptionFieldType
. Its casesSBSDKMedicalPlanSubheadingReceipeFieldTypeGeneralInformation
andSBSDKMedicalPlanSubheadingReceipeFieldTypeReceipeFreeText
has been renamed toSBSDKMedicalPlanSubheadingPrescriptionFieldTypeGeneralInformation
andSBSDKMedicalPlanSubheadingPrescriptionFieldTypePrescriptionFreeText
respectively.SBSDKMedicalPlanSubheadingReceipeField
class name is changed toSBSDKMedicalPlanSubheadingPrescriptionField
.SBSDKMedicalPlanSubheadingReceipe
class name is changed toSBSDKMedicalPlanSubheadingPrescription
.- Cases of
SBSDKVCardDocumentFieldType
-SBSDKVCardDocumentFieldTypeCallendarURIForRequests
andSBSDKVCardDocumentFieldTypeCallendarURI
has been renamed toSBSDKVCardDocumentFieldTypeCalendarURIForRequests
andSBSDKVCardDocumentFieldTypeCalendarURI
respectively. - Case of
SBSDKBoardingPassDocumentFieldType
-SBSDKBoardingPassDocumentFieldTypeSecongNonConsecutiveBaggageTagLicensePlateNumber
has been renamed toSBSDKBoardingPassDocumentFieldTypeSecondNonConsecutiveBaggageTagLicensePlateNumber
- In
SBSDKBarcodeScannerViewControllerDelegate
the function- (void)barcodeScannerController:(nonnull SBSDKBarcodeScannerViewController *)controller didDetecBarcodes:(nonnull NSArray<SBSDKBarcodeScannerResult *> *)codes;
is renamed to- (void)barcodeScannerController:(nonnull SBSDKBarcodeScannerViewController *)controller didDetectBarcodes:(nonnull NSArray<SBSDKBarcodeScannerResult *> *)codes;
. - In
SBSDKUIEnableCameraUIConfiguration.h
parameterenableCameraDesctiptionColor
is renamed toenableCameraDescriptionColor
.
Version 1.4.0 (8 May 2020):
- 🚀 Improvements:
- Improved barcode detection on still images.
- In
SBSDKUIBarcodeScannerViewController
flash button was moved to navigation bar to save more space for finder layer.
- ⚠️ Breaking Changes:
- Renamed
SBSDKPageAspectRatio
class toSBSDKAspectRatio
- In
SBSDKUIMachineCodeScannerUIConfiguration
removedbottomButtonsInactiveColor
andbottomButtonsActiveColor
. ParametertopBarButtonsColor
now affects flash button active state. AddedflashButtonInactiveColor
. - In
SBSDKBarcodeScannerViewController
type of the parametercapturingFrameMinimumInset
was changed fromCGSize
toUIEdgeInsets
. - In
SBSDKBarcodeScannerViewController
parameterCGSize capturingFrameSize
is changed toSBSDKAspectRatio *capturingFrameAspectRatio
. - In
SBSDKUIMachineCodeScannerUIConfiguration
parametersCGFloat finderWidth
andCGFloat finderHeight
are replaced bySBSDKAspectRatio *finderAspectRatio
.
- Renamed
Version 1.3.1 (3 Mar 2020):
- 🎉 New:
- Added property
SBSDKBarcodeScannerViewController.flashLightEnabled
.
- Added property
Version 1.3.0 (6 Feb 2020):
- 🎉 New:
- Added
SBSDKUIBarcodeImageStorage
class for handling barcode images storage.
- Added
Version 1.2.0 (3 Feb 2020):
- 🎉 New:
- Added property
SBSDKBarcodeScanner.enableHighSensitivityMode
. - Added functionality for getting the expiration date of a license key with
+[ScanbotSDK licenseExpirationDate]
.
- Added property
- 🐞 Bug fixes:
- Fixed a crash for the "no camera access" case on RTU UI component.
- Various minor bug fixes and improvements.
Version 1.1.0 (17 Dec 2019):
- 🎉 New:
- Added parameter
SBSDKBarcodeScannerViewController.barcodeAccumulatedFramesCount
. It allows to set amount of frames that barcode detector processes before running the detection on the best frame.
- Added parameter
- 🚀 Improvements:
- Properties
SBSDKBarcodeScanner.acceptedBarcodeTypes
andSBSDKBarcodeScanner.accumulatedFramesCount
can now be set after the initialization.
- Properties
- 🐞 Bug fixes:
- Fixed a bug, that caused detecting of all barcodes, if
dataMatrix
barcode type was selected as accepted.
- Fixed a bug, that caused detecting of all barcodes, if
Version 1.0.0 (5 Dec 2019):
🎉 First release of the standalone Scanbot Barcode Scanner SDK.
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.