Skip to content

Integrate the Ionic Document Scanner SDK from Scanbot SDK into your project

Notifications You must be signed in to change notification settings

doo/scanbot-sdk-example-ionic-react

Repository files navigation

Scanbot Barcode & Document Scanning Example App for Capacitor with Ionic

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

The Scanbot SDK Cordova Plugin is available as an npm package.

For more details about the Scanbot SDK Cordova Plugin please refer to the 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 test the Scanbot SDK without crashing, 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

Requirements

Please check the full requirements for Capacitor.

Install

Install the node modules of this project:

cd scanbot-sdk-example-ionic-react/
npm install

Build

Build the web assets and sync with the Capacitor native projects:

npm run build
npx cap sync

Run

Connect an Android or iOS device via USB and run the app from IDE or Command Line Interface (CLI).

IDE

Open the native projects in corresponding IDEs (Android Studio or Xcode) and hit the "Run" button:

npx cap open android
npx cap open ios

CLI

Or alternatively run the projects via CLI (Android or iOS):

npx cap run android
npx cap run ios