Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Firebase/InstanceID/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 2020-03 -- 4.3.3
- [fixed] Fixed provisioning profile location for catalyst. (#5048)
- [fixed] Fixed crash when passing a nil handler to deleteToken request. (#5247)
- [changed] Remove obsolete logic to improve performance and reduce keychain operations. (#5211, #5237)

# 2020-02 -- 4.3.2
Expand Down
1 change: 1 addition & 0 deletions Firebase/InstanceID/FIRInstanceID.m
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ - (void)deleteTokenWithAuthorizedEntity:(NSString *)authorizedEntity
if (!handler) {
FIRInstanceIDLoggerError(kFIRInstanceIDMessageCodeInstanceID001,
kFIRInstanceIDInvalidNilHandlerError);
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still want to delete the token if there's no completion handler, or leave it as is?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the API interface says it is nonnull here so it is supposed to return if passing anil.

}

// comparing enums to ints directly throws a warning
Expand Down