Scanning GS1 barcodes

GS1-128 and GS1 DataMatrix barcodes encode the GTIN, lot number, expiration date, and serial number into a single label. The app reads them in one shot.

  1. Tap the Scan tab. The live camera preview opens with a target frame.
  2. Point the camera at the barcode. Recognition is automatic — there's no shutter button.
  3. After the barcode resolves, the recognized-product card appears with each parsed Application Identifier (AI) the decoder found: GTIN (AI 01), lot (AI 10), expiration (AI 17), and serial (AI 21) when present.
  4. If the GTIN matches an existing supply (or the FDA GUDID database), the product name and manufacturer prefill. Adjust the Quantity, then tap Save to commit the scan to inventory.
GS1 recognized product card

The screenshot above is the post-scan recognized-product card. The live camera preview that precedes it is omitted because the camera plugin can't run in the screenshot harness — but the card shown here is the production widget the user actually interacts with.