Geo Tracking - Specs

Current state

Implemented features, prototype boundaries, and validation limits of Geo Tracking.

The current project combines an Expo application, a local native geolocation module, a Cloudflare server, and a web dashboard. This documentation describes the code inspected on October 15, 2026; earlier test results are identified as historical in the validation guides.

Available features

AreaWhat exists todayGuide
ApplicationTracking screen, automatic enrollment, permissions, start/stop, and technical detailsApplication
AndroidFused Location, foreground service, notification, and SQLite queueAndroid
iOSCore Location, background updates, Keychain, and SQLite queueiOS
TransportHTTP batches, per-device credentials, per-event ACK, and retries without duplicationQueue and synchronization
BackendDevice enrollment, versioned configuration, and history in Durable ObjectsAPI
DashboardMap with multiple phones, WebSocket, selection, and per-device configurationDashboard
SimulationStreet route, outbound and return trips, and points marked as test dataSimulation
DistributionField-test APK and checksum published through R2 and a WorkerField testing
PolygonsArea configuration, geometric classification, and a separate demo queuePolygons

Three different kinds of testing

Synthetic application sample: uses provider: "test" to exercise the queue, transport, and dashboard without requiring physical movement. The animated route uses this same source.

GPS injected through the operating system: simulator/emulator commands reach the native callback and are recorded with provider: "native". This value identifies the capture path; it does not, by itself, prove a physical GPS reading.

Field trial: uses a real device in motion and measures factors the other two cannot reproduce, such as accuracy, radio behavior, battery use, and manufacturer restrictions.

What the system guarantees by design

The client persists an event before transmitting it and removes only acknowledged identifiers. The same position keeps its eventId across retries. The server uses that identifier to prevent duplication, including when the response to a successful write is lost. See queue and synchronization for the details and limits.

These properties do not imply immediate delivery, an unlimited queue, or freedom from data loss under every storage failure. The operating system decides when collection and network operations may run. Clearing app data or uninstalling the app can remove local state.

Current limits

  • There is no proven parity with the commercial Transistorsoft SDK. The module is a custom implementation and does not include its binaries.
  • Distance and interval are parameters requested from the collector, not a guaranteed background timer.
  • The dashboard maintains one connection per device. The registry's limit of 1,000 enrollments does not demonstrate capacity for 1,000 browser connections and markers.
  • An active dashboard WebSocket connection does not show that the phone is online. The age of the latest capture is the visible reference.
  • The WebSocket does not wake the application: configuration is retrieved through the native HTTP transport.
  • The Android RECEIVE_BOOT_COMPLETED permission declared in the app does not mean recovery after a device reboot has been implemented. See the Android guide.
  • The current protocol has no operator authentication through personal accounts, role management, or individual device-token rotation.
  • The polygon demo queue does not send its events to the route-tracking backend.

Evidence and upcoming trials

Existing reports document checks of logic, persistence, the API, maps, and execution in simulators. See testing and validation for the commands and scope of each piece of evidence.

Extended evaluation on physical devices remains necessary: the app in the background, screen locked, network unavailable, resumption, force termination, reboot, permissions, and resource use over several hours. The field-test guide organizes this evidence collection.

Repository sources

  • README.md and docs/tracking-contract.md.
  • geo-demo/src/app/tracking.tsx and geo-demo/src/features/tracking/.
  • geo-demo/modules/geo-monitoring/.
  • tracking-server/src/ and tracking-server/public/.
  • docs/validation-2026-10-15.md, docs/map-validation-2026-10-15.md, and docs/reference-analysis.md.

On this page