Barcode Scanner

Sencha Web Application Client has a high-performance camera based barcode scanner that can quickly scan most known Symbologies including UPC, QRCode and EAN. The Barcode API is available on iOS, Android and Windows Phone. Our barcode API provides similar scan performance to dedicated hardware with out the complication and expense of an external device.

Example

The Barcode API consists of a single method scan that returns a promise. When called Sencha Web Application Client will invoke a full screen barcode scanner camera. The user can then scan any number of barcodes, in any of the supported formats. When they are done scanning the promise will resolve. The data returned will be an array of the codes scanned. The array can contain text or numeric values depending on the type of barcode scanned:

Ext.space.Barcode.scan().then(function(data) {
    log("Done scanning.");
    if (data) {
        log("Scanned " + data.length + " codes.");
        data.forEach(log);

    } else {
        log("No data returned ");
    }

}, function(error) {
    log("Error scanning: " + error);
});

We have a running barcode example app on our Examples Page.

Supported Symbologies

Format Example
UPC
QR Code
Aztec Code
Codabar
Code 128
Code 25
Code 39
Code 93
Data Matrix
Dot Code
GS1 Databar
PDF 417
Last updated