facebook-ios-sdk icon indicating copy to clipboard operation
facebook-ios-sdk copied to clipboard

Your app is out of date. To run your app on iOS 14, update to the latest Facebook SDK for iOS.

Open francescopetrungaro opened this issue 1 year ago • 1 comments

Checklist before submitting a bug report

Xcode version

15.0.1

Facebook iOS SDK version

16.2.1

Dependency Manager

SPM

SDK Framework

Core

Goals

I would like to see event in the event manager page, use latest version of the Facebook SDK that supports Apple's SKAdNetwork API, which is required to deliver ads to people using iOS 14.5 or later devices.

Expected results

I would like to see event in the event manager page

Actual results

I get a warning in the event manager portal:

**Update your apps to the latest Facebook SDK

The latest version of the Facebook SDK supports Apple's SKAdNetwork API, which is required to deliver ads to people using iOS 14.5 or later devices. Learn more We'll also prompt you to send the Advertiser Tracking Enabled flag with your app events. This will allow you to share user consent status and indicate whether you want us to treat an event as opted out from tracking. We created this task to help you reduce the negative impacts of Apple's iOS 14 changes. Visit the Resource Centre to learn more.**

Steps to reproduce

No response

francescopetrungaro avatar Nov 14 '23 18:11 francescopetrungaro

getting the same issue..

makinghappen avatar Jan 07 '24 23:01 makinghappen

same here

andreyoshev avatar Jan 22 '24 14:01 andreyoshev

same here

gpernelle avatar Jan 28 '24 23:01 gpernelle

Has anyone found a fix for this? Does this message eventually go away?

laud avatar Feb 29 '24 05:02 laud

I have an update on this issue, the warning on the portal disappeared few days later. I have started the configuration from scratch and it worked.

I followed multiple Facebook tutorial pages including this one https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#add-events that I suggest you to read again and follow carefully.

I can tell you what I have setup in the project right now:

Info.plist FacebookAutoLogAppEventsEnabled = true FacebookAdvertiserIDCollectionEnabled = true

FacebookAppID FacebookClientToken FacebookDisplayName FirebaseAppDelegateProxyEnabled = false

Queried URL Schemes instagram Facebook fbapi fb-messenger-api fbauth2 fbsharedextension fb-messenger-shared-api

In code I have set the following settings based on user tracking permissions

Settings.shared.isAutoLogAppEventsEnabled = isTrackingAllowed
Settings.shared.isAdvertiserTrackingEnabled = isTrackingAllowed
Settings.shared.isAdvertiserIDCollectionEnabled = isTrackingAllowed

and obviously do not forget to log AppEvents.shared.logEvent(AppEvents.Name("battledAnOrc"))

francescopetrungaro avatar Mar 02 '24 14:03 francescopetrungaro