device infos

This commit is contained in:
2026-08-28 15:07:30 +05:30
parent 5723d373b2
commit 69f4f3e909
84 changed files with 4337 additions and 2339 deletions

View File

@@ -125,6 +125,17 @@ Future<Map<String, dynamic>?> _heartbeat(Map data) async {
connection: _s(data['connection']).isEmpty
? null
: _s(data['connection']),
// ── This was being dropped on the floor ──
//
// Every other device field on the heartbeat was forwarded and this one
// was not, so `location_service` could never reach `/miler/logs` however
// faithfully the caller supplied it — and the console's Location Service
// column had no field to read. It is the single most useful thing on
// that panel: a rider who has turned location off explains his own
// silence, and nothing else on the row can.
locationService: _s(data['location_service']).isEmpty
? null
: _s(data['location_service']),
isBackground: data['is_background'] == true,
),
);