[AC-6699] Facebook - Control Automatically Logged Events
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules |
Labels | events, facebookSDK, tracking |
Reporter | Martyn Joyce |
Assignee | Abir Mukherjee |
Created | 2021-04-29T12:40:59.000+0000 |
Updated | 2021-04-29T12:40:59.000+0000 |
Description
The Facebook module currently allows us to set the app event variables in the info.plist but does not let us alter them at runtime.
This is required as with iOS14.5 and appTrackingTransparency we need to start with these 'false' and enable them once the user has agreed.
Facebook has a page that discusses exactly how to do this and we need this making available through the module:
https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#disable-auto-events
In essence we need the Ti equivalent of:
[FBSDKSettings setAutoLogAppEventsEnabled:YES];
[FBSDKSettings setAdvertiserIDCollectionEnabled:@YES];
I believe that this is a critical issue as currently there is no way to integrate facebook correctly without disabling event collection completely.
No comments