Getting Started | Capacitor Barcode Scanner
Installation
The Barcode Scanner SDK Capacitor Module is available as an npm package.
You can simply add it to your project by npm install:
npm i capacitor-plugin-scanbot-barcode-scanner-sdk
And sync your project with:
npx cap sync
Permissions
If you are going to use any of our features that require the usage of the device's camera, you must grant camera permission.
Android (must be added in your android/app/src/main/AndroidManifest.xml
file)
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
iOS (must be added in your Info.plist
file)
<key>NSCameraUsageDescription</key>
<string>Provide access to the camera to detect barcodes.</string>
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.