Skip to content

4.0.0-Beta3

Compare
Choose a tag to compare
@scanbot-ci scanbot-ci released this 14 Aug 10:13
· 45 commits to master since this release
  • 🎉 New:
    • Added property extensionFilter to all barcode scanning API (SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, SBSDKBarcodeScanAndCountViewController, SBSDKUIBarcodeScannerBehaviorConfiguration and SBSDKUIBarcodesBatchScannerBehaviorConfiguration).
    • Added property extension to SBSDKBarcodeScannerResult.
    • Added trackingOverlayController property to SBSDKBarcodeScannerViewController.
    • 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 a SBSDKBarcodeTrackingOverlayController.
      • SBSDKBarcodeTrackedViewTextStyle: Represents the style and kind of the 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.
  • 🚀 Improvements:
    • RTU-UI configurations can now be initialized with partial/incomplete JSON data by internally merging the partial data into the configurations default values.
  • 🐞 Bug fixes:
    • Fixed a crash when denying camera permission.
  • ⚠️ Breaking Changes:
    • Due to a Swift compiler naming collision the class ScanbotSDK has been renamed to Scanbot.
    • Renamed the class ScanbotSDKUI to ScanbotUI for consistency.
    • Removed barcode type SBSDKBarcodeTypeUnknown.
    • Removed qrBarcodeDetectionViewController:selectionOverlayTextFor: from SBSDKUIBarcodeScannerViewController.
    • Renamed selectionOverlayEnabled to isTrackingOverlayEnabled in SBSDKBarcodeScannerViewController.
    • Renamed SBSDKUIBarcodeSelectionOverlayConfiguration to SBSDKUIBarcodeTrackingOverlayConfiguration
    • Renamed selectionOverlayConfiguration to trackingOverlayConfiguration in SBSDKUIBarcodeScannerConfiguration and SBSDKUIBarcodesBatchScannerConfiguration.