Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable this log or this is nonsense warning: "You haven't set a value for FacebookAdvertiserIDCollectionEnabled. Set the flag to TRUE if you want to collect Advertiser ID for better advertising and analytics results" #2497

Open
5 tasks done
Volodymyr-13 opened this issue Nov 4, 2024 · 1 comment

Comments

@Volodymyr-13
Copy link

Checklist before submitting a bug report

Xcode version

16.1

Facebook iOS SDK version

17.4.0

Dependency Manager

SPM

SDK Framework

Core

Goals

When app runs I see nonsense debug warning:

: You haven't set a value for FacebookAdvertiserIDCollectionEnabled. Set the flag to TRUE if you want to collect Advertiser ID for better advertising and analytics results.
: 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

Expected results

No such log should appear, since this FacebookAdvertiserIDCollectionEnabled is not longer used.

Actual results

Logs nonsense message.

Steps to reproduce

Just initialize SDK.

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"
@alex-pnz
Copy link

alex-pnz commented Nov 5, 2024

I also have:
<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.

Although, FacebookAutoLogAppEventsEnabled and FacebookAdvertiserIDCollectionEnabled are set to true in the info.plist file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants