Skip to main content

Introduction | React Native Barcode Scanner

The Scanbot Barcode Scanner SDK for React Native brings barcode scanning capabilities to your mobile Android and iOS apps. For more details visit our website.

Our Barcode Scanner SDK React Native Module is based on the native Scanbot Barcodes SDKs for Android and iOS and provides ready-to-use UI screen components.

Features#

The following functionality is covered by this React Native module:

  • Scanning of 1D and 2D barcodes via ready-to-use scanner UI
  • Recognition of 1D and 2D barcodes on still images (e.g. JPG files)
  • Support for multiple barcode scanning and recognition

Supported Barcode Types#

1D Barcodes#

2D Barcodes#

tip

You might also be interested in an overview in our blog post Types of barcodes and their usage.

Data parsers#

The following data parsers are currently supported:

  • AAMVA: Parse the AAMVA data format from PDF-417 barcodes on US driver’s licenses. See AAMVADocument.
  • Boarding pass data from PDF-417 barcodes. See BoardingPassDocument.
  • Parser for German Medical Certificates (aka. Disability Certificate or AU-Bescheinigung) coded in a PDF-417 barcode. See DEMedicalPlanDocument.
  • Data from PDF-417 barcodes on ID Cards. See IDCardPDF417Document.
  • 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. See SEPADocument.
  • vCard data from a QR-Code (e.g. on business cards). See VCardDocument.
  • Swiss QR data from a QR-Code. See SwissQRDocument.

Requirements#

Dev Tools#

  • Node.js, npm
  • For Android apps:
    • Android SDK (API Level 21+), Platforms and Developer Tools
  • For iOS apps:
    • macOS X with latest Xcode and Command Line Tools
    • CocoaPods

React Native Framework#

  • React Native 0.60+

Mobile Platforms#

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

Please note:

  • The Scanbot SDK module is available only for Android and iOS
  • The module does not work on other platforms like Windows Phone, Desktop or WebApps
  • We do not support rooted Android devices (custom ROMs)

Mobile Devices#

  • Smartphones and Tablets with a rear-facing camera with autofocus
  • Supported CPUs and Architectures:
    • Android: armeabi-v7, arm64-v8a, x86, x86_64
    • iOS: arm64 for physical devices and x86_64 for simulators

No Internet Connection Required#

The Scanbot SDK works completely offline. It does not even contain any networking code. This can easily be verified by routing all networking traffic coming from the app through a proxy. All data generated by the Scanbot Barcode Scanner SDK is only stored on the end user's device and in absolutely no case ever transferred to a server / cloud service controlled by us. You as the customer will need to take care of uploading the scans / data to your backend, if desired.

Simulators / Emulators#

While it is possible to test your app with the Scanbot SDK on simulators/emulators, we strongly recommend using real Android/iOS devices. Depending on the emulated camera you may not be able to test/evaluate the full functionality of the Scanbot SDK.

Example Apps#

Check out our Example App on GitHub:

Get in Touch#

If you need further information or are interested in licensing the Scanbot SDK please get in touch with our solution experts.