facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
Application gets rejected on ios because of ASIdentifierManager
I am trying to publish a game in the kids' category which has Facebook login with a parental gate, but my application gets rejected with the following message:
Guideline 1.3 - Safety - Kids Category
We noticed that your Kids Category app includes analytics, advertising and collects, transmits, or has the ability to share personal information or device information with third parties. Specifically:
- Your app includes third-party analytics or third-party advertising with the ability to collect, transmit or share identifiable information, including, for example, IDFA. We found that your app references the ASIdentifierManager API, which provides access to a user's IDFA, in the following location(s) in your binary:
• Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit
It would be appropriate to remove all instances of “ASIdentifierManager” from your app, even if they are not utilized in your app's functionality.
Is there any solution to this?
Same issue here, I had to release an update so for the time being I have completely removed the SDK from my project. Would be great if there was another solution to keep FB functionalities!
Yes, it's quite simple fix. However you need to fix the Facebook SDK iOS code. You need to make a conditional checks in 4 files.
The files are FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/FBSDKAppEventsUtility.m FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.m FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKDynamicFrameworkLoader.h FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKDynamicFrameworkLoader.m
for reference you can check out: https://github.com/snorrsi/facebook-ios-sdk/commit/9d69d9ab0e510359311085def696c750c345037a
few commits there after fix initial spelling error I made
Newest fix for 11.2.1 is at https://github.com/snorrsi/facebook-ios-sdk/tree/v11.2.1-ban-idfa
In my post processing I add these files and add the line at the top of each of the 4 files #define FBSDK_IDFA_DISALLOWED 1
Did that as a workaround as I had some issue adding the conditional build setting to Xcode
Thanks, @snorrsi. I had to remove the package from our project as @kleton5 did. But I am going to try it soon.
Question on this. If we remove those checks will Facebook still be able to track installs or is this code required for tracking installs?