Update Facebook SDK with Ionic Capacitor (capacitor-firebase-auth)

So I’m having trouble updating the Facebook SDK for iOS and Android on my Ionic Capacitor 3 project. The Facebook SDK for iOS has to be version 8 or higher to support the new iOS 14 tracking updates.

The thing is, the Facebook dashboard sends me to this url Facebook upgrade guide. For iOS, you only have to add some pods to your Podfile, but this doesn’t seem to change anything. I’m using the capacitor plugin capacitor-firebase-auth to handle the authentication.

I’m not really sure what I’m doing wrong, is it a problem that I don’t use the Facebook SDK directly, by using it through capacitor-firebase-auth?

This is the warning I’m getting: enter image description here

I’m using:

  • Ionic 5
  • Capacitor 3
  • capacitor-firebase-auth 3.0.0
  • My Podfile.lock shows a FacebookSDK of 5.15.1

if it’s something related to facebook login, I really suggest to use the capacitor plugin:
Facebook Capacitor Login

1 Like

That fixed it, thanks!

At first I thought it didn’t work, but the iOS SDK version on the Facebook dashboard had a delay of 3 days (so keep that in mind)

Do you, if there exists plugin that supports logEvent() method?

i don’t know, i’m sorry