Skip to content

Conversation

jmevangelist
Copy link

Added "formats" parameter. To limit the barcode formats/types the plugin will scan.

Example:

{
    text_title: "OPTIONAL Title Text - default = 'Scan QR Code'", // Android only
    text_instructions: "OPTIONAL Instruction Text - default = 'Please point your camera at the QR code.'", // Android only
    camera: "front" || "back" // defaults to "back"
    flash: "on" || "off" || "auto" // defaults to "auto". See Quirks
    drawSight: true || false, //defaults to true, create a red sight/line in the center of the scanner view.
    formats: ["QRCODE","CODE128"]
}

Only works on android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant