Skip to content

Commit 5f23f71

Browse files
authored
Fix #994 Remove unnecessary error for FCM (#999)
There is no need to log and error when the API returns the existing future.
1 parent 5c3d695 commit 5f23f71

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

messaging/src/ios/messaging.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ void NotifyListenerSet(Listener* listener) {
180180
FIREBASE_ASSERT_RETURN(RequestPermissionLastResult(), internal::IsInitialized());
181181

182182
if (RequestPermissionLastResult().status() == kFutureStatusPending) {
183-
LogError("Status is pending. Return the pending future.");
184183
return RequestPermissionLastResult();
185184
}
186185

0 commit comments

Comments
 (0)