"Error : Use of undeclared type MessagingDelegate" in Firebase messaging

Heckyl Technologies picture Heckyl Technologies · Oct 9, 2017 · Viewed 9.7k times · Source

I have updated my firebase messaging pod recently and followed the Quickstart guide of Firebase to perform necessary changes of upgradation.

I added the new extension AppDelegate : MessagingDelegate extension but getting certain errors.

enter image description here

Answer

Daniel Raouf picture Daniel Raouf · Dec 12, 2017

add import FirebaseMessaging at the top of the page would resolve the issue