Skip to content

Commit

Permalink
Docs: enhance FirebaseMessaging token sources comments (#13805)
Browse files Browse the repository at this point in the history
  • Loading branch information
MojtabaHs authored Oct 4, 2024
1 parent e9e7fb8 commit ea4c5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FirebaseMessaging/Sources/Token/FIRMessagingTokenManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -744,15 +744,15 @@ - (void)setAPNSToken:(NSData *)APNSToken withUserInfo:(NSDictionary *)userInfo {
handler:^(NSString *_Nullable token,
NSError *_Nullable error){
// Do nothing as callback is not needed and the
// sub-funciton already handle errors.
// sub-function already handle errors.
}];
}
if ([self->_tokenStore cachedTokenInfos].count == 0) {
[self tokenWithAuthorizedEntity:self.fcmSenderID
scope:kFIRMessagingDefaultTokenScope
options:tokenOptions
handler:^(NSString *_Nullable FCMToken, NSError *_Nullable error){
// Do nothing as callback is not needed and the sub-funciton
// Do nothing as callback is not needed and the sub-function
// already handle errors.
}];
}
Expand Down

0 comments on commit ea4c5fa

Please sign in to comment.