Barcode Scanner Bridge

Hardware barcode scanning in any browser.

Barcode Scanner Bridge sends scans from the built-in scanner on Zebra, Honeywell, Datalogic and other rugged Android devices to your web app in Chrome, Edge or Firefox. No enterprise browser needed, no input field to focus, no on-screen keyboard.

For Android 7.0 or later.
Try every feature free for 5 days, then £8.00 per device. No yearly fees.
A stock check web app in Chrome on a phone, counting scanned products
Works with scanners from
  • Zebra
  • Honeywell
  • Datalogic
  • Panasonic
  • Point Mobile
  • Bluebird
  • CipherLab
  • Sunmi
  • Unitech
  • Urovo
  • Newland
  • M3 Mobile
  • Raptor
  • ZKC

And other scanners that can broadcast their scans, in Chrome, Edge, Firefox and other browsers. Product names are trademarks of their respective owners.

Why a bridge?

Scans as events, not keystrokes.

Out of the box, a rugged device's scanner types each scan into the browser, as if from a keyboard. That works until someone taps in the wrong place, and the usual way round it is a special enterprise browser to deploy and manage. Barcode Scanner Bridge hands the scan itself to your web app, in the browser you already use.

Keyboard output

  • Scans go into whichever field has focus, or nowhere
  • The on-screen keyboard pops up over your page
  • Your page has to tell scans apart from typing
  • Characters can go missing when the page is busy

Barcode Scanner Bridge

  • Scans reach the allowed web page in focus, with no text field selected
  • No keyboard appears
  • Each scan arrives whole, with its barcode type on Zebra, Honeywell, Datalogic, Panasonic and others
  • Your page knows when Barcode Scanner Bridge is connected
How it works

From the scanner to your web app, on the device.

Barcode Scanner Bridge runs on the same device as your browser. Your web app receives scans through a small JavaScript SDK.

From scanner to web app on the same Android device
The scanner Zebra, Honeywell and others broadcast each scan
Barcode Scanner Bridge receives it, and passes it only to the websites you allow
Your web app gets it from the SDK, in Chrome, Edge or Firefox

Setting it up

Set up each device once, and add a few lines to your web app.

  1. On the device

    1Install it, and open it once

    From Google Play, or managed Google Play with your MDM. Once it's been opened, it starts by itself whenever the device does.

  2. On the device

    2Set up the scanner

    In the scanner's settings, turn on broadcast (intent) output and turn off keyboard output. On Zebra devices, Barcode Scanner Bridge can do this for you. See the settings for each scanner.

  3. On the device

    3Allow your website

    Add your web app's address under Allowed websites in Barcode Scanner Bridge, then tap Save. Only the websites you allow receive scans.

  4. In your web app

    4Add the SDK

    One small JavaScript file, with no dependencies. Download it below.

  5. In your web app

    5Handle each scan

    Your function receives scans while your page is in focus. It gets the scanned value and, on Zebra, Honeywell, Datalogic, Panasonic and others, the barcode type.

  6. In the browser

    6Allow the browser connection

    When the browser asks to connect to apps on the device, tap Allow. In Firefox, tick Remember for this site to avoid being asked on every visit.

Managing devices with an MDM? Your MDM can do steps 1, 2, 3 and 6, so no one has to touch the device.
1. InstallFrom managed Google Play. Open it after installation using your MDM's launch action, if available, or Zebra StageNow
2. ScannerThe scanner's output setting, with its maker's own setup tools. On Zebra devices, managed configuration: Scanner setup, Set up automatically
3. WebsitesManaged configuration: Allowed websites
6. BrowserChrome's or Edge's LoopbackNetworkAllowedForUrls policy, with your web app's address
LicenceManaged configuration: Licence key
  • Check a device before your web app is ready. Tap Open test page on Barcode Scanner Bridge's screen, and scan.
  • After the 5-day trial, add a licence key on the same screen.
  • Setting up many devices? The set-up guide has every managed setting, the Zebra profile and Chrome's policy.
Screenshots

See it in action.

Watch it on a Zebra TC21, from setup to scanning. Then look through the screenshots: click one to see it full size.

Watch it work Recorded on a Zebra TC21: set up the scanner, see the DataWedge profile it creates, then scan into the stock check demo in Chrome. Scanning sped up, no sound.
For developers

A few lines of JavaScript.

The SDK is one small file with no dependencies, as a script or an ES module, with TypeScript types. Your page only receives scans: it can't trigger the scanner or change its settings.

  • onScan gets each scan: what was scanned, the barcode type if available, and when it arrived
  • onStatus reports the app connection, licence and errors, and when the browser is asking for permission
  • openApp() starts Barcode Scanner Bridge from a button on your page
  • It reconnects by itself, and only the tab in focus receives scans

SDK 0.1.0 ยท MIT licence
To try the demo on a device, first add https://www.android-kiosk.com to Allowed websites in the app.

index.html
<p id="status"></p>
<p id="scan"></p>

<script src="barcodescannerbridge.js"></script>
<script>
  BarcodeScannerBridge.connect({
    onScan: function (scan) {
      // scan.data: '2012345000018', scan.sym: 'ean13'
      document.getElementById('scan').textContent = scan.data;
    },
    onStatus: function (status) {
      // status.bridge: 'connecting', 'connected' or 'down'
      document.getElementById('status').textContent = status.bridge;
    }
  });
</script>
Pricing

£8.00 per device. Buy once.

Prices exclude VAT.

Single Device Licence

Barcode Scanner Bridge
£8.00/ $10.60 USD
per licence, per device. Buy once, free upgrades.
  • No yearly licensing or maintenance fees
  • Free upgrades for the lifetime of the product
  • 65% discount applied at 250+ licences
  • 80% discount applied at 500+ licences

How licensing works

  • Try every feature free for 5 days.
  • After the trial, without a licence, web pages still receive 25 scans a day, so you can keep testing.
  • Enter a licence key on the device, or send it from your MDM. The app must have been opened once, and activation needs an internet connection.
  • One licence per device. Deactivate it to move it to another device. For an MDM-managed licence, ask your admin to remove the managed key first.
FAQ

Frequently asked questions.

Something else? Contact us.

Which scanners does it work with?

Scanners that send one of the supported scan broadcasts, including models from Zebra, Honeywell, Datalogic, Panasonic, Point Mobile, Bluebird, CipherLab, Sunmi, Unitech, Urovo, Newland, M3 Mobile, Raptor and ZKC, and others. In the scanner's settings, turn on broadcast (intent) output and turn off keyboard output. On Zebra devices, Barcode Scanner Bridge can set up DataWedge for you, with your permission or your MDM's.

Which browsers and devices?

Chrome, Edge, Firefox and other browsers, on Android 7.0 or later. On Zebra devices, Barcode Scanner Bridge sets up the scanner for every browser installed, or only the ones you name in your MDM.

Do I need to change my web app?

A little. Add the SDK and handle each scan in its onScan function: see the SDK. On devices without Barcode Scanner Bridge, scans are still typed into the page, so keep the text field your web app uses for them now.

Will the browser ask for permission?

For public https pages, Chrome from version 147, Edge and Firefox ask before connecting to apps on the device. Firefox asks on every visit unless you tick Remember for this site. On managed devices, your admin can allow your web app in advance with Chrome's or Edge's LoopbackNetworkAllowedForUrls policy; Firefox for Android can't be managed this way. See browser permission.

Does my web app need to be on https?

From the internet, yes: Chrome blocks http websites from connecting to apps on the device. An http web app on your local network, such as http://192.168.1.20:8080, connects for now, but Chrome plans to check those too, so https is safer.

Is scanned data sent anywhere?

Barcode Scanner Bridge delivers scans to your web app on the same device. It never logs scanned data or sends it off the device. Your web app may send that data to its own servers. Nothing off the device can connect to it, and only the websites you allow receive scans. Its only connections to the internet are to activate or deactivate its licence and, if it ever crashes, to send a crash report, which never includes scanned data.

Can I set it up with my MDM?

Yes. Install it from managed Google Play, and set the allowed websites and the licence key with your MDM's managed configuration (also called app configuration). It needs opening once after it's installed: use your MDM's launch-after-install action, or a button in your web app. On Zebra devices it can set up DataWedge with no one asked, for zero-touch deployment. The set-up guide lists every setting.

Do I need it with Kiosk Browser?

No. Kiosk Browser has hardware scanner support of its own. Barcode Scanner Bridge is for web apps that run in an ordinary browser, such as Chrome.