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

**URL:** <https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971>\
**Category:** Capacitor\
**Created:** [December 31, 2021, 12:02pm UTC](https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971 "2021-12-31T12:02:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zizazorro](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@Zizazorro](https://forum.ionicframework.com/u/Zizazorro)\
**Post date:** [December 31, 2021, 12:02pm UTC](https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971/1 "2021-12-31T12:02:36Z")

</div>

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](https://developers.facebook.com/docs/app-events/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](https://global.discourse-cdn.com/ionicframework/original/3X/1/7/17de29117ec8b25b56971378e6c07421434086be.png)](https://i.stack.imgur.com/QYyUe.png)

I’m using:

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

---

<div class="post-metadata">

**Author:** ![ciccilleju](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ciccilleju/32/135142_2.png) [@ciccilleju](https://forum.ionicframework.com/u/ciccilleju)\
**Post date:** [December 31, 2021, 12:59pm UTC](https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971/2 "2021-12-31T12:59:27Z")

</div>

if it’s something related to facebook login, I really suggest to use the capacitor plugin:  
[Facebook Capacitor Login](https://github.com/capacitor-community/facebook-login)

---

<div class="post-metadata">

**Author:** ![Zizazorro](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@Zizazorro](https://forum.ionicframework.com/u/Zizazorro)\
**Post date:** [January 6, 2022, 7:39pm UTC](https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971/3 "2022-01-06T19:39:49Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![graygt](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@graygt](https://forum.ionicframework.com/u/graygt)\
**Post date:** [February 10, 2023, 12:50pm UTC](https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971/4 "2023-02-10T12:50:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ciccilleju](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ciccilleju/32/135142_2.png) [@ciccilleju](https://forum.ionicframework.com/u/ciccilleju)\
**Post date:** [February 13, 2023, 11:16am UTC](https://forum.ionicframework.com/t/update-facebook-sdk-with-ionic-capacitor-capacitor-firebase-auth/218971/5 "2023-02-13T11:16:26Z")

</div>

i don’t know, i’m sorry
