Skip to content

Commit 13affce

Browse files
committed
Add TODO
1 parent 5e6b55d commit 13affce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FirebaseCore/Internal/Sources/HeartbeatLogging/_ObjC_HeartbeatController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public class _ObjC_HeartbeatController: NSObject {
5050
/// - Note: This API is thread-safe.
5151
/// - Returns: A heartbeats payload for the flushed heartbeat(s).
5252
public func flushAsync(completionHandler: @escaping (_ObjC_HeartbeatsPayload) -> Void) {
53+
// TODO: When minimum version moves to iOS 13.0, restore the async version
54+
// removed in #13952.
5355
if #available(iOS 13.0, macOS 10.15, macCatalyst 13.0, tvOS 13.0, watchOS 6.0, *) {
5456
Task {
5557
let heartbeatsPayload = await heartbeatController.flushAsync()

0 commit comments

Comments
 (0)