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.
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#
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:
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.
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:
// ./lib/main.dart const String licenseKey = '-- ENTER YOUR SCANDIT LICENSE KEY HERE --' // and use it later with DataCaptureContext.forLicenseKey(licenseKey)
Install the dependencies:
flutter pub get
Build and run the samples. We recommend running the samples on a physical device as otherwise, no camera is available.
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.