Skip to content

6.0.0-RC11

Compare
Choose a tag to compare
@scanbot-ci scanbot-ci released this 08 Oct 10:47
· 52 commits to master since this release
  • πŸŽ‰ New:
    • Added new RTU-UI V2 component, see SBSDKUI2DocumentScannerController.
    • Added document capture animation in SBSDKDocumentScannerViewController.
    • Added new optional delegate function documentScannerViewControllerCaptureAnimationConfiguration(_ controller: SBSDKDocumentScannerViewController) -> SBSDKDocumentAnimationConfiguration in SBSDKDocumentScannerViewController.
    • Added class SBSDKDocumentAnimationConfiguration to configure document capture animation.
    • Added classes SBSDKScannedDocument and SBSDKScannedPage.
    • Added support for the new SBSDKScannedDocument class to SBSDKPDFRenderer, SBSDKUIPDFRenderer, SBSDKTIFFImageWriter and SBSDKOpticalCharacterRecognizer.
    • Added init(uiColor: UIColor) in SBSDKUI2Color.
    • Added new property isAnimatingCapture to SBSDKDocumentScannerViewController.
    • Added new class SBSDKDocumentScannerPolygonConfiguration.
    • Added new properties polygonConfigurationAccepted, polygonConfigurationRejected and autoSnapProgressPolygonConfiguration to SBSDKDocumentScannerViewController.
    • Added new optional delegate method documentScannerViewController(_ controller: SBSDKDocumentScannerViewController, polygonConfigurationFor: SBSDKDocumentDetectionStatus) -> SBSDKDocumentScannerPolygonConfiguration to protocol SBSDKDocumentScannerViewControllerDelegate.
    • Added new optional delegate method imageEditingViewController(_ editingViewController: didDetectPolygon:) to SBSDKImageEditingViewControllerDelegate.
    • Added new property addAdditionalQuietZone to SBSDKBarcodeAdditionalParameters.
  • πŸš€ Improvements:
    • Improved sharpness of captured images in SBSDKDocumentScannerViewController by tweaking various timing related default values, such as initialScanDelay and autoSnappingDelay.
    • The AR-overlay in SBSDKUI2FindAndPickScanningMode is now visible by default.
  • 🐞 Bug fixes:
    • Fixed a bug in RTU-UIv2 Barcode Scanner where extended barcodes are displayed along with their non-extended versions.
    • Fixed a UI issue on the RTU-UI V2 Barcode Scanner where a too long title cut off the cancel button.
    • Fixed a UI issue on the RTU-UI V2 Find & Pick scanner in button sheet mode where the counter badge was not visible.
    • Fixed a UI issue in SBSDKFinderView where the background color overlapped with the line color.
    • Fixed a crash when zooming with invalid minZoom and maxZoom values.
    • 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.
  • ⚠️ Breaking Changes:
    • Deprecated SBSDKUIDocumentScannerViewController, SBSDKUIFinderDocumentScannerViewController, SBSDKUICroppingViewController and their related classes.
    • Renamed the values of the enum SBSDKDocumentDetectionStatus.
    • Removed optional delegate method documentScannerViewController(_ controller:, polygonLineColorFor:) -> UIColor from protocol SBSDKDocumentScannerViewControllerDelegate.
    • Removed optional delegate method documentScannerViewController(_ controller:, polygonFillColorFor:) -> UIColor from protocol SBSDKDocumentScannerViewControllerDelegate.
    • Removed properties polygonLineWidth, polygonLineColorAccepted, polygonLineColorRejected, polygonFillColorAccepted, polygonFillColorRejected, polygonAutoSnapProgressEnabled, polygonAutoSnapProgressColor, polygonAutoSnapProgressLineWidth and polygonCornerRadius from SBSDKDocumentScannerViewController`.
    • Renamed property residencePermitFronBack to residencePermitFrontBack in SBSDKUIDocumentType.
    • Removed parameter encrypter from all SBSDKPDFRenderer methods and added it to the initializer of the class.