Xamarin.Forms - How to check if my app uses the Advertising Identifier (IDFA)?

Paul 296 Reputation points
2021-01-19T14:24:04.257+00:00

Hi everyone, I'm using Xamarin.Forms.

For iOS app, how to check whether it uses IDFA? I'm about to submit the app for Apple Review in App Store Connect.

For native iOS project (xCode), there were some commands to run like grep. How to check this in Xamarin project?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
    2021-01-20T07:32:30.813+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Try grep -lr "ASIdentifierManager" * , the search may return a result saying that ASIdentifierManager was found in both the 32 bit and 64 bit versions of Xamarin.iOS.dll.

    However , please ignore it , the Xamarin library API references the ad API but the apps aren't actually calling it they are ok and aren't counted as using IDFA.

    So if you don't use any ad APIs , there is no warry .

    Thank you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.