Skip to content

Commit c92e296

Browse files
committed
Use new Google Utility for detecting whether to support background URL session uploads
1 parent a96d7d9 commit c92e296

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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
}

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ let package = Package(
149149
"10.0.0" ..< "11.0.0"
150150
),
151151
.package(
152-
url: "https://github.com/google/GoogleUtilities.git",
153-
"8.0.0" ..< "9.0.0"
152+
url: "https://github.com/harlanhaskins/GoogleUtilities.git",
153+
branch: "harlan/hi-im-clippy"
154154
),
155155
.package(
156156
url: "https://github.com/google/gtm-session-fetcher.git",

0 commit comments

Comments
 (0)