Skip to content
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
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
Loading