Skip to content

New Formats Parameter#110

Open
jmevangelist wants to merge 8 commits intotjwoon:masterfrom
jmevangelist:master
Open

New Formats Parameter#110
jmevangelist wants to merge 8 commits intotjwoon:masterfrom
jmevangelist:master

Conversation

@jmevangelist
Copy link
Copy Markdown

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