An offline-first Flutter application engineered for fleet management and daily maintenance logging in highly disconnected industrial environments.
Built explicitly for quarries and field environments, Sift & Screen replaces paper-based pre-start checks with a resilient digital workflow. The core architectural mandate is that the application must function flawlessly in "Airplane Mode" without data loss.
All data entries—maintenance logs, fuel usage, and production metrics—are saved immediately to a local SQLite database via PowerSync. When network connectivity is restored, the background synchronization engine securely pushes changes to the cloud and pulls master data updates.
The application serves multiple enterprise clients securely. Data isolation is enforced strictly at the database level using PowerSync Dynamic Parameterized Sync Rules rather than weak client-side filters. Devices only ever download rows matching their authorized company bucket.
Authentication is split into a hybrid model to cater to both cloud-connected managers and offline field operators.
Managers and owners sign up via standard Supabase Email/Password, mapping their session securely to the company's admin records.
When an operator installs the app, Supabase authenticates them anonymously. Inputting a valid Join Code securely links the device ID to the specific company in PowerSync.
Operators log in entirely offline using a 4-digit PIN verified against the synchronized, local SQLite worker table.