This example app shows how to integrate the Scanbot Barcode Scanner SDK Flutter Plugin on Android and iOS.
For more details about the Plugin please see this documentation.
Scanbot Barcode Scanner SDK is a simple to use high level API, providing a collection of classes and functions for scanning and parsing 1D and 2D barcodes from your mobile device's camera or other image sources like your photo library.
The Scanbot SDK will run without a license for one minute per session!
After the trial period has expired, all SDK functions and UI components will stop working. You have to restart the app to get another one-minute trial period.
To try the Scanbot SDK without a one-minute limit, you can get a free “no-strings-attached” trial license. Please submit the Trial License Form on our website.
We provide free "no-strings-attached" developer support for the implementation & testing of the Scanbot SDK. If you encounter technical issues with integrating the Scanbot SDK or need advice on choosing the appropriate framework or features, please visit our Support Page.
- 1D Barcodes: Codabar, Code 39, Code 93, Code 128, IATA 2 of 5, Industrial 2 of 5, ITF, EAN-8, EAN-13, MSI Plessey, RSS 14, RSS Expanded (Databar), UPC-A, UPC-E.
- 2D Barcodes: Aztec, Data Matrix, PDF417, QR Code.
💡 Also check out our blog post Types of barcodes.
- AAMVA: Parse the AAMVA data format from PDF-417 barcodes on US driver's licenses.
- Boarding pass data from PDF417 barcodes.
- Parser for German Medical Certificates (aka. Disability Certificate or AU-Bescheinigung) coded in a PDF-417 barcode.
- GS1 encoded data from barcodes.
- Data from PDF-417 barcodes on ID Cards.
- Parse and extract data from XML of Data Matrix barcodes on Medical Plans (German Medikationsplan).
- Data parser of QR-Code values printed on SEPA pay forms.
- vCard data from a QR-Code (e.g. on business cards).
- Swiss QR data from a QR-Code for easy, automatic and efficient payments.
For more details please refer to the SDK documentation.
👉 Scanbot Barcode Scanner SDK documentation
Install Flutter and all required dev tools.
Fetch this repository and navigate to the project directory.
cd scanbot-barcode-scanner-sdk-example-flutter/
Fetch and install the dependencies of this example project via Flutter CLI:
flutter pub get
Connect a mobile device via USB and run the app.
Android:
flutter run -d <DEVICE_ID>
You can get the IDs of all connected devices via flutter devices
.
iOS:
Install Pods dependencies:
cd ios/
pod install --repo-update
Open the workspace(!) ios/Runner.xcworkspace
in Xcode and adjust the Signing / Developer Account settings.
Then build and run the app in Xcode.