Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: typos of the FirebaseRemoteConfig source code #13825

Merged
merged 1 commit into from
Oct 5, 2024
Merged
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
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
Loading