Commit graph

9 commits

Author SHA1 Message Date
Sulkta
ab5d761f38 Update composeBom to v2024.12.01 2026-06-28 01:36:31 +00:00
Sulkta
c50e47522d Update activityCompose to v1.13.0 (#2)
Co-authored-by: Sulkta <oss@sulkta.com>
Co-committed-by: Sulkta <oss@sulkta.com>
2026-06-27 17:07:19 -07:00
Sulkta
3ddfa0f506 Merge pull request 'Update osmdroid to v6.1.20' (#1) from renovate/osmdroid into main 2026-06-27 17:07:04 -07:00
Sulkta
6867f93f27 Merge pull request 'Update agp to v8.13.2' (#4) from renovate/agp into main 2026-06-27 17:06:56 -07:00
Sulkta
89d73a3069 Update coil to v2.7.0 2026-06-27 21:44:29 +00:00
Sulkta
eccee1579a Update agp to v8.13.2 2026-06-27 21:44:24 +00:00
Sulkta
5fb6d2eef8 Update osmdroid to v6.1.20 2026-06-27 20:53:47 +00:00
Sulkta
ebaf3ce47d v7: store-and-forward architecture
BREAKING: Complete rewrite of data flow to fix network isolation issue.

Problem: When connected to Bee's WiFi AP (192.168.0.10), the phone has
NO internet access. The Bee AP is just a direct connection to the dashcam
with no upstream gateway. The old design tried to simultaneously pull from
Bee and push to ADAMaps, which fundamentally couldn't work.

Solution: Store-and-forward with two independent subsystems:

1. BeeCollectorService - Collection only
   - Binds to unvalidated WiFi (Bee AP)
   - Polls Bee for detections
   - Stores to local Room database
   - Does NOT attempt internet uploads

2. AdaMapsUploadWorker - Upload only
   - WorkManager-based background worker
   - Only runs when device has VALIDATED internet
   - Reads from local DB, batch uploads to ADAMaps
   - Marks as synced, retries with backoff

New components:
- Room database (DetectionEntity, DetectionDao, VarroaDatabase)
- NetworkStateMonitor for tracking validated vs unvalidated networks
- Improved UI with BEE/LOCAL/UPLOAD indicators
- Manual sync trigger when internet + pending data

Version: 1.7.0 (versionCode 7)
2026-03-11 11:11:05 -07:00
Sulkta
02c813e5b0 Initial commit: Varroa ADAMaps Android app
Full rewrite of bee-debug-app as ADAMaps data proxy.
- Detection forwarder to ADAMaps API (polls landmarks/last/200, dedup by id+ts)
- 30s camera snapshot with 4-endpoint auto-detect
- GPS mini-map via osmdroid/OpenStreetMap
- Device status panel (firmware, GPS, AI ready flags)
- Connection status bar + forwarding toggle
- Foreground service with persistent notification
- Dark amber theme, no Google Play Services
- Package: com.adamaps.varroa, minSdk 26
2026-03-10 12:19:48 -07:00