mirror of
https://github.com/efiten/coredrive-rx.git
synced 2026-12-03 17:54:09 +00:00
After the 5-min standstill auto-pause, capture only resumed when a GPS watchPosition callback reported movement. On a backgrounded / screen-off PWA those callbacks stall, so a drive that resumed after a stop logged nothing until the app was foregrounded — a whole drive silently lost (reported for BE-BOC-myst, 2026-07-08 near Bree). Wake-on-packet: a heard packet now also advances the idle gate via the new pure captureDecision(), so movement resumes capture on the first packet from a moved position even when the GPS callback cadence dropped. A packet still at the parked anchor stays paused. Capture stays fully decoupled from the network (IndexedDB queue), so this is a capture fix, not an upload one. Bump SW cache v10→v11 for the frontend change. Closes #9 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>