Skip to main content

Changelog | MAUI Barcode Scanner

MAUI - Version 4.2.1 (25 Mar 2024)

  • 🎉 New:
    • Added new events for ScanbotSDK.MAUI.ClassicComponent.BarcodeScannerView:
      • OnBarcodeScanResult, triggered after a barcode scan result is obtained;
      • OnSelectBarcodeResult, which occurs when a barcode result is selected.
  • 🚀 Improvements:
    • Previously targeting .NET 7, now supports both .NET 7 and .NET 8.
  • 🐞 Bug Fixes:
    • Namespace issues in the classic component resolved;
    • The OverlayTextFormat property is now consistently reflected across platforms.
  • ⚠️ Breaking Changes:
    • Changes in SelectionOverlayConfiguration:
      • PolygonColor has been renamed to StrokeColor.
      • HighlightedPolygonColor has been renamed to HighlightedStrokeColor.
    • BarcodeScannerView.OverlayTextEnabled is set to true by default.
  • 🚙 Under the hood:
    • The native Scanbot iOS SDK upgraded to v4.2.2.

MAUI - Version 4.2.0 (6 Mar 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.
    • Added new components ScanbotSDK.MAUI.ClassicComponent.BarcodeScannerView and ScanbotSDK.MAUI.ClassicComponent.BarcodeScanAndCountView. It's recommended to utilize .NET 8 as your target platform because .NET 7 has issues with its Shell control which affect our Classic Component.
    • Formatted barcode documents are now exposed on barcodes via a new property called FormattedResult, which contains strongly typed records of the data contained within the barcode. The new record types include:
      • AAMVADocument
      • DEMedicalPlanDocument
      • Gs1Document
      • IDCardPDF417Document
      • MedicalCertificateDocument
      • SEPADocument
      • SwissQRDocument
      • VCardDocument
      • BoardingPass
    • Added CameraZoomRange in BarcodeScannerConfiguration and BatchBarcodeScannerConfiguration.
  • 🚀 Improvements:
    • Improved the speed of barcode recognition for most barcode symbologies.
    • Improved contour lines detection with ML Based detection.
  • 🐞 Bug fixes:
    • Android:
      • Optimized camera functionalities in ScanbotCameraXView.
  • ⚠️ Breaking changes:
    • 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:
    • iOS:
      • Added new methods in SBSDKCameraDevice class for camera and licensing functionalities.
    • The native Scanbot iOS SDK upgraded to v4.2.1.
    • The native Scanbot Android SDK upgraded to v4.2.0.

MAUI - Version 4.0.0 (9 Jan 2024)

  • 🚀 Improvements:
    • Improved the speed of barcode recognition for most barcode symbologies.
    • No need to call DependencyManager.RegisterServices in platform specific start-up code. Services are registered as soon as the SDK is initialized.
  • 🐞 Bug fixes:
    • Both iOS and Android:
      • InitialScanDelay only used some portions of the TimeSpan object (seconds for iOS, milliseconds for Android). Now the full total is used.
      • AutoCancelTimeout removed from BatchBarcodeScannerConfiguration as it is only currently supported for the regular barcode scanner via BarcodeScannerConfiguration.
    • Android:
      • Before, for certain invalid decodings of QR and MicroQR codes, an exception was thrown from ZXing. Now we rigorously treat this as a format error.
      • Before, we returned BarcodeFormat.Code25 results when BarcodeFormat.Industrial2Of5 was enabled and BarcodeFormat.Code25 was disabled. Now, we do not return the BarcodeFormat.Code25 result for such decoding options.
      • AutoCancelTimeout only used the seconds portion of the TimeSpan object. Now the total number of seconds is correctly used.
    • iOS:
      • Fixed a crash when denying camera permission.
      • Fixed issue with ScanbotBarcodeSDK.BarcodeService.OpenBarcodeScannerView in which the default title of the confirm button was set to the default title of the retry button.
      • AutoCancelTimeout is now applied correctly when using ScanbotBarcodeSDK.BarcodeService.OpenBarcodeScannerView.
  • ⚠️ Breaking changes:
    • All types under the BarcodeSDK namespace have been moved to the ScanbotSDK namespace.
  • 🚙 Under the hood:
    • The ScanbotBarcodeSDK.NET package is no longer referenced as a dependency. All needed files and dependencies are included directly in the package.
    • BarcodeSDK.MAUI.iOS and BarcodeSDK.MAUI.Droid assemblies merged into one assembly named BarcodeSDK.MAUI.
    • The native Scanbot Android SDK upgraded to v4.0.1.
    • The native Scanbot iOS SDK upgraded to v4.0.3.

MAUI - Version 3.7.0 (5 Oct 2023)

  • 🎉 New:
    • More supported barcode types:
      • Micro QR Code
    • Support for configuring a confirmation dialog for the Barcode Scanner Ready-To-Use UI Component.
  • 🚀 Improvements:
    • Improved accuracy and detection speed of QR_CODE, Code39, and Code93 barcode types.
    • Added support for inverted PDF-417 barcodes.
  • 🐞 Bug fixes:
    • BarcodeSDK.MAUI.ScanbotBarcodeSDK.LicenseInfo now returns the correct license status.
    • Fixed iOS-specific issue with barcode RTU-UI components not scanning on first use.
    • For BarcodeSDK.MAUI.ScanbotBarcodeSDK.DetectionService.DetectBarcodesFrom:
      • Fixed NullReferenceException when using a null ImageSource (usually from a cancelled image selection).
      • Fixed iOS-specific issue with barcodes not being scanned when no configuration is provided.
      • Fixed Android-specific issue with the method always returning null when using the ImageSource overload.
  • ⚠️ Breaking changes:
    • Renamed the BarcodeSDK.MAUI.Constants.OverlayFormat enum to BarcodeSDK.MAUI.Constants.BarcodeTextFormat.
      • Any types which use the enum have also been updated, such as BarcodeSDK.MAUI.Configurations.SelectionOverlayConfiguration.
    • If using named parameters for BarcodeSDK.MAUI.Configurations.SelectionOverlayConfiguration, the misspelled automaticSelectionEnaled parameter has been renamed to automaticSelectionEnabled.
  • 🚙 Under the hood:
    • The native Scanbot Android SDK upgraded to v3.7.0.
    • The native Scanbot iOS SDK upgraded to v3.7.1.

MAUI - Version 3.6.0 (20 July 2023)

  • 🎉 First release of the ScanbotBarcodeSDK.MAUI NuGet package.
  • Provides Ready-To-Use UI Components - a set of easy to integrate and customize high-level MAUI components for the most common tasks in Scanbot Barcode SDK:
    • Barcode & QR Code Scanning
    • Batch Barcode Scanning.
  • Provides additional SDK features based on image picked from the device photos application:
    • Detect Barcodes on Image
  • New unified Scanbot SDK API:
    • Idiomatic asynchronous design
    • MAUI-based unified API for Android & iOS
  • Example App demonstrating the new functionality: scanbot-barcode-sdk-maui-example

Want to scan longer than one minute?

Generate your free "no-strings-attached" Trial License and properly test the Scanbot SDK.

Get your free Trial License

What do you think of this documentation?