feat: add map time filtering function and optimized location processing
This commit is contained in:
@@ -319,6 +319,10 @@ class BLEService {
|
||||
'${now.millisecondsSinceEpoch}_${Random().nextInt(9999)}';
|
||||
recordData['receivedTimestamp'] = now.millisecondsSinceEpoch;
|
||||
|
||||
if (!recordData.containsKey('timestamp')) {
|
||||
recordData['timestamp'] = now.millisecondsSinceEpoch;
|
||||
}
|
||||
|
||||
_lastReceivedTime = now;
|
||||
_lastReceivedTimeController.add(_lastReceivedTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user