ADAMaps Android companion app — Hivemapper Bee data proxy and monitor
Find a file
Kayos f06ce3f319 v6: fix detection send queue
Root cause: Server expects flat array of detections with device_id on each
item, but client was sending nested {device_id, detections: [...]}.

The /health endpoint worked (ADAMaps showed green) but /api/ingest failed
validation: 'Missing required fields: device_id, lat, lon' on every request.
Items queued indefinitely, sent=0.

Fixed by:
- Adding device_id field to AdaMapsDetection
- Changed AdaMapsIngestRequest to typealias for List<AdaMapsDetection>
- Updated toAdaMapsDetection() to accept deviceId parameter
- Updated ForwardingService to send flat array format
2026-03-11 10:37:56 -07:00
app v6: fix detection send queue 2026-03-11 10:37:56 -07:00
gradle Initial commit: Varroa ADAMaps Android app 2026-03-10 12:19:48 -07:00
.gitignore Initial commit: Varroa ADAMaps Android app 2026-03-10 12:19:48 -07:00
build.gradle.kts Initial commit: Varroa ADAMaps Android app 2026-03-10 12:19:48 -07:00
gradle.properties Initial commit: Varroa ADAMaps Android app 2026-03-10 12:19:48 -07:00
gradlew Initial commit: Varroa ADAMaps Android app 2026-03-10 12:19:48 -07:00
settings.gradle.kts Initial commit: Varroa ADAMaps Android app 2026-03-10 12:19:48 -07:00