Skip to content

@tauri-apps/plugin-barcode-scanner

Source: undefined

Aztec: "AZTEC";

Source: undefined

Codabar: "CODABAR";

Source: undefined

Not supported on iOS.

Code128: "CODE_128";

Source: undefined

Code39: "CODE_39";

Source: undefined

Code93: "CODE_93";

Source: undefined

DataMatrix: "DATA_MATRIX";

Source: undefined

EAN13: "EAN_13";

Source: undefined

EAN8: "EAN_8";

Source: undefined

GS1DataBar: "GS1_DATA_BAR";

Source: undefined

Not supported on Android. Requires iOS 15.4+

GS1DataBarExpanded: "GS1_DATA_BAR_EXPANDED";

Source: undefined

Not supported on Android. Requires iOS 15.4+

GS1DataBarLimited: "GS1_DATA_BAR_LIMITED";

Source: undefined

Not supported on Android. Requires iOS 15.4+

ITF: "ITF";

Source: undefined

PDF417: "PDF_417";

Source: undefined

QRCode: "QR_CODE";

Source: undefined

UPC_A: "UPC_A";

Source: undefined

Not supported on iOS.

UPC_E: "UPC_E";

Source: undefined

Source: undefined

Property Type Defined in
bounds unknown Source: undefined
content string Source: undefined
format Format Source: undefined

Source: undefined

Property Type Defined in
cameraDirection? "back" | "front" Source: undefined
formats? Format[] Source: undefined
windowed? boolean Source: undefined

type PermissionState = "granted" | "denied" | "prompt" | "prompt-with-rationale";

Source: undefined

function cancel(): Promise<void>;

Source: undefined

Cancel the current scan process.

Promise<void>


function checkPermissions(): Promise<PermissionState>;

Source: undefined

Get permission state.

Promise<PermissionState>


function openAppSettings(): Promise<void>;

Source: undefined

Open application settings. Useful if permission was denied and the user must manually enable it.

Promise<void>


function requestPermissions(): Promise<PermissionState>;

Source: undefined

Request permissions to use the camera.

Promise<PermissionState>


function scan(options?): Promise<Scanned>;

Source: undefined

Start scanning.

Parameter Type Description
options? ScanOptions -

Promise<Scanned>


© 2026 Tauri Contributors. CC-BY / MIT