Articles
Microsoft Intune

Barcode Scanner Bridge with Chrome and Intune

Configure Barcode Scanner Bridge and Chrome with Microsoft Intune to send scans from the built-in scanner to your web app without browser permission prompts.

Barcode Scanner Bridge passes scans from an Android device’s built-in scanner to your web app in Chrome. Configure the Bridge and Chrome through Microsoft Intune so staff do not need to allow the browser connection. The same settings apply when Chrome is locked down by policy or your web app is published as a managed Google Play web app. For browser lockdown, use Google’s and Microsoft’s guides under Further reading.

What you need

  • Barcode Scanner Bridge from managed Google Play, with an app configuration policy.
  • Chrome from managed Google Play, with Chrome’s local network setting configured to allow your web app to connect without a permission prompt.

Barcode Scanner Bridge’s settings

Create an app configuration policy for Barcode Scanner Bridge with these settings:

SettingWhat it does
allowed_originsThe web addresses allowed to receive scans, such as https://app.example.com. Pages from other addresses cannot receive scans
scanner_setupOn Zebra devices, automatic lets Barcode Scanner Bridge set up the scanner (DataWedge) to send it scans
licence_keyActivates the licence on every device

The set-up guide lists all settings.

Chrome’s local network setting

If your web app is on a public https address, Chrome asks for permission before it connects to Barcode Scanner Bridge on the device. Your web app receives no scans until the connection is allowed. For web apps on http, see Allowed websites in the set-up guide. Set Chrome’s local network setting to allow your web app to connect without a prompt. In this example, https://app.example.com is a placeholder for your web app’s address:

{ "key": "LocalNetworkAccessAllowedForUrls", "valueString": "[\"https://app.example.com\"]" },
{ "key": "LoopbackNetworkAllowedForUrls", "valueString": "[\"https://app.example.com\"]" }
  • In Intune’s configuration designer, select Allow sites to make network requests to local devices and local network endpoints and Allow sites to make network requests to the local device. Or choose Enter JSON data and use the names above.
  • Set both names, so every Chrome version is covered. They are the older and newer names for the same setting. Give both the same value as text, including the square brackets and quotes.
  • Add them to your existing Chrome policy. If two app configuration policies for Chrome reach the same device, Intune applies only one of them, and you can’t choose which.

After the device syncs, open chrome://policy. Check that both settings have the status OK. They can take a few minutes to arrive and may arrive a few minutes apart.

Use with Chrome lockdown

  • With Chrome’s block list set to *, allow your web app’s own address. The connection to Barcode Scanner Bridge on the device is not a website and does not need an allow list entry.
  • Open chrome://policy to check your settings, even when every other site is blocked.

Use a managed Google Play web app

A managed Google Play web app gives your web app its own app icon and runs it in Chrome. Apply Chrome’s local network setting above. Scans work as they do in Chrome.

  • Display: choose how the web app is shown when you create it. Full screen hides Chrome’s address bar and Android’s own bars; Standalone hides the address bar only; Minimal UI keeps a few browser controls. Full screen has been tested with Barcode Scanner Bridge.
  • Other websites: pages outside your web app’s site open with a slim bar that includes Open in Chrome browser. Use Chrome’s allow and block lists to control access to other sites.
  • Creating one: in Intune, go to Apps › Android › Create › Managed Google Play app, then select Web apps in the managed Google Play pane. See Microsoft’s guide below.

Use other Chrome-based browsers

Brave and Island Enterprise Browser accept the same local network setting as Chrome, through their own app configuration. Compatibility with Barcode Scanner Bridge has not been tested for either browser.

Further reading

Barcode Scanner Bridge

Hardware barcode scanning in any browser.

Find out more Get it on Google Play