Skip to main content

License Handling | React Native Barcode Scanner

In order to run the Scanbot Barcode SDK functionality within your production app, you have to purchase and use a valid Scanbot Barcode SDK license. Each license key is valid only for a given app bundle identifier. You will be unable to use any of the SDK features if the license key is corrupted, expired or invalid in any other way.

Getting a Trial license

The Scanbot SDK will run without a license for one minute per session! To get a free, "no-strings-attached" 7-day trial license, please submit the Trial License Form on our website.

Please kindly note that a trial license can only be used in a development and staging environment. You are not allowed to publish your app to the App Store, Play Store, or any 3rd party Android App Store with a trial license.

Purchase a Production License

To get pricing information and purchase a production license for the Scanbot SDK, please request a quote.

License checks in production apps

If your Scanbot Barcode Scanner SDK license has expired, any call of the Scanbot Barcode Scanner SDK API will result in a promise rejection. To prevent this you should always check for license expiration during the runtime by calling the method ScanbotBarcodeSDK.getLicenseInfo(). If isLicenseValid returns false, you should disable any usage of the Scanbot SDK functions or UI components.

Scanbot Barcode Scanner SDK License Status Check
loading...

Check the LicenseInfoResult interface properties here and the LicenseStatus type here.

Updating the license in production apps

The expiration date and the feature list of a license are contained in an encrypted data part of the license key string. This means a renewal or extension of a license will cause a new license key string to be generated.

To renew an expired license or extend a valid license with additional Scanbot SDK features, you will have to deploy a new version of the app with updated license key.

Alternatively, the new key may be dispatched via Firebase Remote Config or loaded from your Web API, but we do not provide an out-of-the box solution for this.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?