目录

Getting Started

Quick Tutorial

Before developing your app, you can follow instructions in the codelab to experience how to quickly integrate Scan Kit into an app.

Development Environment

Development Process

Follow the steps in the following process when you develop an app.

No.

Step

Description

1

Integrating the HMS Core SDK

Integrate the HMS Core Scan SDK into your app.

2

Adding Permissions

Declare the required permissions in the info.plist file.

3

Building Scanning Capabilities

Call Scan Kit using one of the following modes: Default View for single-barcode scanning, Bitmap for scanning barcodes using the camera or from images, and Customized View that allows for customizing the scanning UI. For details, see Available Modes to Call Scan Kit.

4

Building the Barcode Generation Function

Convert character strings into 1D or 2D barcodes in 13 formats, including EAN-8, EAN-13, UPC-A, UPC-E, Codabar, Code 39, Code 93, Code 128, ITF-14, QR Code, DataMatrix, PDF417, and Aztec.

5

Parsing Barcodes

Parse barcode information in the input image. The information includes the barcode coordinates, original data, format, structured data, zoomValue, and more.