Flutter: facebook_app_events iOS 14 compliance (setAdvertiserTrackingEnabled)
Asked Answered
C

1

12

Reading through the Facebook App Events Documentation and general iOS 14 guidelines, it looks like we need to check for ask users for consent for Advertiser tracking any time information is sent to Facebook.

I don't see an API endpoint for the facebook_app_events plugin to use the suggested "setAdvertiserTrackingEnabled" field. Since I'm only using the analytics/app events, is this endpoint required for iOS 14 compliance?

If so, then should I address this with the plugin creator?

Claypool answered 15/1, 2021 at 3:48 Comment(0)
Q
2

Using the same plugin you can add this code to set the tracking

facebookAppEvents.setAdvertiserTracking(enabled: true);//or false based on users selection

Yes as per the comment written on source it seems that its required for ios14 compliance..

/// Sets the Advert Tracking propeety for iOS advert tracking /// an iOS 14+ feature, android should just return a success.

Quelpart answered 14/8, 2022 at 12:46 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.