Skip to content

Commit ccc9101

Browse files
authored
Fix: typos of the FirebaseRemoteConfig source code (#13825)
1 parent a1e4be7 commit ccc9101

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

FirebaseRemoteConfig/Sources/RCNConfigRealtime.m

+7-7
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ + (dispatch_queue_t)realtimeRemoteConfigSerialQueue {
152152
return realtimeRemoteConfigQueue;
153153
}
154154

155-
- (void)propogateErrors:(NSError *)error {
155+
- (void)propagateErrors:(NSError *)error {
156156
__weak RCNConfigRealtime *weakSelf = self;
157157
dispatch_async(_realtimeLockQueue, ^{
158158
__strong RCNConfigRealtime *strongSelf = weakSelf;
@@ -402,7 +402,7 @@ - (void)retryHTTPConnection {
402402
}];
403403
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000014", @"Cannot establish connection. Error: %@",
404404
error);
405-
[self propogateErrors:error];
405+
[self propagateErrors:error];
406406
}
407407
});
408408
}
@@ -455,7 +455,7 @@ - (void)fetchLatestConfig:(NSInteger)remainingAttempts targetVersion:(NSInteger)
455455
@"Failed to retrieve config due to fetch error. "
456456
@"Error: %@",
457457
error);
458-
return [self propogateErrors:error];
458+
return [self propagateErrors:error];
459459
}
460460
if (status == FIRRemoteConfigFetchStatusSuccess) {
461461
if ([strongSelf->_configFetch.templateVersionNumber
@@ -507,7 +507,7 @@ - (void)autoFetch:(NSInteger)remainingAttempts targetVersion:(NSInteger)targetVe
507507
}];
508508
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000011",
509509
@"Ran out of fetch attempts, cannot find target config version.");
510-
[self propogateErrors:error];
510+
[self propagateErrors:error];
511511
return;
512512
}
513513

@@ -536,7 +536,7 @@ - (void)evaluateStreamResponse:(NSDictionary *)response error:(NSError *)dataErr
536536
NSLocalizedDescriptionKey :
537537
@"The server is temporarily unavailable. Try again in a few minutes."
538538
}];
539-
[self propogateErrors:error];
539+
[self propagateErrors:error];
540540
} else {
541541
NSInteger clientTemplateVersion = [_configFetch.templateVersionNumber integerValue];
542542
if (updateTemplateVersion > clientTemplateVersion) {
@@ -548,7 +548,7 @@ - (void)evaluateStreamResponse:(NSDictionary *)response error:(NSError *)dataErr
548548
[NSError errorWithDomain:FIRRemoteConfigUpdateErrorDomain
549549
code:FIRRemoteConfigUpdateErrorMessageInvalid
550550
userInfo:@{NSLocalizedDescriptionKey : @"Unable to parse ConfigUpdate."}];
551-
[self propogateErrors:error];
551+
[self propagateErrors:error];
552552
}
553553
}
554554

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

0 commit comments

Comments
 (0)