Implement iOS sync manager #39

Open
opened 2026-10-30 21:03:09 -06:00 by west · 0 comments
Owner

📋 iOS-side sync orchestration that handles automatic and manual syncing.

🎯 Acceptance Criteria:

  • Network reachability monitoring (NWPathMonitor or similar)
  • Automatic sync when network becomes available
  • Manual sync trigger (from Settings)
  • Reads unsynced actions from SyncOutbox and sends to server
  • Receives server actions and replays them locally
  • Sync progress indicator (HUD or status bar)
  • Error handling with retry logic (exponential backoff)
  • Handles partial sync failures gracefully
  • Sync runs in background (BGTaskScheduler for periodic sync)
  • Unit tested with mocked network layer

📝 Notes: This is the bridge between the local database and the server. It must be robust — users should never lose data even with flaky networks.

📋 **iOS-side sync orchestration that handles automatic and manual syncing.** 🎯 **Acceptance Criteria:** - [ ] Network reachability monitoring (NWPathMonitor or similar) - [ ] Automatic sync when network becomes available - [ ] Manual sync trigger (from Settings) - [ ] Reads unsynced actions from SyncOutbox and sends to server - [ ] Receives server actions and replays them locally - [ ] Sync progress indicator (HUD or status bar) - [ ] Error handling with retry logic (exponential backoff) - [ ] Handles partial sync failures gracefully - [ ] Sync runs in background (BGTaskScheduler for periodic sync) - [ ] Unit tested with mocked network layer 📝 **Notes:** This is the bridge between the local database and the server. It must be robust — users should never lose data even with flaky networks.
Sign in to join this conversation.
No description provided.