Hide user dot and track own user marker in Live Location mode. (#5707)

* added a new tracking mode for following a marker and the logic for switching such tracking mode

* implemented the follow marker tracking mode

* improved and added new tests
This commit is contained in:
Mauro
2026-06-05 13:51:57 +02:00
committed by GitHub
parent 4fed491853
commit da5360c8e8
13 changed files with 372 additions and 64 deletions
@@ -7564,11 +7564,6 @@ class LinkNewDeviceServiceMock: LinkNewDeviceServiceProtocol, @unchecked Sendabl
}
}
class LiveLocationManagerMock: LiveLocationManagerProtocol, @unchecked Sendable {
var hasDisplayedLiveLocationDisclaimer: Bool {
get { return underlyingHasDisplayedLiveLocationDisclaimer }
set(value) { underlyingHasDisplayedLiveLocationDisclaimer = value }
}
var underlyingHasDisplayedLiveLocationDisclaimer: Bool!
var authorizationStatus: CurrentValuePublisher<CLAuthorizationStatus, Never> {
get { return underlyingAuthorizationStatus }
set(value) { underlyingAuthorizationStatus = value }