Continuous Scanning

Continuous Barcode Scanning SDK

Scan barcodes continuously without restarting the scanner after each result. barKoder keeps the scanning session open, lets you decide how soon the same code may repeat, and runs on Android, iOS, the web and every major cross-platform framework.

Continuous Scanning Continuous Scanning

Scan barcodes continuously

Continuous scanning lets users scan barcode after barcode without manually restarting the scanner after each successful read. The camera stays open, results keep arriving in your app, and you control how the same barcode is handled when it appears again. It suits high-volume work where every extra tap slows the line down.

What continuous mode changes

  • The scanning session stays open after each result
  • Each decoded barcode goes straight to your result callback
  • A duplicate threshold decides if and when the same code is reported again
  • One or two settings on every SDK
Get a trial license key

Where rapid scanning pays off

Any workflow where users move from one item to the next:

  • Checkout lines
  • Shelf audits
  • Receiving and dispatch
  • Parcel intake
  • Picking
  • Medication rounds
  • Gate access control
  • Event check-in

For logistics teams, read How to evaluate a barcode scanner SDK for logistics and warehouse applications.

Control repeated scans of the same barcode

In continuous mode the same barcode can stay in view for several frames. The thresholdBetweenDuplicatesScans setting decides what happens, and the right value is a business decision: a stock count wants each code once, a checkout may need the same product twice.

thresholdBetweenDuplicatesScans values
ValueBehaviorFits
-1Ignores duplicates completely. Each barcode is scanned only once.Counting unique items
0Allows scanning the same barcode continuously, with no delay between scans.Repeated reads of one code
n > 0Allows scanning the same barcode again only after n seconds.Scanning the same product twice on purpose

The Web SDK sets the delay in milliseconds with Barkoder.setDuplicatesDelayMs().

Enable continuous scanning in two lines

Turn off closing the session on result and set the duplicate threshold. These examples are copied from the barKoder docs.

Android (Kotlin)

Kotlin
bkdView.config.isCloseSessionOnResultEnabled = false
bkdView.config.thresholdBetweenDuplicatesScans = 0 // it can take values -1, or n > 0

Flutter

Dart
_barkoder.setCloseSessionOnResultEnabled(false);
_barkoder.setThresholdBetweenDuplicatesScans(0); // it can take values -1, or n > 0

On React Native, the docs recommend turning off image and thumbnail results during continuous scanning, because returning them on Android causes performance issues:

JavaScript
barkoder.setImageResultEnabled(false);
barkoder.setBarcodeThumbnailOnResultEnabled(false);

Web (WASM)

JavaScript
Barkoder.setContinuous(true);

Or through configureBarkoder:

JavaScript
let config = new Barkoder.configTypes.BarkoderConfig({
    closeSessionOnResultEnabled: false
});

Barkoder.configureBarkoder(config);

In the web scanner, the decoder pauses after each result while the camera preview keeps running. Unpause it in the result callback of startScanner:

JavaScript
Barkoder.setPauseDecoding(false);

Continuous scanning examples: Android, iOS, Web, Flutter, React Native, Capacitor, Cordova, .NET MAUI and NativeScript.

Continuous scanning, Batch MultiScan or AR Mode

All three keep the scanner open. Pick the one that matches how many codes the user sees at once and how much feedback they need.

Which scan mode fits your workflow
ModeWhat the user doesKey settings
Continuous scanningMoves the camera from one barcode to the nextClose session on result off, duplicate threshold
Batch MultiScanCaptures many barcodes in one camera viewMaximum results count above 1, multi-code caching
AR ModeSees an overlay on every code and selects the ones they needAR mode, header display, Full HD and Slow decoding

Continuous barcode scanning across industries

Customer paying by scanning a QR code on a phone at a retail counter

Retail

Cashiers scan items in rapid succession without pausing for each barcode, which shortens queues. During inventory audits, staff scan whole shelves or sections and cut stocktaking time.

Barcode scanning for retail →
Warehouse aisle with tall pallet racks full of boxes, a continuous scanning use case

Warehousing

Workers scan boxes and pallets on the move, without stopping for each barcode. Receiving and dispatch keep moving, with fewer delays and errors.

Barcode scanning for warehousing →
Doctor reviewing patient paperwork, a healthcare use case for continuous scanning

Healthcare

Nurses and pharmacists scan several medications quickly, so patients get the right prescriptions without delay. The same flow tracks medical supplies and keeps essential items in stock.

Barcode scanning for healthcare →

High-volume scanning on the devices you already have

BYOD, no extra hardware

Turn employees' smartphones and tablets into barcode scanners, in the store, the warehouse or on the road. The Barcode Scanner by barKoder app was tested at Zebra's Global Enablement Center for compatibility with Zebra mobile computers, and barKoder is a Zebra Registered ISV Partner.

A scanner UI that fits your app

Adjust the scanner's look, overlays and feedback indicators to match your brand and workflow. For heavy web workloads, Web SDK 1.7.0 scans on two Web Worker threads by default and up to four when your app needs more processing power.

Building for a specific stack? See the Android Barcode Scanner SDK, iOS Barcode Scanner SDK, Web Barcode Scanner SDK and Cordova Barcode Scanner SDK pages.

Continuous scanning on every major platform

Continuous scanning is documented for native Android and iOS, the Web SDK and every cross-platform framework barKoder supports.

  • 7 native & desktop SDKs
  • 6 cross-platform integrations
  • One consistent scanning core

Continuous scanning in production

Teams that scan item after item, all day, with barKoder.

Penguin Pickup

Parcel network · Canada · Web SDK

Fewer retriesand faster first-pass scans

Partner shops and smart lockers scan parcels in the browser on laptops, tablets and phones. Continuous scan mode improved the operator flow and cut manual barcode entry.

Read the Penguin Pickup story →

Tiental

Security and access control

Faster captureat estate gates and mine access points

Replaced Google ML Kit, which wasn't fast or accurate enough, and now handles dense codes in sub-par conditions.

Read the Tiental story →

MIT Group

Medical supply logistics · Web SDK

More than 3xbetter scanning performance reported

Software scanning in medical supply warehouses where hardware readers could not be deployed everywhere.

barKoder has impressed us with its speed and accuracy, even in challenging conditions.Lubos Liska, MIT Group
Read the MIT Group story →

Try barKoder on your phone or in your browser

Install the free barKoder demo app, or open the web demo, and scan your own barcodes before you integrate the SDK.

iPhone and iPad

barKoder demo app for iOS

Scan with your camera, or point it at the QR code to open the App Store.

Download on the App Store
QR code linking to the barKoder demo app on the App Store

Android phones and tablets

barKoder demo app for Android

Scan with your camera, or point it at the QR code to open Google Play.

Get it on Google Play
QR code linking to the barKoder demo app on Google Play

Any modern browser

barKoder web demo

Runs the Web SDK in your browser, on desktop or mobile, with nothing to install.

Open the web demo
QR code linking to the barKoder web demo

Test with known samples. Print or display the testing sheet and scan each 1D and 2D barcode with the demo app. The data sheet summarizes the SDK for your team.

Continuous barcode scanner questions

What is continuous barcode scanning?

Continuous scanning lets an app scan barcodes repeatedly without manually restarting the scanner after each successful scan. The scanner keeps the session open, and a duplicate setting controls the delay before the same code is reported again.

How do I turn on continuous scan mode?

Set close-session-on-result to false and set thresholdBetweenDuplicatesScans. On the web, call Barkoder.setContinuous(true). The Enable Continuous Scanning example has the code for each platform.

How do I stop the same barcode from scanning again and again?

Set thresholdBetweenDuplicatesScans to -1 to report each barcode only once, or to a number of seconds to allow a repeat only after that time. A value of 0 reports the same barcode continuously with no delay. On the web, use Barkoder.setDuplicatesDelayMs() in milliseconds.

Why does my web scanner stop after the first result in continuous mode?

In the Web SDK, the decoder pauses after a result while the camera preview keeps running. Call Barkoder.setPauseDecoding(false) in the result callback of startScanner to keep scanning.

Does continuous scanning affect app performance?

On React Native, turn off image results and barcode thumbnails during continuous scanning, because returning them on Android creates performance issues. On the web, Web SDK 1.7.0 decodes on Web Worker threads and processes new camera frames as they arrive instead of decoding the same image repeatedly.

What is the difference between continuous scanning and Batch MultiScan?

Continuous scanning reads one barcode after another and reports each result as it comes. Batch MultiScan also reads many barcodes in the same camera view and caches the results. Use it for shelves, racks and boxes with several labels.

Which platforms support continuous scanning?

Android, iOS, the Web SDK, Flutter, React Native, Capacitor, Cordova, .NET MAUI and NativeScript all have a documented continuous scanning example. For browser apps, see the WASM Barcode Scanner SDK.

Can I replace dedicated scanners with phones for always-on scanning?

Many teams do. barKoder runs on the smartphones and tablets staff already carry, and on industrial mobile computers: the Barcode Scanner by barKoder app was validated at Zebra's Global Enablement Center. Start with a free trial for 30 days and up to 25 devices from the trial page, then check barKoder pricing.

Add continuous barcode scanning to your app

Test continuous scan mode on your own labels and devices with a free 30-day trial, or talk to an SDK expert about your high-volume workflow.