Skip to main content

Changelog | Xamarin.Forms Barcode Scanner SDK

Version 4.2.0 (16 Apr 2024)

  • 🚀 New:
    • Added support for several new barcode formats including:
      • AustraliaPost
      • DatabarLimited
      • Gs1Composite
      • JapanPost
      • RoyalMail
      • RoyalTntPost
      • UspsIntelligentMail
    • Enhanced control over how to handle GS1 messages in barcodes.
    • Improved the speed of barcode recognition for most barcode symbologies.
    • Improved contour lines detection with ML Based detection.
    • Added CameraZoomRange of type ZoomRange in BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration.
    • iOS:
      • Added new type BackWidest in the enum CameraModule.
      • Added Privacy manifest file (PrivacyInfo.xcprivacy) to the SDK which complies with the latest Apple specs.
  • 🐞 Bug fixes:
    • Android:
      • Optimized camera functionalities in ScanbotCameraXView.
  • ⚠️ Breaking changes:
    • The enum UIInterfaceOrientation has been renamed to InterfaceOrientation.
    • Removed properties FinderWidth and FinderHeight from BarcodeScannerConfiguration. Please use FinderAspectRatio property of type BarcodeAspectRatio instead.
    • The property ViewFinderEnabled has been renamed to FinderEnabled in BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration.
    • The method IScanbotOperations.DetectBarcodesFrom has been updated to DetectBarcodesFromImage to provide a clearer indication of its purpose, specifically for barcode detection from images.
    • The property Gs1DecodingEnabled of type bool is replaced with Gs1HandlingMode of type enum GS1Handling.
    • GS1 codes are now handled differently for various barcode types. Using the default option GS1Handling.Parse will give the same result as before for all barcode types, except for BarcodeFormat.RssExpanded. Previously, for RssExpanded, the result was inconsistently returned with parentheses. Now, to get results with parentheses for all barcode types, choose the option GS1Handling.Decode.
  • 🚙 Under the hood:
    • The native Scanbot iOS SDK upgraded to v4.2.2.
    • The native Scanbot Android SDK upgraded to v4.2.0.

Version 4.0.2 (1 Dec 2023)

  • 🚀 Improvements:
    • Added support for Xamarin.Forms v5.0.0.2612 and v5.0.0.2622 targeting Android 13.
    • Nuget packages dependencies for Android were reduced and updated.
    • Please remove the Scanbot.NET.SDK.Dependencies, Scanbot.Xamarin.SDK.Dependencies or Scanbot.Xamarin nuget package, if you have them in your project. All dependencies are now included inside this package.
  • ✅ Tested with all Xamarin.Forms versions from 5.0.0.2545 up to 5.0.0.2622

Version 4.0.1 (5 Oct 2023)

  • 🐞 Bug fixes:
    • iOS: Fixed a focusing issue with the new iPhone 15 Pro and 15 Pro Max.
  • 🚙 Under the hood:
    • Updated the native iOS Scanbot Barcode Scanner SDK to 4.0.2 (cf. changelog).
    • Updated Scanbot Xamarin SDK to v4.0.1 (cf. changelog).

Version 4.0.0 (22 Sept 2023)

  • 🎉 New:
    • Added support for the barcode type MICRO_QR_CODE.
    • Added ConfirmationDialogConfiguration property of type BarcodeConfirmationDialogConfiguration in BarcodeScannerConfiguration class. It enables the user to configure a confirmation dialog with our barcode scanning feature.
    • Added ViewFinderEnabled property in BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration.
    • iOS: Added ExtensionFilter property of type BarcodesExtensionFilter in BarcodeScannerConfiguration.
    • Android: Now CameraZoomRange property also supports the Android platform. The zoom range is normalised between (0.0 to 1.0) for Android. Please see the breaking change regarding this property.
  • ⚠️ Breaking Changes:
    • Removed the barcode type Unknown.
    • iOS: Due to a Swift compiler naming collision, the class ScanbotSDK has been renamed to Scanbot.
    • iOS: The default zoom range of CameraZoomRange property was changed from (0.0 - 3.0) to (0.0 - 12.0).
  • 🚙 Under the hood:
    • Updated the native Android Scanbot Barcode Scanner SDK to 4.0.0 (cf. changelog).
    • Updated the native iOS Scanbot Barcode Scanner SDK to 4.0.0 (cf. changelog).
    • Updated Scanbot Xamarin SDK to v4.0.0 (cf. changelog).
    • Updated certain third-party libraries.

Version 3.6.0 (14 Jul 2023)

  • 🎉 New:
    • Introduced AutomaticSelectionEnabled property in SelectionOverlayConfiguration. Now you can decide whether you want users to manually tap on the barcodes or have the barcodes automatically selected when using Selection Overlay.
    • Added support for Code25 barcodes.
    • Introduced new parameters in BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration:
      • CameraModule - Determine which camera to use (front or back).
      • CameraZoomFactor - Set the initial relative zoom level of the camera.
      • InitialScanDelay - Define a scanning delay after scanner appearance.
    • New platform-specific parameters have been added to BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration:
      • Android:
        • AutoCancelTimeOut - Set auto-close timer in seconds.
        • CameraPreviewMode - Choose the preview mode of the camera (FillIn or FitIn).
        • DelayAfterScan - Freeze the preview for a given number of seconds after a scan (Barcode Scanner only).
        • MinFocusDistanceLock - Lock focus distance within the minimum possible range.
        • UseButtonsAllCaps - Control whether buttons should use an all-caps style, as defined by Android Material Design.
      • iOS:
        • CameraZoomRange - Define the range of valid camera zoom factors.
        • DoubleTapToZoomEnabled - Enable zoom activation through double-tapping somewhere in the receiver's view.
        • PinchToZoomEnabled - Enable zoom activation through a pinch gesture somewhere in the receiver's view.
        • ShouldAnimateZooming - Determine whether zooming in or out should be animated.
        • FocusLockEnabled - Disable auto-focus and lock the lens at the specified focus lock lens position.
        • FocusLockPosition - Specify the lens position.
  • 🐞 Bug fixes:
    • Fixed various crashes and memory leaks.
    • Fixed several visual glitches.
  • ⚠️ Breaking Changes:
    • Added AutomaticSelectionEnabled in the SelectionOverlayConfiguration constructor.
    • iOS: Default back-facing camera has been changed to the ultra-wide lens on iPhone 14 Pro (including Max) devices, due to close-focusing issues with these devices.
  • 🚙 Under the hood:
    • Updated the native Android Scanbot Barcode Scanner SDK to 3.6.0 (cf. changelog).
    • Updated the native iOS Scanbot Barcode Scanner SDK to 3.6.0 (cf. changelog).
    • Updated Scanbot Xamarin SDK to v3.6.0 (cf. changelog).
    • Updated certain third-party libraries.

Version 3.3.1 (15 Feb 2023)

  • 🎉 New:
    • Added BarcodeScannerAdditionalParameters configuration as a base class to BarcodeScannerConfiguration, BatchBarcodeScannerConfiguration and DetectBarcodesOnImageConfiguration for configuring the barcode scanning additional parameters.
    • Added DetectBarcodesOnImageConfiguration configuration class to DetectBarcodesFrom method. Now you can configure properties for detecting barcodes from still images.
    • Added MSIPlesseyChecksumAlgorithm and BarcodeDensity enums which can be used when configuring the BarcodeScannerAdditionalParameters.
    • Added CloseBarcodeScannerView and CloseBatchBarcodeScannerView methods in IBarcodeScannerPage.
  • 🐞 Bug fixes:
    • Android: Fixed initialization issues on relaunch.
  • ⚠️ Breaking changes:
    • Method DetectBarcodesFrom(ImageSource image) was replaced with DetectBarcodesFrom(DetectBarcodesOnImageConfiguration configuration) in IScanbotOperations.

Version 3.3.0 (30 Nov 2022)

  • 🎉 New:
    • Added SelectionOverlayConfiguration class for showing barcode detail overlays while scanning.
    • OverlayConfiguration property of type SelectionOverlayConfiguration added in BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration for showing barcode detail overlays while scanning.
    • Added barcode formats IATA2Of5 and Industrial2Of5.
    • Added new parameter to overridden method DidDetectBarcodes in SBSDKBarcodeScannerViewControllerDelegate. Now void DidDetectBarcodes(SBSDKBarcodeScannerViewController controller, SBSDKBarcodeScannerResult[] codes) is void DidDetectBarcodes(SBSDKBarcodeScannerViewController controller, SBSDKBarcodeScannerResult[] codes, UIimage image).
  • ⚠️ Breaking changes:
    • Removed BarcodeImageGenerationType from BatchBarcodeScannerConfiguration.
    • Removed All option from UIInterfaceOrientation and replaced it with None.
  • 🚙 Under the hood:
    • Updated the native Android Scanbot Barcode Scanner SDK to 3.3.1 (cf. changelog).
    • Updated the native iOS Scanbot Barcode Scanner SDK to 3.3.0 (cf. changelog).
    • Updated Scanbot Xamarin SDK to v3.3.0 (cf. changelog).
    • Updated some third-party libraries.

Version 3.2.0 (30 May 2022)

  • 🎉 New:
    • Added support for CameraX on Android; you can set UseCameraXRtuUi to true in the SDK InitializationOptions
    • Added support for the GS1 barcode document format, see BarcodeDocumentFormat.Gs1
    • Android: added support for core native logging, useful for low-level debugging; you can set EnableNativeLogging to true in the SDK InitializationOptions to use it.
  • 🐞 Bug fixes:
    • iOS: Fixed a bug with wrong camera preview orientation when starting SBSDKBarcodeScannerViewController and SBSDKUIBarcodeScannerViewController in landscape orientation.
    • Android: Fixed an incorrectly thrown FileAccessException in ScanbotBarcodeScannerSDKInitializer when cleaning deprecated blob files.
  • ⚠️ Breaking changes:
    • Renamed Disability Certificate to Medical Certificate:
      • BarcodeDocumentFormat.DisabilityCertificate has been renamed to BarcodeDocumentFormat.MedicalCertificate
      • MissingFeature.DisabilityCertRecognition has been renamed to MissingFeature.MedicalCertificateRecognition
    • Barcode RTU-UI will always return an empty list of barcodes instead of a null object, when no barcodes are detected.
  • 🚀 Improvements:
    • Huge improvement on the speed and accuracy of barcodes recognition.
    • Android: Native libraries size decreased by more than 20%
    • iOS: Improved barcode image cropping.
  • 🚙 Under the hood:
    • Updated the native Android Scanbot Barcode Scanner SDK to 3.2.0 (cf. changelog).
    • Updated the native iOS Scanbot Barcode Scanner SDK to 3.2.0 (cf. changelog).
    • Updated Scanbot Xamarin SDK to v3.2.0 (cf. changelog).
    • Updated some third-party libraries.

Version 3.1.0 (9 Mar 2022)

  • See the release notes of ScanbotBarcodeSDK.Xamarin v3.1.0

Version 2.0.0 (18 Nov 2020)

  • ⚠️ Breaking changes:
    • Android: Dropped legacy SupportLibs, built with and for AndroidX See the release notes of ScanbotBarcodeSDK.Xamarin v2.0.0

Version 1.1.0 (6 Nov 2020)

  • See the release notes of ScanbotBarcodeSDK.Xamarin v1.1.0

Version 1.0.2 (03 August 2020)

  • See the release notes of ScanbotBarcodeSDK.Xamarin v1.0.2

Version 1.0.0 (03 Mar 2020)

  • 🎉 First release

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?