ScanStock — Inventory Barcode Scanner

Version 0.1.0+1 (versionName 0.1.0, versionCode 1). Android first. Package: space.smithandtech.scanstock.

What it does

  • Scan — camera barcode scanning for UPC, EAN, QR, Code 128, Code 39 and Data Matrix, plus manual barcode entry. A scan auto-looks the product up (Open Food Facts for UPC/EAN, free and keyless); if there is no match you enter the name/brand manually and ScanStock remembers it for next time.
  • Duplicate scan = quantity +1 — scanning the same barcode again raises that item's quantity instead of adding a duplicate. Quantities are also editable by tapping an item, and items can be deleted.
  • Inventory — the scanned list, searchable, stored in a local offline cache and synced to the ApisBase backend project scanstock, keyed by device ID. It works offline and syncs when back online.
  • Export — PDF and CSV, both with the columns Barcode, Product Name, Brand, Quantity, Date Scanned. Each can be previewed inside the app (PDF in an in-app viewer, CSV as a table) and downloaded/shared. Flow: generate → view in-app → download/share.
  • Profile — DEVICE DATA: device ID, device name, items scanned, storage used, backend status, theme settings. There is no sign-in or sign-up in v0.1.0+1; the app works out of the box. Sign-in comes in a later version.
  • Theme — Glass or Material, 5 palettes, light + dark. Default: Glass, Royal + Powder (#1E3A8A + #93C5FD), dark.
  • Logo (Option 3) — gold scanner corner brackets around a small gold barcode with a horizontal gold scan line, on dark navy #0B1220. Used as the app icon and in-app logo. The supplied Option 3 file (media-generation-scanstock-logo-3-scanner-frame-0-...webp) lives on the Muse VM and could not be transferred to this build container, so the icon shipped here is a faithful recreation drawn from that description; place the original file at assets/logo/ to replace it.

Backend

ApisBase is Appwrite: https://base.smithandtech.space, project scanstock (see assets/config/apisbase.json). Database scanstock (TablesDB) with tables items, products, devices, exports, scans (columns defined for the app's fields). No storage buckets: v0.1.0+1 stores no files. The app syncs through the Appwrite TablesDB API (POST /v1/tablesdb/{db}/tables/ {table}/rows, X-Appwrite-Project + X-Appwrite-Key). An API key "Flutter App" (Databases + Storage scopes, no expiration) exists in the project console; copy its value into assets/config/apisbase.json (apiKey) to enable sync. With the key empty the app runs offline-only and syncs are skipped, never blocking use.

Build

Flutter 3.50.0 only (/root/flutter-3.50.0), TMPDIR=/var/tmp:

flutter analyze   # 0 issues
flutter test      # 6 tests pass
flutter build apk --debug

APK: releases/scanstock-0.1.0+1-debug.apk

S
Description
ScanStock — inventory barcode scanner app. Scan barcodes, list products, export to PDF or CSV.
Readme
206 MiB
0 Stars 1 Watchers 0 Forks
Languages
Dart 44.1%
C++ 27.6%
CMake 21.4%
Swift 2.8%
HTML 2.3%
Other 1.7%