mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
UserLocationService: Enable background location.
This commit is contained in:
parent
ab3acab8d9
commit
56c6ef321d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue