Run our Sample Apps
The best way to start working with the Scandit Data Capture SDK is to run one of our sample apps. In this guide we will go through the available apps and how to run them.
Available Samples
We have created both simple and advanced samples that show you how use various features of the Scandit Data Capture SDK. The simple samples allow you to get going quickly, while the advanced samples show you how to use additional settings and setup the scanner for the best user experience.
Here’s a list of our available samples on Capacitor:
Run the Samples
Before you can run a sample app, you need to go through a few simple steps:
Sign in to your Scandit account and download the newest Capacitor plugins at ssl.scandit.com/sdk. Unzip the archive and go to the samples folder.
Set the license key. To do this, sign in to your Scandit account and find your license key at ssl.scandit.com/licenses.
Once you have the license key, add it to the sample that you’d like to run:
Scandit.DataCaptureContext.forLicenseKey('-- ENTER YOUR SCANDIT LICENSE KEY HERE --')
Install the dependencies for the sample.
> yarn install > yarn build # iOS > npx cap sync # Android > npx cap update android > npx cap sync
Run the sample. We recommend running the samples on a physical device as otherwise no camera is available.
> npx cap open ios # or > npx cap open android
Note
You probably need to setup signing for iOS.
Barcode Capture Samples
Basic sample that uses the camera to read a single barcode. |
Coming Soon |
Coming Soon |
Barcode Selection Samples
Basic sample that uses the Barcode Selection API. |
Demonstrates how you can adapt the barcode selection settings best to your needs and experiment with all the options. |
MatrixScan Samples
Very simple sample which shows how you can highlight barcodes on screen with the Scandit Data Capture SDK. |
Demonstrates the use of more advanced augmented reality use cases with the Scandit Data Capture SDK. |
ID Capture Samples
A basic ID Capture setup to scan front of ID Cards and barcodes from AAMVA documents. |
Text Capture Samples
A basic Text Capture setup to recognize GS1 and LOT and integrate the parser. |
All our samples can be found in the archive that can be downloaded from our dashboard. Check the following section for more details.