Open developerjigr opened 2 years ago
Hi @developerjigr , can you share more details on it, like info.plist and app id? You can send those details to my email kylinchang@fb.com.
Hi, we're struggling for this very same problem from yesterday. We follow all the steps described in the guides, we receive no error or warnings in the console while running the App. In App Dashboard of under Settings->Advanced we don't see the iOS SDK recognized, we can only see the one from Android version of the app, and in the Events manager we don't see anything recorded. Plus the Event Manager overview page prompts us to update the SDK, but we already had the 12.1 installed.
Hi, Do we have any solution to the issue?
We are using SDK Version 12.1.0 but we are not getting the Allow Advertiser Tracking consent in iOS 14.5 & the app events are not logging into the portal.
Do I need to move to old version of SDK or ?
Thanks!
Hello!
We are also having this issue on SDK version 12.2.1, we have set the required properties in Info.plist and have granted IDFA tracking consent, but the events are not logged in Event Manager.
Within the app dashboard under Setting -> Advanced we cannot see the iOS SDK being registered (yet Event Manager prompts us to update our iOS SDK).
We also have an android app with the Facebook SDK integrated and events are being instantly reported from there so it is definitely something on the iOS side that is causing issues.
Edit: our test devices are on iOS 15
After some sleuthing of previous issues we found a solution to our issue (specifically this issue thread) -- hopefully it can assist the OP of this issue and the others that have commented.
Our test devices had the "Allow tracking" toggle for Facebook disabled in iOS setting (iOS settings > Facebook > Allow Tracking). Once we enabled this and updated to SDK 12.2.1, the events were showing up in the Test Events screen in Event Manager.
I could not find any documentation for this in the iOS SDK integration on Facebook's website which seems odd now that iOS 14.5 and 15 are widely available.
@squaredx thank you for providing this solution and saving me hours of head scratching! Unbelievable that such important "details" are nowhere to be found in the Meta documentation!
@squaredx WOW you just fixed our 3 day long issue, of which Facebook support was nil.
• Go to iOS settings > Privacy & Security > Tracking > Allow apps to request to track • Relaunch the Facebook app and wait for it to prompt you for tracking, allow • Go to iOS settings > Facebook > Tracking to confirm it worked • Fresh install your app and relaunch • Don't forget to give @squaredx's original 2021 answer above a 👍
Checklist before submitting a bug report
Xcode version
13.0
Facebook iOS SDK version
12.1.0
Dependency Manager
Carthage
SDK Framework
Core
Goals
App Events should be logged and visible in the test events tool to know whether they are working or not.
SDK is init via application did finish launching. setAdvertiserTrackingEnabled is true.
info plist all populated with URL schemes etc
I've tried a combination of solutions posted on github issues, including setting auto logging on, requesting permissions etc.
Any ideas as to what the issue might be?
Expected results
App Events should be logged and visible in the test events tool.
Actual results
Nothing - no events being tracked or showing in the events manager.
Steps to reproduce
Attempt to integrate fbsdk
Code samples & details