Articles
Microsoft Intune

Barcode Scanner Bridge with Edge and Intune

Configure Barcode Scanner Bridge and Microsoft Edge 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 Edge. Configure the Bridge and Edge through Microsoft Intune so staff do not need to allow the browser connection. The same settings apply in Edge’s kiosk mode. For kiosk mode setup and browser lockdown, use Microsoft’s guides under Further reading.

What you need

  • Barcode Scanner Bridge from managed Google Play, with an app configuration policy.
  • Microsoft Edge from managed Google Play, with Edge’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.

Edge’s local network setting

If your web app is on a public https address, Edge 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 Edge’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. Edge for Android accepts this setting, although it is absent from Microsoft’s Edge policy list.
  • Set both names, so every Edge 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 Edge policy. If two app configuration policies for Edge reach the same device, Intune applies only one of them.
  • Wait a few minutes after the device syncs, then reopen Edge.

Use Edge’s kiosk mode

Barcode Scanner Bridge works in Edge’s kiosk mode, where Edge opens full screen on your web app with no address bar or menus.

  • With Edge’s block list set to *, your web app can still connect to Barcode Scanner Bridge. The connection on the device is not a website and does not need an allow list entry.
  • If a white page appears, add about://newtab to the allow list and set your start page with EdgeNewTabPageCustomURL. Kiosk mode opens a new tab, and a block list of * also blocks Edge’s own new tab page.
  • Avoid links that open new windows on Zebra devices. The scan trigger also reaches the app on screen as a game controller button (R1), and Edge takes R1 to mean “next tab”. With one tab open, nothing happens; if a second tab opens, each trigger press switches between them.
  • Kiosk mode doesn’t keep staff in Edge. Edge asks Android to pin it each time it starts, but staff can decline or unpin it. To keep staff in one app, use the dedicated devices guide under Further reading.

Further reading

Barcode Scanner Bridge

Hardware barcode scanning in any browser.

Find out more Get it on Google Play