Skip to content

doo/scanbot-barcode-scanner-sdk-example-react-native

Repository files navigation

Scanbot Barcode Scanner SDK React Native Examples

These example apps demonstrate how to integrate the Scanbot Barcode Scanner SDK for Android and iOS with React Native

What is Scanbot Barcode Scanner SDK?

The Scanbot Barcode Scanner SDK brings barcode scanning capabilities to your mobile apps. It provides functionality for scanning 1D and 2D barcodes, like EAN, UPC, QR code, Data Matrix, PDF 417, etc. For more details visit our website https://scanbot.io

The SDK for React Native is available as an npm package:

Installation

  • npm install
  • cd ios && pod install
  • react-native run-ios --device or react-native run-android
  • Open the workspace file ScanbotBarcodeExampleReact.xcworkspace (not .xcodeproj) from the ios directory in Xcode.
  • Adjust Provisioning and Signing settings.
  • And run the app in Xcode or via react-native run-ios.

Requirements

Built using

  • react-native-cli latest
  • node v12.13.0
  • npm v6.12.0

What else can go wrong?

Pod not found

pod repo update

Still at a loss? It is probably a cache issue
  • npm cache clean --force
  • Restart metro server! (Yes, apparently that thing has its own cache as well)

Documentation

For more details about the Scanbot Barcode Scanner SDK for Xamarin please see this documentation.

Please note

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

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

To get an unrestricted, "no-strings-attached" 30-day trial license, please submit the Trial License Form on our website.