Skip to content

Commit 1470f4e

Browse files
committed
Use new Google Utility for detecting whether to support background URL session uploads
1 parent f5f8fa5 commit 1470f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseStorage/Sources/StorageUploadTask.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import Foundation
9898
uploadFetcher.uploadFileURL = fileURL
9999
uploadFetcher.comment = "File UploadTask"
100100

101-
if GULAppEnvironmentUtil.isAppExtension() {
101+
if !GULAppEnvironmentUtil.supportsBackgroundURLSessionUploads() {
102102
uploadFetcher.useBackgroundSession = false
103103
}
104104
}

0 commit comments

Comments
 (0)