Back to the map

M08Mobile2025

Misr El Kheir — debtors' case research

Flutter developer (offline sync)

Family records survive a dropped connection and sync when it returns

01 The problem

Misr El Kheir's social researchers document each debtor's case (personal data, family members, housing) in long multi-step forms, and the app must not lose an entry when the connection drops.

02 What I built

My part was the offline queue for family members: a family-member request made without a connection is saved to a local SQLite queue, a connectivity listener notices when the network is back, and a sync service sends the queued requests and updates the screen.

03 The result

Family members can be recorded with no connection; the records reach the server once the phone is back online.

Try it

No entry lost when the signal is gone

Switch the connection off, add family members, then switch it back on. Requests wait in a SQLite queue on the phone and go to the server when the network returns.

The phone

Family members

  • Mona, wifesynced
  • Youssef, sonqueued
  • Salma, daughterqueued

On the phone

Offline queue (SQLite)

  1. POST /family-members · Youssef, son
  2. POST /family-members · Salma, daughter

Server

Received 1

  • Mona, wife201

Stack

  • Flutter
  • Dart
  • Bloc
  • SQLite