Skip to content

Commit 10c49f7

Browse files
committed
Remove projectID check in RCNConfigFetch
1 parent f44959f commit 10c49f7

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

FirebaseRemoteConfig/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# Unreleased
2+
- [changed] Throw exception if projectID is missing from FirebaseOptions. (#7725)
3+
14
# v7.9.0
25
- [added] Enabled community supported watchOS build in Swift Package Manager. (#7696)
36
- [fixed] Don't generate missing Analytics warning on Catalyst. (#7693)
4-
- [changed] Throw exception if projectID is missing from FirebaseOptions. (#7725)
57

68
# v7.8.0
79
- [fixed] Store fetch metadata per namespace to address activation issues. (#7179)

FirebaseRemoteConfig/Sources/RCNConfigFetch.m

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,6 @@ - (void)refreshInstallationsTokenWithCompletionHandler:
218218
NSLocalizedDescriptionKey : errorDescription
219219
}]];
220220
}
221-
// Check for projectID
222-
if (!_options.projectID) {
223-
NSString *errorDescription = @"Failed to get `projectID`";
224-
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000070", @"%@",
225-
[NSString stringWithFormat:@"%@", errorDescription]);
226-
NSError *error = [NSError errorWithDomain:FIRRemoteConfigErrorDomain
227-
code:FIRRemoteConfigErrorInternalError
228-
userInfo:@{NSLocalizedDescriptionKey : errorDescription}];
229-
self->_settings.isFetchInProgress = NO;
230-
return [self reportCompletionOnHandler:completionHandler
231-
withStatus:FIRRemoteConfigFetchStatusFailure
232-
withError:error];
233-
}
234221

235222
__weak RCNConfigFetch *weakSelf = self;
236223
FIRInstallationsTokenHandler installationsTokenHandler = ^(

0 commit comments

Comments
 (0)