1.5 KiB
1.5 KiB
Geolocation periodic uploads investigation
Observations
From the app logs, we still see background IDLE uploads every ~5–10 minutes even when the device is stationary.
Key points:
- The upload is happening with
sample: undefined(ie, persisted location) and is followed by HTTP success. - Motion state can flip to
isMovingState: trueeven whileactivity: stilland lowspeed. - In at least one diagnostic snapshot,
stopOnStationaryappeared asundefined, suggesting the config either:- is not being applied as expected, or
- is being overridden by another config surface, or
- is not exposed in
getState()on that platform/version.
Next steps
- Confirm the currently running app build includes the latest config (
useSignificantChangesOnly,activity.stopOnStationary). - Extract precise server-side event timing distribution from Explore logs to see whether bursts correlate to motionchange or other triggers.
- If periodic uploads persist after significant-change mode:
- evaluate whether another mechanism triggers periodic sync (eg native retry/reconnect),
- consider disabling motion-activity updates in IDLE or increasing motion trigger delay,
- optionally introduce a server-side dedupe (ignore updates if within X meters and within Y minutes) as last-resort safety.
Notes
The Explore log snippet currently contains only action and timestamp (no payload coordinates), so it can confirm frequency/bursts but not whether the same point is repeatedly uploaded.