mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Barcode refactor (#363)
* Move barcode.dart * Fix * Refactoring barcode scanner code: - Abstract the "controller" class (for future development) - Break barcode scanning code out into multiple files - Add CameraBarcodeController class (qr_code_scanner) * Add await * Make barcode scan delay configurable * remove unused import * Handle camera exceptions * Improve sequencing for camera scanner - Show loading overlay - Prevent reload if view is no longer mounted * Update docstring * Update release notes
This commit is contained in:
parent
45fe79daf0
commit
b051aeccda
17 changed files with 592 additions and 312 deletions
|
|
@ -29,6 +29,9 @@ const String INV_STOCK_SHOW_TESTS = "stockShowTests";
|
|||
const String INV_REPORT_ERRORS = "reportErrors";
|
||||
const String INV_STRICT_HTTPS = "strictHttps";
|
||||
|
||||
// Barcode settings
|
||||
const String INV_BARCODE_SCAN_DELAY = "barcodeScanDelay";
|
||||
|
||||
/*
|
||||
* Class for storing InvenTree preferences in a NoSql DB
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue