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

App Events are not showing up at all - Does the SDK work? #1937

Open
5 tasks done
developerjigr opened this issue Nov 9, 2021 · 8 comments
Open
5 tasks done

App Events are not showing up at all - Does the SDK work? #1937

developerjigr opened this issue Nov 9, 2021 · 8 comments

Comments

@developerjigr
Copy link

developerjigr commented Nov 9, 2021

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

// INSERT YOUR CODE HERE
var example = "Example code"
@developerjigr developerjigr changed the title App Events are not showing up period - Does the SDK work? App Events are not showing up at all - Does the SDK work? Nov 9, 2021
@KylinChang
Copy link
Contributor

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.

@macshodan
Copy link

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.

@AnirudhLoya
Copy link

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!

@squaredx
Copy link

squaredx commented Dec 13, 2021

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

@squaredx
Copy link

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.

@signorbusi
Copy link

@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!

@Apps4LifeLLC
Copy link

Apps4LifeLLC commented Jan 31, 2023

@squaredx WOW you just fixed our 3 day long issue, of which Facebook support was nil.

For those in 2023:

• 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 👍

@PawelErnestLuczak
Copy link

geez, for iOS they finally started coming thanks to your suggestions, but never in real time events, just on the Overview after selecting the filter to "All events". iOS is really delayed here

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

8 participants