Skip to content
← Blog

Product · · 4 min

Built for the basement: offline-first logging

Gyms are often where phone signal goes to die. Here's how NFCFit keeps every set.

Many training floors sit below ground or behind thick walls. An app that needs a connection to save a set will eventually lose one. So NFCFit writes every confirmed set to the phone first.

Save locally, sync later

Each recorded set is stored on the device before anything else happens. Your totals update immediately. When the phone is back online, queued sets are sent to the server with a stable request ID.

No duplicates on retry

If the network drops halfway through a sync, the app retries. Because the request ID doesn't change, the server recognises a set it has already stored and doesn't create a second copy.

Nothing disappears silently

If the server rejects a record — for example because a membership was revoked — the record stays visible on the phone with its status, rather than vanishing.

One limitation is worth being clear about: a phone that's offline can't learn about changes made on the server, like a revoked membership, until it syncs again.

Try the flow yourself.