mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-08-15 15:40:32 +02:00
drop approx location support, restore follow me mode on sheet close
This commit is contained in:
@@ -10,11 +10,11 @@ import '../../services/proximity_alert_service.dart';
|
||||
import '../../models/osm_node.dart';
|
||||
import '../../models/node_profile.dart';
|
||||
|
||||
/// Simple GPS controller that respects permissions and provides location updates.
|
||||
/// Simple GPS controller that handles precise location permissions only.
|
||||
/// Key principles:
|
||||
/// - Respect "denied forever" - stop trying
|
||||
/// - Retry "denied" - user might enable later
|
||||
/// - Accept whatever accuracy is available once granted
|
||||
/// - Retry "denied" - user might enable later
|
||||
/// - Only works with precise location permissions
|
||||
class GpsController {
|
||||
StreamSubscription<Position>? _positionSub;
|
||||
Timer? _retryTimer;
|
||||
|
||||
Reference in New Issue
Block a user