Skip to content

Integrate the React Native Document Scanner SDK from Scanbot SDK into your project

Notifications You must be signed in to change notification settings

doo/scanbot-sdk-example-react-native

Repository files navigation

Scanbot Barcode & Document Scanning Example App for React Native

This example app shows how to integrate the Scanbot Barcode Scanner SDK, Scanbot Document Scanner SDK, and Scanbot Data Capture SDK for React Native.

The Scanbot SDK React Native Module is available as an npm package.

For more details please see this documentation.

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.

Documentation

👉 Scanbot SDK documentation

How to run this app

Set up Environment

Note: Make sure you have completed the React Native - Environment Setup before proceeding.

Testing on an actual device is essential, so ensure you have one available.

Install node modules

yarn install

Prepare iOS

If Cocoapods are not installed locally the following command should be run

bundle install

and then we can install the pods

cd ios
bundle exec pod install

or if pods are installed

cd ios
pod install

Signing

  • Open the workspace file ScanbotBarcodeExampleReact.xcworkspace (not .xcodeproj) from the ios directory in Xcode.
  • Adjust Provisioning and Signing settings.

Run on Android

react-native run-android

Run on iOS

react-native run-ios
Still at a loss? It is probably a cache issue
yarn run clean
  • npm cache clean --force && watchman watch-del-all
  • Restart metro server!