Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions FirebaseCore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Firebase 9.6.0
- [fixed] Update dependency specification for GTMSessionFetcher to allow all 2.x versions. (#10131)

# Firebase 9.5.0
- [fixed] Zip Distribution Fixed Promises module name issue impacting lld builds. (#10071)
- [fixed] Limit dependency GTMSessionFetcher version update to < 2.1.0 to avoid a new deprecation
Expand Down
2 changes: 1 addition & 1 deletion FirebaseStorageInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Objective-C Implementations for FirebaseStorage. This pod should not be directly
s.osx.framework = 'CoreServices'

s.dependency 'FirebaseCore', '~> 9.0'
s.dependency 'GTMSessionFetcher/Core', '>= 1.7', '< 2.1'
s.dependency 'GTMSessionFetcher/Core', '>= 1.7', '< 3.0'
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
Expand Down
3 changes: 3 additions & 0 deletions FirebaseStorageInternal/Sources/FIRStorageTokenAuthorizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ NS_ASSUME_NONNULL_BEGIN
* If no authentication provider exists or no token is found, no token is added
* and the request is passed.
*/
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@interface FIRStorageTokenAuthorizer : NSObject <GTMFetcherAuthorizationProtocol>
#pragma clang diagnostic pop

/**
* Initializes the token authorizer with an instance of FIRApp.
Expand Down
3 changes: 3 additions & 0 deletions FirebaseStorageInternal/Sources/FIRStorageTokenAuthorizer.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ - (instancetype)initWithGoogleAppID:(NSString *)googleAppID

#pragma mark - GTMFetcherAuthorizationProtocol methods

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
- (void)authorizeRequest:(NSMutableURLRequest *)request
delegate:(id)delegate
didFinishSelector:(SEL)sel {
#pragma clang diagnostic push
// Set version header on each request
NSString *versionString = [NSString stringWithFormat:@"ios/%@", FIRFirebaseVersion()];
[request setValue:versionString forHTTPHeaderField:@"x-firebase-storage-version"];
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ let package = Package(
.package(
name: "GTMSessionFetcher",
url: "https://github.com/google/gtm-session-fetcher.git",
"1.7.2" ..< "2.1.0"
"1.7.2" ..< "3.0.0"
),
.package(
name: "nanopb",
Expand Down