Skip to content

Commit ab0d085

Browse files
authored
Make AuthInterop and AppCheckInterop properties optional in Storage (#12387)
1 parent 2c76938 commit ab0d085

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FirebaseStorage/Sources/Storage.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ import FirebaseCore
306306

307307
private static func initFetcherServiceForApp(_ app: FirebaseApp,
308308
_ bucket: String,
309-
_ auth: AuthInterop,
310-
_ appCheck: AppCheckInterop)
309+
_ auth: AuthInterop?,
310+
_ appCheck: AppCheckInterop?)
311311
-> GTMSessionFetcherService {
312312
objc_sync_enter(fetcherServiceLock)
313313
defer { objc_sync_exit(fetcherServiceLock) }
@@ -334,8 +334,8 @@ import FirebaseCore
334334
return fetcherService!
335335
}
336336

337-
private let auth: AuthInterop
338-
private let appCheck: AppCheckInterop
337+
private let auth: AuthInterop?
338+
private let appCheck: AppCheckInterop?
339339
private let storageBucket: String
340340
private var usesEmulator: Bool = false
341341
var host: String

0 commit comments

Comments
 (0)