Geo Tracking - Specs

Technologies and dependencies

Application, native module, API, dashboard, documentation, and testing stack.

The versions below are those declared in this repository's manifests. Ranges such as ~56.0.12 or ^4.3.3 do not necessarily indicate the version actually installed: the package-lock.json files record the resolution used by npm ci.

Expo application

DependencyDeclared versionRole
expo~56.0.12Application runtime and integration.
react-native0.85.3Cross-platform interface and native infrastructure.
react / react-dom19.2.3Component model; React DOM serves the web target.
expo-router~56.2.11File-based routing.
expo-location~56.0.26One-time GPS query used to prepare the simulation.
expo-secure-store~56.0.4Persists the installation key before automatic enrollment.
expo-crypto~56.0.5Cryptographic generation of the installation key.
expo-device~56.0.4Device information used to create a friendly name.
expo-keep-awake~56.0.3Keeps the screen awake while a simulation is running.
@expo/ui~56.0.18Native component dependency available in the app foundation.
react-native-reanimated / react-native-worklets4.3.1 / 0.8.3Animation infrastructure in the app foundation.
react-native-gesture-handler~2.31.1Gesture integration.
react-native-safe-area-context / react-native-screens~5.7.0 / 4.25.2Safe areas and screen integration.
react-native-web~0.21.0Web target, without native collector execution.

The manifest also includes expo-constants, expo-font, expo-glass-effect, expo-image, expo-linking, expo-splash-screen, expo-status-bar, expo-symbols, expo-system-ui, and expo-web-browser. These provide foundational and interface capabilities; being installed does not mean a module performs tracking.

Continuous route collection uses the local GeoMonitoring Expo module, implemented in Swift and Kotlin. It is neither a JavaScript timer nor a continuous task implemented with expo-location. Expo Go does not include this module.

Native dependencies

PlatformTechnologyUse in the code
iOSSwift + ExpoModulesCoreModule bridge to the application.
iOSCore Location / CLLocationManagerPosition collection and region monitoring.
iOSSystem sqlite3Persistent route queue.
iOSSecurity / KeychainCredential used by the tracking transport.
iOSURLSessionConfiguration and upload requests.
AndroidKotlin + Expo Module Gradle PluginModule implementation and registration.
Androidplay-services-location:21.3.0Fused Location and geofencing.
AndroidSQLiteOpenHelperPosition queue and local acknowledgments.
AndroidForeground serviceCollection session with a visible notification.
AndroidHttpURLConnectionHTTP transport and configuration retrieval.

The local pod declares a minimum iOS version of 16.4. The app pins the transitive dependency expo-modules-jsi to 56.0.13 for the existing Xcode 27 integration. The Android tracking credential uses private preferences; this is different from encrypted storage through Keystore. See authentication.

API and infrastructure

The server is written in TypeScript with the native Workers API (Request, Response, fetch, and WebSocket). It does not depend on Express or Hono.

TechnologyUse
Cloudflare WorkersHTTP entry point, authorization, validation, and dashboard files.
Durable Objects with SQLitePersistent registry and per-device state/history.
WebSocketSnapshot and updates from the server to the dashboard.
Cloudflare R2Distribution of APKs and their checksums.
Web CryptoDerivation of identities and HMAC credentials.
Wrangler 4.151.0Development and deployment.
@cloudflare/workers-types 5.20261015.1Types for platform bindings and APIs.
esbuild 0.28.2Worker bundle used in tests.
Miniflare 5.20261012.0-betaLocal environment for Worker and Durable Object tests.
TypeScript 5.9.3Backend type checking.

Remote state uses SQLite inside Durable Objects, not D1. The architecture guide describes per-device isolation.

Map and external services

The dashboard uses JavaScript, HTML, and CSS, with Leaflet 1.9.4 served by the Worker itself. Map images come from OpenStreetMap. Attribution remains visible, and the dashboard reports image-loading failures.

The test route queries the public OSRM service for a street route. The app sends the coordinates needed to calculate that route. A network failure or lack of a route must be handled as a simulation failure; native GPS transport is separate. See simulation and dashboard.

Geo Tracking - Specs site

This app reuses the structure of the supplied Specs project: React, TanStack Start, Fumadocs, MDX, and Tailwind. It is independent of the original monorepo: it uses npm, its own lockfile, and a local ESLint configuration.

DependencyDeclared versionRole
React / React DOM^19.3.0Documentation interface.
@tanstack/react-router^1.170.41Navigation between documents.
@tanstack/react-start^1.168.60Build and prerendering.
fumadocs-core / fumadocs-ui16.17.1Layout, table of contents, navigation, and search.
fumadocs-mdx15.4.7MDX document compilation.
Tailwind CSS^4.3.3Documentation styles and theme.
Vite^8.3.2Local server and bundling.
Zod^4.6.5Schema dependency in the documentation foundation.
Wrangler4.151.0Publishes dist/client to a static-assets Worker.
parse58.0.1Inspects generated HTML in content and link tests.

The search index is /search-index.json. Queries run in the browser; the published site does not run a search server or query the tracking API.

Validation tools

The application uses Vitest 2.1.9 and TypeScript ~6.0.3. The server uses the node:test runner with Miniflare. The Android module has instrumented tests with androidx.test:runner:1.7.0 and androidx.test.ext:junit:1.3.0; iOS persistence has a Swift suite. Maestro automates Android interface actions.

The documentation has inventory, link, navigation, HTML, and search tests. They verify the site's integrity and do not replace tracking tests.

Repository sources

  • geo-demo/package.json, geo-demo/app.json, and geo-demo/package-lock.json.
  • geo-demo/modules/geo-monitoring/android/build.gradle and ios/GeoMonitoring.podspec.
  • geo-demo/src/features/tracking/current-system-location.ts and route-simulation.ts.
  • tracking-server/package.json, tracking-server/wrangler.jsonc, and tracking-server/public/index.html.
  • specs/package.json, specs/package-lock.json, specs/source.config.ts, and specs/vite.config.ts.

On this page