Mobile Scanner

Scan barcodes and QR codes.

A button to open the camera and capture barcodes using the device's camera. It supports skipping and confirmations for continuous scanning.

Scanner

Properties

Available properties for Mobile Scanner. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.

autoClose boolean

Whether to close the scanner after a single scan or continue scanning barcodes until manually closed.

buttonSize 'small' │ 'large'

The size of the component.

buttonText string

The size of the rendered text.

data object[]

The source data that is rendered by the component.

disabled boolean

Whether the component is disabled to prevent user interaction.

iconAfter IconKey

The icon to display after the primary content.

iconBefore IconKey

The icon to display before the primary content.

id string

The name of the component.

opened boolean

Whether the component is currently open

pluginType string

The component type.

width 'full' │ 'fixed'

Whether the component's width is full or fixed.

Supported barcodes

Mobile Scanner supports a range of barcode formats on iOS and Android.

NameShort nameiOSAndroid
Aztec Codeaztec
Codabarcodabar
Code 39code39
Code 39 with 43 check digitcode39mod43
Code 93code93
Code 128code128
Data Matrixdatamatrix
EAN-13ean13
EAN-8ean8
Interleaved 2 of 5interleaved2of5
ITF-14itf14
MaxiCodemaxicode
PDF417pdf417
RSS 14rss14
RSS Expandedrssexpanded
UPC-Aupc_a
UPC-Eupc_e
UPC/EAN-13upc_ean
QRqr