How to remove/exclude AdSupport Class from Xamarin.iOS to disable Firebase Analytics from accessing IDFA

Paul 296 Reputation points
2021-01-15T12:41:03.45+00:00

Hi All, I'm using Firebase Analytics v6.9.0 in my Xamarin.Forms app. I want to disable the SDK from accessing IDFA (requires removing AdSupport Class from the app) and IDFV. The Google Firebase docs has information for disabling IDFV. But, to disable IDFA it says we need to exclude the AdSupport framework. AFAIK, in Xamarin, the AdSupport class is embedded in Xamarin.iOS.dll by default.

Question:
How do I remove the AdSupport class from Xamarin.iOS? If this class is present in the app, Firebase Analytics SDK will pick it (in my case via Firebase.Core.dll that references Xamarin.iOS) to access the IDFA for tracking user dimensions.

Developer technologies .NET Xamarin
{count} votes

1 answer

Sort by: Most helpful
  1. SSB 111 Reputation points
    2023-01-06T15:02:44.35+00:00

    Hi did you figure this out? Is there anyway to just check that IDFA is not being used and the AdSupport framework is not enabled?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.