Android connectivity manager with offline-first architecture and intelligent retry.
POST/transactionsP1PUT/profileP2GET/balanceP3User actions queued locally while offline, synced in priority order when connection restored.
Exponential backoff with ±30% jitter prevents thundering herd
Monitors network state via NetworkCallback API, publishes changes to subscribers, triggers sync on reconnect.
Exponential backoff (2^n) with jitter. Distinguishes retriable (5xx) from permanent (4xx) failures.
SQLite-backed storage with TTL invalidation. Maintains operation queue for offline actions.
Coordinates background sync via WorkManager. Priority queue ensures critical operations first.
"Users don't care about network reliability if the app feels responsive. Show users what they want to see immediately, sync in the background."