Adobe and Firebase Not working in AppDelegate at the same time

139 Views Asked by At

I implemented Adobe Lifecycle events and Firebase messaging feature in AppDelegate in two different projects.

But when I try to add adobe lifecycle code with firebase code and import the pods for Adobe Analytics (AEPCore ,AEPAnalytics ,AEPUserProfile, AEPIdentity, AEPLifecycle, AEPSignal,AEPServices ,ACPCore) then I get this error:

Cannot assign value of type 'AppDelegate' to type 'MessagingDelegate?'

Please help if someone faced this issue.

1

There are 1 best solutions below

0
Shivi Vij On

It worked when you write " extension AppDelegate: FirebaseMessaging.MessagingDelegate " instead of "extension AppDelegate: MessagingDelegate"