This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader Android and iOS Editions.
- Supported OS: Android 5.0 (API Level 21) or higher.
- Supported ABI: armeabi-v7a, arm64-v8a, x86 and x86_64.
- Development Environment: Android Studio 3.4+ (Android Studio 4.2+ recommended).
- Supported OS: iOS 9.0 or higher.
- Supported ABI: arm64 and x86_64.
- Development Environment: Xcode 7.1 and above (Xcode 13.0+ recommended), CocoaPods 1.11.0+
Sample Name | Description | Programming Language(s) |
---|---|---|
HelloWorld |
This is a sample that illustrates the simplest way to recognize barcodes from video streaming with Dynamsoft Barcode Reader SDK and Dynamsoft Camera Enhancer SDK. | Java(Android)/Objective-C/Swift |
GeneralSettings |
This is a sample that illustrates how to make general settings when using Dynamsoft Barcode Reader and Dynamsoft Camera Enhancer. | Java(Android)/Objective-C/Swift |
PerformanceSettings |
In this sample, you will read about how speed, read rate and accuracy performance can be optimized when using Dynamsoft Barcode Reader and Dynamsoft Camera Enhancer. In addition, as one of the common usage scenarios, single barcode decoding settings are also illustrated in the sample. | Java(Android)/Objective-C/Swift |
ReadADriversLicense |
This is a sample that shows how to create a mobile app that focuses on decoding the drivers' license barcodes and displaying the parsed information. | Java(Android)/Swift |
DecodeWithCameraX |
This is a sample that shows how to integrate DBR and Android CameraX module to decode barcodes from camera. | Java(Android) |
DecodeWithAVCaptureSession |
This is a sample that shows how to integrate DBR and AVFoundation framework to decode barcodes from camera. | Objective-C/Swift |
-
Enter the sample folder, install DBR SDK through
pod
commandpod install
-
Open the generated file
[SampleName].xcworkspace
-
Download the Dynamsoft Barcode Reader SDK from Dynamsoft website.
-
Drag and drop the
DynamsoftBarcodeReader.framework
andDynamsoftCameraEnhancer.framework
into your Xcode project. Make sure to checkCopy items if needed
andCreate groups
to copy the framework into your projects' folder. -
Click on the project. Go to the
General --> Frameworks --> Libraries and Embedded Content
. Set the embed type toEmbed & Sign
. -
Import
DynamsoftBarcodeReader
andDynamsoftCameraEnhancer
- If you want to use an offline license, please contact Dynamsoft Support
- You can also request an extension for your trial license in the customer portal