From 5fe09e2ca5330eae993ea4e93a7a1e7142c78a24 Mon Sep 17 00:00:00 2001 From: Shawn Kuang Date: Thu, 16 Jun 2022 19:09:07 -0700 Subject: [PATCH] Fix #994 Remove unnecessary error for FCM There is no need to log and error when the API returns the existing future. --- messaging/src/ios/messaging.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/messaging/src/ios/messaging.mm b/messaging/src/ios/messaging.mm index 9230c7927f..5a44264bfc 100644 --- a/messaging/src/ios/messaging.mm +++ b/messaging/src/ios/messaging.mm @@ -180,7 +180,6 @@ void NotifyListenerSet(Listener* listener) { FIREBASE_ASSERT_RETURN(RequestPermissionLastResult(), internal::IsInitialized()); if (RequestPermissionLastResult().status() == kFutureStatusPending) { - LogError("Status is pending. Return the pending future."); return RequestPermissionLastResult(); }