1

My app was rejected before 20 days saying it has an advertisingIdentifier. I searched on google and came across with this link. I made appropriate changes and now my app is live on the app store, but I am not getting any facebook logs after doing this. Is there anything which I have missed out?

I also want to know whether the new facebook sdk 3.13 resolves the same issue?

Thank you in advance!

Community
  • 1
  • 1
Priyanka
  • 23
  • 4

1 Answers1

0

No, Facebook iOs SDk 3.13 still does not fix the IDFA issue. You can get the source code from https://github.com/facebook/facebook-ios-sdk , instead of the compiled framework. Just deleting the framework and pasting in the source code should do it.

Go to FBUtility.m and modify this method:

+ (NSString *)advertiserID {
    NSString *advertiserID = nil;
    Class ASIdentifierManagerClass = [FBDynamicFrameworkLoader loadClass:@"ASIdentifierManager" withFramework:@"AdSupport"];
    if ([ASIdentifierManagerClass class]) {
        ASIdentifierManager *manager = [ASIdentifierManagerClass sharedManager];
        advertiserID = [[manager advertisingIdentifier] UUIDString];
    }
    return advertiserID;
}

to

+ (NSString *)advertiserID {
   return @"";
}

Build your own framework.

neothi
  • 1
  • 1
  • Thanks for the reply. I have already done this but I am unable to get the log on fb after this. Do you know how to solve it? – user392406 Jun 26 '14 at 05:39