Demo App Try the fastest and most reliable Barcode Scanner SDK!

Download

Xamarin & Xamarin.Forms Barcode Scanner SDK

Mobile Data Capture for Xamarin & Xamarin.Forms Apps

Key Requirements

xamarin logo

Mobile Platform

  • Android 5.0 (API Level 21) and higher
  • iOS 11 or higher‍

Devices

  • Rear-facing camera with autofocus

‍Architecture

  • Android: armeabi-v7, arm64-v8a, x86, x86_64
  • iOS: arm64, x86_64

Development Tool

  • Latest version of Microsoft Visual Studio

Distribution Channels

  • NuGet Package (nuget.org)
  • Direct Download

Specific Notes for iOS Development

  • macOS with the latest Xcode and Command Line Tools

Test the Scanbot SDK in our Barcode Scanning Demo App

QR Code Barcode Scanner SDK for Scanbot SDK

Why Scanbot SDK?

Barcode accuracy

Fast & reliable

The Scanbot Barcode Scanner scans barcodes fast and reliably, creating a flawless scanning experience

Create a prototype in hours

You can create a first prototype in just a few hours with our detailed documentation and testing projects

Slack icon

Developer support via Slack/Teams

Our developers will help you solve any problems you may encounter

100% offline

The Scanbot SDK uses on-device intelligence only, making the solution GDPR & CCPA/CAAP compliant

Easily integrate the Xamarin Barcode Scanner into your mobile app

Adding the Xamarin Barcode Scanner SDK to your app takes just one day thanks to adjustable ready-to-use user interface components that include user guidance for a frictionless barcode scanning process. Enable your app to extract information from all popular 1D and 2D barcode formats with GDPR- and CCPA-compliant software components.

Reliable detection within 0.2 seconds, even with damaged codes, poor lighting, or bad angles. Create a new user experience for highest customer and employee satisfaction. Scanning barcodes has never been this easy.

 

Getting Started with Scanbot Xamarin and Xamarin.Forms Barcode Scanners

Scanbot Xamarin and Xamarin.Forms Barcode Scanner SDKs are available as NuGet packages. You can easily integrate Xamarin and Xamarin.Forms Barcode Scanner into your app.

Getting Started with Scanbot Xamarin.Forms Barcode Scanner

You can start integrating the Scanbot Barcode Scanner SDK for cross-platform app development with Xamarin.Forms for both Android and iOS as below:

var configuration = new BarcodeScannerConfiguration();
BarcodeResultBundle result = await 
SBSDK.Scanner.Open(configuration);

You can configure the 1D and 2D barcode types that you want to recognize:

configuration.AcceptedFormats = new List
{
	    BarcodeFormat.Aztec,
	    BarcodeFormat.Codabar,
	    BarcodeFormat.Code128,
	    BarcodeFormat.Code39,
	    BarcodeFormat.Code93,
	    BarcodeFormat.DataMatrix,
	    BarcodeFormat.Ean13,
	    BarcodeFormat.Ean8,
	    BarcodeFormat.Itf,
	    BarcodeFormat.Pdf417,
	    BarcodeFormat.QrCode,
	    BarcodeFormat.Rss14,
	    BarcodeFormat.RssExpanded,
	    BarcodeFormat.Unknown,
	    BarcodeFormat.UpcA,
	    BarcodeFormat.UpcE,
	    BarcodeFormat.MsiPlessey
};

Also, you can customize the UI style of your Xamarin and Xamarin.Forms Barcode Scanners like below:

configuration.FinderWidth = 300;
configuration.FinderHeight = 200;
configuration.FlashEnabled = true;
configuration.TopBarBackgroundColor = Color.Accent;
configuration.FinderTextHint = "Custom hint text...";
// further configurations...

Getting Started with Scanbot Xamarin Barcode Scanner

You can start integrating the Scanbot Barcode Scanner SDK for native app development with Xamarin for both Android and iOS as below:

Xamarin Android:

var configuration = new BarcodeScannerConfiguration();
var intent = BarcodeScannerActivity.NewIntent(this, configuration);
StartActivityForResult(intent, REQUEST_CODE);

Xamarin iOS:

var configuration = SBSDKUIBarcodeScannerConfiguration.DefaultConfiguration;
BarcodeResultReceiver receiver = new BarcodeResultReceiver();
SBSDKUIBarcodeScannerViewController.PresentOn(this, acceptedBarcodeTypes, configuration, receiver);

You can check our Xamarin documentation for further information on customization and configuration.

Complete example projects

To get off to a flying start, check out our GitHub repository. There, you can find full example projects on Xamarin and Xamarin.Forms

They demonstrate the integration of all API methods of the Scanbot Xamarin and Xamarin.Forms Barcode Scanner SDKs, such as 1D and 2D barcode scanning, UI customization, and more.

Available on all major platforms

Frequently Asked Questions

Didn’t find what you were looking for? Please refer to our FAQs.

How do I scan a barcode in Xamarin?

You can scan a barcode in Xamarin by adding a Barcode Scanner SDK to your Xamarin-based mobile app, allowing your users to detect barcodes and extract the encoded information with their smartphone or tablet cameras.

What is Xamarin.forms?

Xamarin.Forms is a cross-platform framework that delivers a way to simply create native apps for iOS, Android, Windows, and macOS, entirely in C#.