Skip to content

5.0.0-Beta8

Compare
Choose a tag to compare
@scanbot-ci scanbot-ci released this 15 Dec 16:59
· 45 commits to master since this release
  • 🎉 New:
    • Added new RTU-UI V2 component, see SBSDKUI2BarcodeScannerViewController.
    • Added the SBSDKFinderView.Style enum and the property style that defines the drawing styles of the finder view to SBSDKFinderView and SBSDKBaseScannerViewFinderConfiguration.
    • Added the viewFinderStyle property to SBSDKBaseScannerViewController
  • ⚠️ Breaking Changes
    • Changed isLicenseValid, licenseStatus from functions to variables in Scanbot class.
    • Changed defaultImageStoreEncrypter, defaultPDFEncrypter, shouldShowStatusBarOnScanningScreens, defaultStatusBarStyle from separated getters and setters to variables in ScanbotUI class.
    • Removed printInfo:, printError: and printWarning: from SBSDKLog.
    • Changed setLoggingEnabled: to property isLoggingEnabled in SBSDKLog.
    • Functions logInfo:, logError: and logWarning: in SBSDKLog now accept String as a parameter instead of va_list.
    • Changed all SBSDKBarcodeType global constants to static properties of SBSDKBarcodeType.
    • Refactored SBSDKBarcodeType, it introduces a style naming change for all barcode types, please see the documentation.
    • Moved the global constants SBSDKBarcodeMetadataEANUPCExtensionKey and SBSDKBarcodeMetadataIsGS1MessageKey to SBSDKBarcodeScannerResult as its static properties.
    • Changed all SBSDKBarcodeDocumentType global constants to static properties of SBSDKBarcodeDocumentType.
    • Replaced the default value of acceptedBarcodeTypes with SBSDKBarcodeType.commonTypes, this property will no longer accept nil anywhere, if it's set to an empty array, this will automatically be translated to SBSDKBarcodeType.commonTypes.
  • 🚙 Under the hood:
    • Refactored all public SDK code to Swift.