Skip to main content
Back to Work

Case Study

Case Study: Abdullah Protein

Digitizing the poultry supply chain with offline-first architecture.

The Challenge

Farm operations with no internet and no paper trail.

Zero internet on the farm

Field operations run where there is no signal. Any app that needs a live connection to record a sale is useless exactly where the work happens.

Paper slips get lost

Handwritten slips went missing, were misread or never reached the office, so stock and cash never quite reconciled.

Receipts on the spot

The client needed a thermal receipt printed at the point of sale, then all the data synced once staff were back in the office.

The Architecture

The SARVEX Solution

01 · Data

Offline-First State Sync

The app is built on React Native with AsyncStorage as the local source of truth. Every write lands on the device first and is added to a queue. When connectivity returns, the queue drains to Firebase in order, so staff never wait on a network to keep working.

  • React Native + AsyncStorage
  • Local writes queue, then sync to Firebase
  • Works fully with zero connectivity

02 · Hardware

Hardware Integration

Receipts are printed by sending raw ESC/POS byte commands over Bluetooth Classic straight to the thermal printer. There is no vendor SDK in the path, which keeps the app lean and lets it work with any ESC/POS-compatible printer.

  • Raw ESC/POS byte commands
  • Bluetooth Classic transport
  • No vendor SDK dependency

03 · Access

Role-Based Access

Owners and Sales Officers see and do different things. Permissions are enforced by role, and every sensitive action is written to an immutable audit log so the owner can always see who did what, and when.

  • Owner vs. Sales Officer permissions
  • Immutable audit logs
  • Full traceability of every change

The Result

Reliable in the field, from day one.

98

Automated tests passing

Zero

Data loss since launch

100%

Uptime in the field

Ready When You Are

Let's build your next production-grade product.

From first commit to production scale — tell us what you're building and we'll show you how we'd ship it.

Book Consultation