All projects
DeliveredMobile app

Production and Distribution Manager

An offline Android app for a small manufacturer and distributor

An Android app that works fully offline: production orders, a stock ledger, stock counts and damaged goods, distributor invoices, receipts and returns, owner withdrawals, commissions, weekly settlement and archiving, with Arabic PDF documents and Excel export.

My role
Sole engineer: requirements, accounting rules, app and release
Timeline
Nov 2026
Platforms
Android
Home: today’s production against the weekly target, quick actions and items to follow up
Production report: documents, the daily output chart and output per item
Stock: value at cost and at sale price, and the quantity of every product
Lines of Dart
~24k
SQLite tables
30
Screen files
36
Permissions
21

Screens use test or demo data. Private client details have been removed.

Engineering decisions

It handles a business’s stock and money on one phone, so the rules sit in services rather than in screens.

One transaction per operation
Every operation runs through a service inside a single database transaction, so stock and money change together or not at all.
A ledger that shows the balance after every movement
Each stock movement stores the balance it leaves behind, so any figure can be traced line by line.
Closed weeks stay closed
Writes into a settled week are refused. Reopening it needs a permission and a logged reason.
Sign-in and permissions
Passwords are salted and hashed with PBKDF2-HMAC-SHA256 (10,000 iterations); 21 permissions control what each user can do; biometric unlock is available.
Arabic in PDF
The Cairo font is patched so Arabic letters shape correctly in generated PDFs, and a regression test keeps it that way. Documents can also be previewed, shared as Excel files, or sent as ready-made WhatsApp messages.
Tested where the money is
19 tests cover the accounting rules, PDF output and preview, and a smoke test opens every screen.

App

  • Flutter
  • Dart 3.11
  • provider
  • fl_chart

Data

  • sqflite (SQLite)

Documents

  • pdf
  • printing
  • excel
  • share_plus

Security

  • local_auth
  • PBKDF2-HMAC-SHA256

Where it stands

Built and delivered as arm64 and armv7 APKs in early November 2026.

  • The whole workflow runs on the phone with no server and no connection.
  • Weekly settlement and archiving are steps in the app instead of a spreadsheet exercise.

Need something like this?

Tell me about the operation you want to organise and I will map it into a clear system before writing a line of code.

Let's talk