From 1ddfd7cddbe8bbc5c09a20f39b1238db4aedab07 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Tue, 13 Feb 2024 14:40:03 -0500 Subject: [PATCH] Make `AuthInterop` and `AppCheckInterop` properties optional in Storage --- FirebaseStorage/Sources/Storage.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FirebaseStorage/Sources/Storage.swift b/FirebaseStorage/Sources/Storage.swift index c4590bd28e7..79d18dfa4f6 100644 --- a/FirebaseStorage/Sources/Storage.swift +++ b/FirebaseStorage/Sources/Storage.swift @@ -306,8 +306,8 @@ import FirebaseCore private static func initFetcherServiceForApp(_ app: FirebaseApp, _ bucket: String, - _ auth: AuthInterop, - _ appCheck: AppCheckInterop) + _ auth: AuthInterop?, + _ appCheck: AppCheckInterop?) -> GTMSessionFetcherService { objc_sync_enter(fetcherServiceLock) defer { objc_sync_exit(fetcherServiceLock) } @@ -334,8 +334,8 @@ import FirebaseCore return fetcherService! } - private let auth: AuthInterop - private let appCheck: AppCheckInterop + private let auth: AuthInterop? + private let appCheck: AppCheckInterop? private let storageBucket: String private var usesEmulator: Bool = false var host: String