Scanbot SDK has been acquired by Apryse! Learn more

Learn more
Skip to content

Ionic QR Code Scanner

Add fast, reliable QR code scanning to your Ionic apps with the Scanbot Ionic QR Code Scanner SDK. Easily integrate real-time scanning across iOS and Android platforms using native Ionic plugins.

Trusted by 400+ global
industry leaders

Thalia Logo Logo United Airlines blue Volvo Customer Shiseido Customer Procter & Gamble Customer Generali Success Story Deutsche Telekom Case Study Deutsche Bahn Success Story AXA Success Story ArcBest Customer Thalia Logo Logo United Airlines blue Volvo Customer Shiseido Customer Procter & Gamble Customer Generali Success Story Deutsche Telekom Case Study Deutsche Bahn Success Story AXA Success Story ArcBest Customer
Mobile barcode scanner SDK scanning a QR code for a 25% discount coupon.

Real-time AR feedback

With the Ionic QR Code Scanner SDK, you can overlay important information on the screen during scanning – making the process even easier for your users.

Barcode scanning on a mobile phone. JavaScript Barcode Scanner SDK scanning a shipping label.

QR code scanning in challenging conditions

The Ionic QR Code Scanner SDK is optimized to reliably work in challenging environments, such as:

  • Damaged QR codes
  • Low-light environments
  • Tiny or distant QR codes

Customizable UI components

Our Ready-To-Use UI components cover all barcode scanning scenarios and are highly customizable. Learn more

Fast.
Very fast.
Every scan happens in 0.04s or less

Scans all major barcode types Code 39 Code 93 Code 32 Code 25 EAN-5 PDF417 GS1 DataBar Code 39 Code 93 Code 32 Code 25 EAN-5 PDF417 GS1 DataBar EAN-13 MSI Plessey EAN-2 Aztec Code rMQR Code Codabar UPC-A EAN-13 MSI Plessey EAN-2 Aztec Code rMQR Code Codabar UPC-A EAN-8 ISBN GiroCode GS1-128 Data Matrix IATA 2 of 5 EAN-8 ISBN GiroCode GS1-128 Data Matrix IATA 2 of 5 Code 128 Code 11 QR Code UPC-E Micro QR Code MaxiCode Code 128 Code 11 QR Code UPC-E Micro QR Code MaxiCode

Add a fast and reliable QR Code Scanner to your Ionic app

Easily integrate the Scanbot Ionic QR Code Scanner SDK into your hybrid applications. This powerful SDK provides APIs for scanning and parsing QR codes and other 2D barcodes, ensuring swift and accurate recognition in real-time for both iOS and Android platforms.

The Scanbot Ionic QR Code Scanner excels at reading QR codes, making it ideal for various applications in industries such as marketing, contactless payments, and access control. With Ready-To-Use UI Components, you can implement QR code scanning functionality quickly, requiring minimal coding effort. The scanner performs exceptionally well in challenging conditions, including low-light environments and when dealing with slightly damaged QR codes.

Need help? Reach out to our technical support team to help guide you through the integration process and ensure that your Ionic app takes full advantage of the Scanbot QR Code Scanner SDK.

Technical requirements

The Scanbot Ionic QR Code Scanner SDK has the following technical requirements:

 

  • Developer Tools:
    • NodeJS 18+
    • Capacitor CLI: Version 6+
    • For Android apps: Android Studio | 2025.1.3+, Android SDK (API Level 23+), Java SDK 17+, Android Gradle Plugin 8.9.1+ or Kotlin Plugin applied
    • For iOS apps: iOS 13+, macOS with Xcode 16.2+, Xcode Command Line Tools, Homebrew
  • Mobile Platforms:
    Android 6.0+ (API Level 23+) and iOS 13.0+
  • Hardware: A rear-facing camera with autofocus
  • Architectures
    • Android: armeabi-v7a, arm64-v8a, x86, x86_64
    • iOS: arm64, x86_64

Integrate this evening
with

Features

Discover common Ionic QR code scanning use cases

See how the scan modes of the Scanbot Ionic QR Code Scanner can improve your workflows.

  • Single Scanning

    Single Scanning mode captures one QR Code at a time. This mode is ideal for simple tasks such as re-ordering a product or looking up stock. An optional confirmation sheet lets users verify the scanned value before submitting.

  • Batch Scanning

  • Multi Scanning

  • Find & Pick

  • Scan & Count

Single Barcode Scanning SDK Batch Barcode Scanning Multi Barcode Scanner Find & Pick Barcode Scanner Scan & Count

How to integrate the Scanbot Ionic QR Code Scanner SDK using RTU UI

To integrate the Scanbot Capacitor Barcode Scanner SDK, add the SDK dependencies to your project, initialize the SDK with your license key, and launch a scanning mode via the Ready-To-Use UI.

 

Import

 

To use the RTU UI, import ScanbotBarcode and all related configurations and results from capacitor-plugin-scanbot-barcode-scanner-sdk.

 

Example: 

 

import {
  BarcodeScannerScreenConfiguration,
  ScanbotBarcode,
} from 'capacitor-plugin-scanbot-barcode-scanner-sdk';

async function startBarcodeScanner() {
  // Create the default configuration object.
  const config = new BarcodeScannerScreenConfiguration();

  // See further customization configs...

  const result = await ScanbotBarcode.startScanner(config);
}

 

Returns:

 

The BarcodeScannerUiResult class provides scanned items containing rich barcode data and extracted documents. Use its properties to retrieve text, format, and structured data.

 

import {
  ScanbotBarcodeSDK,
  BarcodeScannerScreenConfiguration,
  ScanbotBarcode,
} from 'capacitor-plugin-scanbot-barcode-scanner-sdk';

async function handleScanningResult() {
  // Start the barcode RTU UI with default configuration
  const scanningResult = await ScanbotBarcode.startScanner(new BarcodeScannerScreenConfiguration());

  // Check if the status returned is ok and that the data is present
  if (scanningResult.status == 'OK' && scanningResult.data) {
    // Loop through the scanned barcode items and extract the desired barcode data
    const requiredBarcodeInfo = scanningResult.data.items.map(({ barcode }) => ({
      format: barcode.format, // The format of the scanned barcode
      textValue: barcode.text, // The value of the barcode represented as a string
      rawValue: barcode.rawBytes, // The raw value of the barcode
      document: barcode.extractedDocument, // The embedded barcode document
    }));
  }
}

Frequently Asked Questions

What is an Ionic QR Code Scanner SDK?

An Ionic QR Code Scanner SDK is a software development kit that enables developers to integrate QR code and barcode scanning capabilities into their Ionic-based mobile applications, supporting both Android and iOS platforms.

How can I implement QR code scanning in my Ionic app?

To implement QR code scanning in your Ionic app, use a Scanner SDK like Scanbot that supports Ionic. First, install the SDK using npm or yarn. Then, import and initialize it in your app's main module. Use the SDK's API to create a scanning component or button. Implement the scanning functionality by calling the SDK's methods when the user activates the scanner, and handle the scan results in your code.

Is it possible to scan QR codes from images using an Ionic Scanner SDK?

Yes, many Ionic QR Code Scanner SDKs, including the Scanbot SDK, support scanning codes from static images as well as real-time camera scanning. This feature allows you to process QR codes from uploaded or stored images within your Ionic app, providing flexibility for various use cases, such as processing QR codes from screenshots or photos.

Can I use the Ionic QR Code Scanner SDK without an internet connection?

Yes, high-quality Ionic QR Code Scanner SDKs like the Scanbot SDK operate entirely offline. All code scanning and data processing occur locally on the device, ensuring data privacy and allowing for usage in areas with limited or no internet connectivity. This makes it ideal for apps that need to function in offline environments.

How do I customize the UI of the Ionic QR code scanner?

Most Ionic QR Code Scanner SDKs provide customizable UI components. You can typically adjust elements such as the scanner overlay color, scan area size, button styles, and custom messages. Look for SDKs that offer Angular components or Ionic-specific UI elements for seamless integration with your app's design. Refer to the SDK's documentation for specific customization options and methods tailored for Ionic development.

How can I improve QR code scanning performance in my Ionic application?

To achieve superior QR code scanning in your Ionic app, consider using a machine learning-based SDK solution. Unlike traditional algorithm-based scanners, ML-powered SDKs offer more robust and accurate scanning, especially in challenging conditions like poor lighting or with damaged codes. They typically provide faster recognition, higher accuracy, and improved performance across various devices. Look for Ionic-compatible SDKs that leverage the latest in AI and machine learning to enhance your app's scanning capabilities significantly.