Feature Request: [name of my feature request]As a consumer of the Facebook SDKs purely for social login purposes, I don't want to be notified about unrelated configuration warnings in the console logs during development of my application.
Since we have no need for Facebook to track analytics, we've set the FacebookAdvertiserIDCollectionEnabled and FacebookAutoLogAppEventsEnabled info plist keys to false however we now get the following log message:
<Warning>: The value for FacebookAdvertiserIDCollectionEnabled is currently set to FALSE so you're sending app events without collecting Advertiser ID. This can affect the quality of your advertising and analytics results.
The log message above is not printed in my console. I explicitly opted out of any kind of automatic tracking and I don't need to be reminded about it each time we build and run the application.
If you're happy for me to, I'd be more than happy to submit a PR removing it but I'll wait for a response here first. Thanks
The log states the following:
so you're sending app events
But the code in FBSDKSettings is only checking isAdvertiserIDCollectionEnabled... Its wrong to assume that I'm sending events when isAdvertiserIDCollectionEnabled is false so maybe this is a bug... Could it not just log in the event that the user tries to track an event with this disabled?
Thanks for submitting this request. We will add it to our feature request list.
The complete sentence is so you're sending app events without collecting Advertiser ID. The flag isAdvertiserIDCollectionEnabled only controls whether you will send app events WITH advertiser id to Facebook, rather than control whether you send app events.
So now in iOS 14 setAdvertiserTrackingEnabled is there. how is that difference than isAdvertiserIDCollectionEnabled?
Any updates on this feature request? I would like this removed from my console as well.
@tianqibt my understanding is no difference. It's the same thing.
But I may be wrong :)
Most helpful comment
The log states the following:
But the code in
FBSDKSettingsis only checkingisAdvertiserIDCollectionEnabled... Its wrong to assume that I'm sending events whenisAdvertiserIDCollectionEnabledisfalseso maybe this is a bug... Could it not just log in the event that the user tries to track an event with this disabled?