Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for React Native

Upgrade the Scandit Barcode Scanner SDK

How to upgrade from a test to a production Scandit Barcode Scanner SDK edition

If you upgrade from the test to one of the enterprise or professional editions you only need to replace the license key to enterprise/professional edition. Please contact us for more details.

How to upgrade to a new version of the Scandit Barcode Scanner

Whenever you update to the newest version you simply need to remove the already installed plugin and install the new version.

1 > cd <directory of your project>
2 > rm -rf node_modules/scandit-react-native/
3 > yarn install

How to use the Scandit Barcode Scanner with React Native newer than 0.60.0

For Android, you have nothing to do. On iOS, follow the following steps:

  • Download the iOS SDK from Scandit's website.
  • Copy the ScanditBarcodeScanner.framework file to the <directory_of_your_project>/node_modules/scandit-react-native/ios/ScanditBarcodeScanner/Frameworks/ folder (you probably need to create the Frameworks folder).
  • From the Finder, go to ScanditBarcodeScanner.framework/Resources and drag and drop ScanditBarcodeScanner.bundle inside the Frameworks folder (the one in the main project, not the one inside the Pods project) in Xcode (choose not to copy items).

How to use the Scandit Barcode Scanner with Expo, starting with version 34

For Android, you have nothing to do. On iOS, follow the following steps:

  • Download the iOS SDK from Scandit's website.
  • Copy the ScanditBarcodeScanner.framework file to the <directory_of_your_project>/node_modules/scandit-react-native/ios/ScanditBarcodeScanner/Frameworks/ folder (you probably need to create the Frameworks folder).
  • Link the plugin manually: react-native link.
  • Go into the project's ios folder and run pod install.
  • From the Finder, go to ScanditBarcodeScanner.framework/Resources and drag and drop ScanditBarcodeScanner.bundle inside the Frameworks folder (the one in the main project, not the one inside the Pods project) in Xcode (choose not to copy items).