Skip to main content

Scan Configuration

The scan configuration lets you automatically transform barcodes before they are passed to the app. You define rules that determine when a configuration applies, and actions that modify the scanned text.

Where to find it

Settings → Keyboard → Scan Configuration


How it works

Barcode scanned


Which rule matches? ──► matching configuration found


Execute actions in order


Pass result to app

Each configuration consists of:

  1. Name – shown in the overview list
  2. Rule – when does this configuration apply?
  3. Actions – what should happen to the barcode?

Creating a configuration

  1. Open Scan Configuration in settings
  2. Tap Add scan configuration
  3. Enter a name (e.g. "EAN-13")
  4. Choose a rule (e.g. "Exact – 13 characters")
  5. Add one or more actions
  6. Tap Save

Rules

The rule defines which barcodes this configuration applies to. If multiple configurations match, the most specific rule wins.

Rule priority

PriorityRule types
HighestExact, Starts with, Ends with, Contains, Length range
MediumAt most, At least
LowestDefault (fallback)

Rule types

RuleDescriptionParameter
DefaultAlways applies when no other rule matches
ExactOnly when the barcode length is exactly X charactersNumber X
At mostWhen the length is ≤ XNumber X
At leastWhen the length is ≥ XNumber X
Length rangeWhen the length is between min and max (inclusive)Min, Max
Starts withWhen the barcode starts with a specific textText
Ends withWhen the barcode ends with a specific textText
ContainsWhen the barcode contains a specific textText
Example

You have EAN-13 barcodes (always 13 characters) and EAN-8 barcodes (always 8 characters). Create two configurations with rule Exact 13 and Exact 8 — each applies only to the matching type.


Actions

Actions modify the scanned text. They are executed in the displayed order — the result of one action is the input for the next.

The order can be changed via drag & drop (long-press the handle icon ☰ on the left).

Remove characters

ActionDescriptionParameterExample
Cut first charactersRemoves the first X charactersCount0012341234 (X=2)
Cut last charactersRemoves the last X charactersCount12345678123456 (X=2)
Use first charactersKeeps only the first X charactersCountABCDEFABC (X=3)
Use last charactersKeeps only the last X charactersCountABCDEFDEF (X=3)
Extract substringCopies X characters starting at position PPosition, CountABCDEFBCD (P=1, X=3)
Counting positions

Positions start at 0. The first character is at position 0, the second at position 1, and so on.

Add text

ActionDescriptionParameterExample
Add first charactersPrepends textText1234ART-1234
Add last charactersAppends textText12341234-DE
Insert separator at positionInserts text at position PPosition, Text123456781234-5678 (P=4)

Replace text

ActionDescriptionParameterExample
Replace textReplaces all occurrences of a search termSearch, Replace00-12-0000.12.00

Zeros

ActionDescriptionExample
Remove leading zerosRemoves zeros at the beginning0004242
Remove trailing zerosRemoves zeros at the end4200042

Padding

ActionDescriptionParameterExample
Pad leftPads to target length N with character C from the leftLength, Char4200042 (N=5, C=0)
Pad rightPads to target length N with character C from the rightLength, Char4242000 (N=5, C=0)

Case conversion

ActionDescriptionExample
UppercaseConverts all characters to uppercasearticleARTICLE
LowercaseConverts all characters to lowercaseARTICLEarticle

Combining actions

Actions are executed one after another. The output of each action becomes the input of the next.

Example: Prepare EAN-13 for inventory system

Barcode: 4006381333931

StepActionResult
1Cut first characters (X=1)006381333931
2Cut last characters (X=1)00638133393
3Remove leading zeros638133393
4Add first characters: ART-ART-638133393

Deleting a configuration

Tap the red trash icon on the right side of a configuration in the overview list. A confirmation dialog appears before the configuration is permanently deleted.


Frequently asked questions

What happens if no rule matches? If no configuration applies and there is no Default entry, the barcode is passed through unchanged.

Can multiple configurations match the same barcode? Yes — only the highest-priority configuration is applied. If two configurations have the same priority, the one higher up in the list wins.

Does the order of configurations in the list matter? Only when two configurations have the same rule priority — in that case, the one listed first takes precedence.

Can actions result in an empty barcode? Yes. If, for example, all characters are cut, an empty string is passed to the app.