UserLocationService: Enable background location.

This commit is contained in:
SBiOSoftWhare 2022-06-02 14:31:04 +02:00
parent ab3acab8d9
commit 56c6ef321d

View file

@ -52,7 +52,7 @@ class UserLocationService: UserLocationServiceProtocol {
// MARK: - Setup
init(session: MXSession) {
self.locationManager = LocationManager(accuracy: .full, allowsBackgroundLocationUpdates: false)
self.locationManager = LocationManager(accuracy: .full, allowsBackgroundLocationUpdates: true)
self.session = session
}