remove all instances of “ASIdentifierManager”

427 views
Skip to first unread message

in...@andela.eu

unread,
Dec 9, 2021, 2:14:57 PM12/9/21
to Google Mobile Ads SDK Developers
My app is now rejected with the following message:
"We still notice 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:

• /System/Library/Frameworks/AdSupport.framework/AdSupport
• muntbubble

It would be appropriate to remove all instances of “ASIdentifierManager” from your app, even if they are not utilized in your app's functionality."

In this rejected version i use:  [GADMobileAds.sharedInstance.requestConfiguration tagForChildDirectedTreatment:YES];

I removed the frameworks GoogleAppMeasurementIdentitySupport  and UserMessagingPlatform (kids are under age of consent) so i ame only using:
        GoogleAppMeasurement
        GoogleMobileAds
        GoogleUtilities
        nanopb
        PromisesObjC
Removed de code for UMP and uploaded a new build. This new build is also rejected by apple. 

Mobile Ads SDK Forum Advisor

unread,
Dec 10, 2021, 12:58:23 AM12/10/21
to in...@andela.eu, google-adm...@googlegroups.com
Hi Peter,

Thank you for reporting this.

Would it be possible for you to provide a project (or at least a sample project) which was rejected by apple? Once provided, I'll raising this to the rest of the team for further investigation. Kindly share the requested details via Reply to author option. If the option does not work, kindly send it to mobileadstesting99@gmail.com, then let us know here once sent.

Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2SdgAa:ref

in...@andela.eu

unread,
Dec 11, 2021, 5:01:40 PM12/11/21
to Google Mobile Ads SDK Developers
I think i know what the problem is.  In the way of finding out where the ASIdentifierManager is used, i found the file "OpenQuickly-ReferencedFrameworks.index-v1" it is created during the Archive proces of the iOS app.

You can find it in Xcode: "Product->Show derived data in finder"

It contains:
<plist version="1.0">
<array>
        <string>AVFoundation</string>
        <string>QuartzCore</string>
        <string>CoreFoundation</string>
        <string>Metal</string>
        <string>OpenAL</string>
        <string>GameController</string>
        <string>AVKit</string>
        <string>WebKit</string>
        <string>Security</string>
        <string>OpenGLES</string>
        <string>AppTrackingTransparency</string>
        <string>UserMessagingPlatform</string>

        <string>AudioToolbox</string>
        <string>UIKit</string>
        <string>Foundation</string>
        <string>CoreText</string>
        <string>CoreMedia</string>
        <string>AdSupport</string>
</array>
</plist>

I removed all the Admob code using "#if" and/ or making it comment lines like below:

#define ANDELA_ADS false
#if ANDELA_ADS
//#import <AppTrackingTransparency/AppTrackingTransparency.h>
//#import <AdSupport/AdSupport.h>
//#import <UserMessagingPlatform/UserMessagingPlatform.h>
#endif

but the unwanted libs keeps showing up in the file ""OpenQuickly-ReferencedFrameworks.index-v1".

When i removed de lines completely the unwanted frameworks did not show up in the OpenQuickly....--file.

So i think i can not use #if or comment "//" to remove code from mij app. I will make a new clean version.






Op vrijdag 10 december 2021 om 06:58:23 UTC+1 schreef mobileadssdk:
Hi Peter,

Thank you for reporting this.

Would it be possible for you to provide a project (or at least a sample project) which was rejected by apple? Once provided, I'll raising this to the rest of the team for further investigation. Kindly share the requested details via Reply to author option. If the option does not work, kindly send it to mobileads...@gmail.com, then let us know here once sent.

Mobile Ads SDK Forum Advisor

unread,
Dec 13, 2021, 3:46:45 AM12/13/21
to in...@andela.eu, google-adm...@googlegroups.com
Hi Peter,

Could you kindly share your project file via Reply to author option? This will greatly help us to investigate the issue. As an aside, you can check this article on how to comply google play policies. For other third party program, you can check this article to participate in the Families Ads Program

Kevin

unread,
Feb 23, 2022, 10:32:35 AM2/23/22
to Google Mobile Ads SDK Developers
Hi, Peter.

can please update if found soultion for this case
Reply all
Reply to author
Forward
0 new messages