Separate the tap from the confirmation

Turant Logistics brings together consumer, rider, and admin interfaces. Think about a rider confirming delivery in an area with spotty reception. The app can acknowledge the tap immediately by showing that it saved the update on the device. It should reserve the confirmed delivery state for when the server accepts the update.

Those two states answer different questions for the rider. They need to know whether they must repeat the action and whether the customer can already see it. An interface that exposes both states can answer those questions without requiring the rider to understand synchronization.

Design retries around a single action

A network timeout gives the client incomplete information. The request may have reached the server before the response was lost. Reusing the original action identifier on retry gives the server a way to recognize the operation and return its existing result.

Treat rejected updates separately from connectivity issues. A queued update can retry when the connection returns. A rejected state change should explain what happened and offer the next action, such as refreshing the assignment or contacting dispatch.

Test on a route, not just at a desk

Start an update, disconnect the device, reopen the app, and reconnect. Observe what the rider, customer, and dispatcher each see. Include an assignment change made while the rider is offline. The field test should make it clear when the app will keep working and when it needs a person to resolve a conflict.