Skip to content

doo/scanbot-barcode-sdk-maui-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Scanbot Barcode Example App for MAUI

This example app shows how to integrate the Scanbot Barcode Scanner SDK for MAUI and .NET (Native iOS and Android platforms).

The Scanbot SDK are available as a NuGet package for the MAUI and .NET platforms: ScanbotBarcodeSDK.MAUI ScanbotBarcodeSDK.NET

What is the Scanbot SDK?

The Scanbot SDK lets you integrate barcode & document scanning, as well as data extraction functionalities, into your mobile apps and website. It contains different modules that are licensable for an annual fixed price. For more details, visit our website https://scanbot.io.

Trial License

The Scanbot SDK will run without a license for one minute per session!

After the trial period has expired, all SDK functions and UI components will stop working. You have to restart the app to get another one-minute trial period.

To try the Scanbot SDK without a one-minute limit, you can get a free “no-strings-attached” trial license. Please submit the Trial License Form on our website.

Free Developer Support

We provide free "no-strings-attached" developer support for the implementation & testing of the Scanbot SDK. If you encounter technical issues with integrating the Scanbot SDK or need advice on choosing the appropriate framework or features, please visit our Support Page.

Supported Barcode Types

💡 Also check out our blog post Types of barcodes.

Supported Data Parsers:

  • AAMVA: Parse the AAMVA data format from PDF-417 barcodes on US driver's licenses.
  • Boarding pass data from PDF417 barcodes.
  • Parser for German Medical Certificates (aka. Disability Certificate or AU-Bescheinigung) coded in a PDF-417 barcode.
  • GS1 encoded data from barcodes.
  • Data from PDF-417 barcodes on ID Cards.
  • Parse and extract data from XML of Data Matrix barcodes on Medical Plans (German Medikationsplan).
  • Data parser of QR-Code values printed on SEPA pay forms.
  • vCard data from a QR-Code (e.g. on business cards).
  • Swiss QR data from a QR-Code for easy, automatic and efficient payments.

For more details please refer to the SDK documentation.

Requirements

Microsoft Visual Studio Developing native, cross-platform .NET Multi-platform App UI (.NET MAUI) apps requires Visual Studio 2022 17.3 or greater, or Visual Studio 2022 for Mac 17.4 or greater.

Documentation

The documentation of the current ScanbotBarcodeSDK.NET release can be found here

Build Instructions

Assuming you already have your development machine setup, the following commands will help you build and debug our projects:

.NET

iOS

To build the iOS example project for both net7.0-ios and net8.0-ios, forcing packages to be restored and everything to be compiled from scratch:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.NET.iOS.Example -r ios-arm64 --force --no-incremental

To run the project on a real device, specify a target framework with -f net8.0-ios and the Run target via -t:Run, yielding the following:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.NET.iOS.Example -r ios-arm64 -f net8.0-ios -t:Run --force --no-incremental

Android

To build the Android example project for both net7.0-android and net8.0-android, forcing packages to be restored and everything to be compiled from scratch:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.NET.Droid.Example --force --no-incremental

To run the project on a real device, specify a target framework with -f net8.0-android and the Run target via -t:Run, yielding the following:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.NET.Droid.Example -f net8.0-android -t:Run --force --no-incremental

MAUI

To build the MAUI example project for all supported target frameworks (net7.0-android, net7.0-ios, net8.0-android and net8.0-ios) and forcing packages to be restored and everything to be compiled from scratch, execute:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.MAUI.Example --force --no-incremental

To run the project on a real iOS device, specify a target framework with -f net8.0-ios and the Run target via -t:Run, yielding the following:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.MAUI.Example -f net8.0-ios -t:Run --force --no-incremental

To run the project on a real Android device, specify a target framework with -f net8.0-android and the Run target via -t:Run, yielding the following:

dotnet build ScanbotBarcodeSDKExample/BarcodeSDK.MAUI.Example -f net8.0-android -t:Run --force --no-incremental

Please note

The Scanbot SDK will run without a license for one minute per session!

After the trial period has expired all Scanbot SDK functions as well as the UI components (like the Document Scanner UI) will stop working or may be terminated. You have to restart the app to get another trial period.

To get a free "no-strings-attached" trial license, please submit the Trial License Form on our website.