-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose live location sharing labs flag (default: false) and re-enable background location access (PSF-1127) #6324
Conversation
Signed-off-by: Johannes Marbach <[email protected]>
@@ -153,7 +153,7 @@ final class RiotSettings: NSObject { | |||
var enableUISIAutoReporting | |||
|
|||
/// Indicates if live location sharing is enabled | |||
@UserDefault(key: UserDefaultsKeys.enableLiveLocationSharing, defaultValue: BuildSettings.liveLocationSharingEnabled, storage: defaults) | |||
@UserDefault(key: UserDefaultsKeys.enableLiveLocationSharing, defaultValue: false, storage: defaults) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this should still use a BuildSettings value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments inline, otherwise LGTM. And a reminder for the iOS team: we'll probably get a rejection from Apple again when we release this.
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This makes the labs flag for live location sharing available in the app settings (default value still
false
) and reverts #6299 which itself reverted background location access. In other words, background location access is enabled now.I also tweaked some of the comments because we'll keep the build setting even after live location sharing is finished so that forks can easily disable location-related features.
Pull Request Checklist