Skip to content

Commit

Permalink
Fix: typos of the FirebaseRemoteConfig source code
Browse files Browse the repository at this point in the history
  • Loading branch information
MojtabaHs committed Oct 5, 2024
1 parent a1e4be7 commit 8f96f89
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions FirebaseRemoteConfig/Sources/RCNConfigRealtime.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ + (dispatch_queue_t)realtimeRemoteConfigSerialQueue {
return realtimeRemoteConfigQueue;
}

- (void)propogateErrors:(NSError *)error {
- (void)propagateErrors:(NSError *)error {
__weak RCNConfigRealtime *weakSelf = self;
dispatch_async(_realtimeLockQueue, ^{
__strong RCNConfigRealtime *strongSelf = weakSelf;
Expand Down Expand Up @@ -402,7 +402,7 @@ - (void)retryHTTPConnection {
}];
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000014", @"Cannot establish connection. Error: %@",
error);
[self propogateErrors:error];
[self propagateErrors:error];
}
});
}
Expand Down Expand Up @@ -455,7 +455,7 @@ - (void)fetchLatestConfig:(NSInteger)remainingAttempts targetVersion:(NSInteger)
@"Failed to retrieve config due to fetch error. "
@"Error: %@",
error);
return [self propogateErrors:error];
return [self propagateErrors:error];
}
if (status == FIRRemoteConfigFetchStatusSuccess) {
if ([strongSelf->_configFetch.templateVersionNumber
Expand Down Expand Up @@ -507,7 +507,7 @@ - (void)autoFetch:(NSInteger)remainingAttempts targetVersion:(NSInteger)targetVe
}];
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000011",
@"Ran out of fetch attempts, cannot find target config version.");
[self propogateErrors:error];
[self propagateErrors:error];
return;
}

Expand Down Expand Up @@ -536,7 +536,7 @@ - (void)evaluateStreamResponse:(NSDictionary *)response error:(NSError *)dataErr
NSLocalizedDescriptionKey :
@"The server is temporarily unavailable. Try again in a few minutes."
}];
[self propogateErrors:error];
[self propagateErrors:error];
} else {
NSInteger clientTemplateVersion = [_configFetch.templateVersionNumber integerValue];
if (updateTemplateVersion > clientTemplateVersion) {
Expand All @@ -548,7 +548,7 @@ - (void)evaluateStreamResponse:(NSDictionary *)response error:(NSError *)dataErr
[NSError errorWithDomain:FIRRemoteConfigUpdateErrorDomain
code:FIRRemoteConfigUpdateErrorMessageInvalid
userInfo:@{NSLocalizedDescriptionKey : @"Unable to parse ConfigUpdate."}];
[self propogateErrors:error];
[self propagateErrors:error];
}
}

Expand All @@ -567,7 +567,7 @@ - (void)URLSession:(NSURLSession *)session
code:FIRRemoteConfigUpdateErrorStreamError
userInfo:@{NSLocalizedDescriptionKey : strData}];
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000021", @"Cannot establish connection. %@", error);
[self propogateErrors:error];
[self propagateErrors:error];
return;
}

Expand Down

0 comments on commit 8f96f89

Please sign in to comment.