Skip to content

Commit

Permalink
UserLocationService: Enable background location.
Browse files Browse the repository at this point in the history
  • Loading branch information
SBiOSoftWhare committed Jun 2, 2022
1 parent ab3acab commit 56c6ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Riot/Modules/LocationSharing/UserLocationService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 56c6ef3

Please sign in to comment.