You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
Version 14.1 (14B47b)
Facebook iOS SDK version
14.1.0
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
On iOS 14, Custom Events should be logged and show up as Test Events AppEvents.shared.logEvent(AppEvents.Name(CUSTOM_EVENT)) n the Events Manager using iOS 14+
If there is ANY issue with the event not being sent, it SHOULD SHOW UP IN THE LOGS
Expected results
After executing AppEvents.shared.logEvent(AppEvents.Name("applicationDidEnterBackground"))
the applicationDidEnterBackground event should show up in the Events Manager using iOS 14+
git clone https://github.com/codeconsole/fbTestEvents
cd fbTestEvents
Update FB_APP_ID, FB_APP_ID, and FB_APP_ID in ios/App/App/Info.plist or run ./setupOSX.sh if on a Mac
Build the Example
npm install
npm build
Visit Event Manager for App and Choose Test Events tab.
Run the Example on iOS 13.7 Simulator
npx cap run ios
Log in with FB, then exit app and come back, notice events are fired
Run the Example on iOS 14.5 Simulator
npx cap run ios
Log in with FB, then exit app and come back, notice events are NOT fired
Code samples & details
`AppDelegate.swift`
func applicationWillEnterForeground(_ application:UIApplication){
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
AppEvents.shared.logEvent(AppEvents.Name("applicationWillEnterForeground"))AppEvents.shared.flush()}
The text was updated successfully, but these errors were encountered:
Ok, this is ridiculous and it all came down to the Facebook App "Allow tracking" setting on my iPhone?!?
What does that have to do with running in the simulator where there is no Facebook App?
What does that have to do with custom events? Why do fb_login_dialog_accept Automatically logged
fb_login_dialog_confirm_impression Automatically work either way??
If there is a permission issue with determining the use allowed App Tracking, the Response should still not return OK / 200 iF THE USER IS A TEST USER OR IS AN OWNER OF THE APP. If the user is a Test User or Owner of the App, it should return an error and state that the User does not have Tracking enabled on the Facebook app so Events are disabled.
Checklist before submitting a bug report
Xcode version
Version 14.1 (14B47b)
Facebook iOS SDK version
14.1.0
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
On iOS 14, Custom Events should be logged and show up as Test Events
AppEvents.shared.logEvent(AppEvents.Name(CUSTOM_EVENT))
n the Events Manager using iOS 14+If there is ANY issue with the event not being sent, it SHOULD SHOW UP IN THE LOGS
Expected results
After executing
AppEvents.shared.logEvent(AppEvents.Name("applicationDidEnterBackground"))
the
applicationDidEnterBackground
event should show up in the Events Manager using iOS 14+Why does it respond
when it doesn't work???
Actual results
The only events that show up are
If I run the SAME code on iOS 13.x, it works fine!
iOS 13.x debug :
iOS 14.x debug:
Steps to reproduce
Update
FB_APP_ID
,FB_APP_ID
, andFB_APP_ID
inios/App/App/Info.plist
or run./setupOSX.sh
if on a MacBuild the Example
Code samples & details
The text was updated successfully, but these errors were encountered: