Merge pull request #5729 from vector-im/steve/5719_lls_build_flag

Add live location sharing build flag
This commit is contained in:
SBiOSoftWhare
2022-03-02 18:10:24 +01:00
committed by GitHub
+13
View File
@@ -397,4 +397,17 @@ final class BuildSettings: NSObject {
return true
}
static var liveLocationSharingEnabled: Bool {
guard #available(iOS 14, *) else {
return false
}
guard self.locationSharingEnabled else {
return false
}
// Do not enable live location sharing atm
return false
}
}