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 Flutter:

Barcode Capture Samples#

Simple Sample

Views Sample

../_images/sample-bc-simple-1.png
../_images/sample-bc-simple-2.png
../_images/sample-bc-view-1.png
../_images/sample-bc-view-2.png

MatrixScan Samples#

Simple Sample

Bubbles Sample

../_images/sample-ms-simple-1.png
../_images/sample-ms-simple-2.png
../_images/sample-ms-bubble-1.png
../_images/sample-ms-bubble-2.png

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.

Text Capture Samples#

Text Capture samples are coming soon.

All our samples can be found in the archive that can be downloaded from our dashboard. Check the following section for more details.

Run the Samples#

Before you can run a sample app, you need to go through a few simple steps:

  1. Sign in to your Scandit account and download the newest Flutter plugins at ssl.scandit.com/sdk. Unzip the archive and go to the samples folder.

  2. Set the license key. To do this, sign in to your Scandit account and find your license key at ssl.scandit.com/licenses.

  3. Once you have the license key, add it to the sample that you’d like to run:

// ./lib/main.dart
const String licenseKey = '-- ENTER YOUR SCANDIT LICENSE KEY HERE --'


// and use it later with
DataCaptureContext.forLicenseKey(licenseKey)
  1. Install the dependencies:

flutter pub get
  1. Build and run the samples. We recommend running the samples on a physical device as otherwise, no camera is available.

flutter run

Note

You probably need to setup signing for iOS. To do this, open the Xcode project and setup signing in the project settings. You can also run the sample from Xcode by clicking the Build & Run button.

Next steps#

You are now ready to tackle the following guide: