DJAYATE Flutter Offline-First POS & ESC/POS App
A resilient 2026 cross-platform tablet and mobile Point-of-Sale (POS) client built with Flutter (Dart SDK ^3.10.3) for DJAYATE Group operational outlets across Malang (DJAYATE PRIME) and Sumenep. Engineered to keep cafe counters running seamlessly during unstable connectivity, the app pairs an offline-first SQLite transaction engine with adaptive multi-outlet theming, sequential ESC/POS thermal printing, and live kitchen synchronization.
Offline-First Storage, Sync & Cryptographic Auth
- SQLite Persistence & Workmanager Sync: Caches branch menus, variants, modifiers, images, and queued checkouts locally in SQLite (
sqflite), executing UUID-based idempotent synchronization (/api/sync/transactions) and background Workmanager jobs automatically when network connectivity recovers. - PBKDF2 Offline Login & Device Binding: Activates physical tablets by scanning an admin QR code or binding a hardware Device ID (
mobile_scanner,qr_flutter), stores salted PBKDF2 credential verifiers inside encryptedflutter_secure_storage, enforces atomic token rotation upon online login, and validates runtime device integrity withsafe_device.
Point-of-Sale UX, Thermal Printing & Field Operations
- Outlet-Adaptive Cashier Interface: Automatically switches visual branding and active outlet configuration upon activation (red
DJAYATE PRIMEtheme for Malang versus amberDJAYATEtheme for Sumenep), offering grid/list catalogs, bundle packages, real-time stock lockout indicators (Tidak tersedia), smart cash denominations, and Midtrans QRIS settlement flows. - Sequential ESC/POS Multi-Printer Engine: Renders customizable store headers and generates sequential ESC/POS byte streams over Bluetooth (
flutter_bluetooth_printer) and LAN with live interactive previews across three ticket formats: customer receipts (Struk Transaksi), cashier hold slips (Struk Pesanan), and kitchen prep tickets (Struk Dapur). - Live Kitchen Queue, Attendance & Daily Shift Closing: Streams WebSocket updates from Laravel Reverb via
dart_pusher_channelsalongside Firebase Cloud Messaging alerts, verifies staff shift clock-in/clock-out via camera photo compression andgeolocatorcoordinates, and generates itemizedClosing Kasirsummaries with one-tap WhatsApp virtual receipt sharing.