Add intent wedge scanner, MDM support for Android (#863)

Add Android intent wedge scanner support with auto configuration for supported Zebra and Datalogic devices.
Intent wedge scans can be done without pressing the scan button first.

Adds the ability for an MDM server to push settings on Android.
This commit is contained in:
Reza Fouladian
2026-08-16 13:59:20 +10:00
committed by GitHub
parent 2cc5d37f71
commit ca655f36fe
12 changed files with 1114 additions and 1 deletions
+10
View File
@@ -1,3 +1,5 @@
import "dart:io";
import "package:flutter/material.dart";
import "package:flutter_tabler_icons/flutter_tabler_icons.dart";
@@ -112,6 +114,8 @@ class _InvenTreeBarcodeSettingsState
Widget? barcodeInputIcon;
switch (barcodeScanType) {
case BARCODE_CONTROLLER_INTENT:
barcodeInputIcon = Icon(TablerIcons.arrow_badge_right);
case BARCODE_CONTROLLER_WEDGE:
barcodeInputIcon = Icon(Icons.barcode_reader);
case BARCODE_CONTROLLER_CAMERA:
@@ -143,6 +147,12 @@ class _InvenTreeBarcodeSettingsState
subtitle: Text(L10().scannerExternalDetail),
leading: Icon(Icons.barcode_reader),
),
if (Platform.isAndroid)
ListTile(
title: Text(L10().scannerIntent),
subtitle: Text(L10().scannerIntentDetail),
leading: Icon(TablerIcons.arrow_badge_right),
),
],
onSelected: (idx) async {
barcodeScanType = idx as int;