Consent prompt before online route enrichment #52

Open
opened 2026-08-31 17:25:17 +02:00 by robert · 0 comments
robert commented 2026-08-31 17:25:17 +02:00 (Migrated from git.butzei.de)

Goal

Online map matching uploads the whole route to GraphHopper or Valhalla, and a route usually starts at the rider's home. Nothing may leave the device without an explicit yes.

Acceptance criteria

  • BRouter offline attempted first, silently, with no prompt
  • If offline enrichment fails, prompt before any upload, naming the service that would receive the route
  • Prompt explains plainly that the route including its start point will be sent
  • Answer remembered and changeable in settings; default is off
  • Declining falls back to the geometric enricher silently - never a dead end
  • No route data transmitted anywhere before consent is given, verified by inspecting traffic
  • Consent state covered by tests, including the declined path

Files

  • companion/.../route/enrich/MatchingEnricher.kt
  • companion/.../settings/

Notes

See docs/DECISIONS.md D13.

## Goal Online map matching uploads the whole route to GraphHopper or Valhalla, and a route usually starts at the rider's home. Nothing may leave the device without an explicit yes. ## Acceptance criteria - [ ] BRouter offline attempted first, silently, with no prompt - [ ] If offline enrichment fails, prompt before any upload, **naming the service** that would receive the route - [ ] Prompt explains plainly that the route including its start point will be sent - [ ] Answer remembered and changeable in settings; default is off - [ ] Declining falls back to the geometric enricher silently - never a dead end - [ ] No route data transmitted anywhere before consent is given, verified by inspecting traffic - [ ] Consent state covered by tests, including the declined path ## Files - `companion/.../route/enrich/MatchingEnricher.kt` - `companion/.../settings/` ## Notes See docs/DECISIONS.md D13.
Sign in to join this conversation.
No description provided.