mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +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:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user