Adapty kids mode and adservices / apple search ads incorrectly blocked?
Henrik Sallander
Hi! I'm the developer of a kids game based in the EU. I'm starting with Apple Search Ads and want to analyse the ads performance post-install and henve I need to implement support for the AdServices framework in the game. I see Adapty has that in place so I'm giving it a try.
I see in your code (Unity plugin 3.4.1) that the ads attribution doesn't seem to run if the flag "ADAPTY_KIDS_MODE" has been set. Isn't that an error on your end? The AdServices framework is (according to Apples own documentation) safe to use for since it's anonymous and privacy safe, even in the kids category. Blocking the IDFA when setting ADAPTY_KIDS_MODE, however, is of course strictly needed as I see you're doing in the code correctly.
So line 9 in Adapty+UpdateASAToken.swift should possibly be changed from
#if !ADAPTY_KIDS_MODE && canImport(AdServices)
to just
#if canImport(AdServices)
perhaps?