Xamarin.IOS.dll使用广告标识符(IDFA) [英] Xamarin.IOS.dll use of Advertising identifier (IDFA)

查看:178
本文介绍了Xamarin.IOS.dll使用广告标识符(IDFA)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望将我们的Xamarin申请提交给Apple Appstore进行审核,并且在提交过程中会询问以下问题:

We are wanting to submit our Xamarin application for review for the Apple Appstore and in the submission process the following question is asked:

此应用程序是否使用广告标识符(IDFA)?这 广告标识符(IDFA)是每个iOS设备的唯一ID, 是提供有针对性的广告的唯一方法.用户可以选择限制广告 在他们的iOS设备上定位.

Does this app use the Advertising Identifier (IDFA)? The Advertising Identifier (IDFA) is a unique ID for each iOS device and is the only way to offer targeted ads. Users can choose to limit ad targeting on their iOS device.

它也以红色发出非常可怕的警告:

It also gives a very dire warning in red:

确保为广告标识符选择正确的答案 (IDFA)使用情况.如果您的应用程序确实包含IDFA,并且您选择了否,则 二进制文件将被永久拒绝,您将必须提交 不同的二进制文件.

Ensure that you select the correct answer for Advertising Identifier (IDFA) usage. If your app does contain the IDFA and you select No, the binary will be permanently rejected and you will have to submit a different binary.

这是问题的屏幕截图:

我不确定如何回答这个问题,因为我们的应用程序根本不提供广告,但是我不确定我们正在使用的任何组件是否正在使用IDFA,并且考虑到可怕的警告,我不想冒险

I wasn't sure how to answer this because our application does not serve adverts at all but I was not sure whether any components that we are using are using IDFA, and considering the dire warnings I did not want to take any chances.

我在Google上搜索了有关此问题的一些信息,并发现

I googled some information about this question and found this useful article which explained what to search for in your code to ensure that you are not using IDFA. Here is the relevant content:

Apple建议发布者检查代码,包括第三方 库,以消除以下情况:

Apple advised the publisher to check code, including third-party libraries, to remove any incidences of the following:

类:ASIdentifierManager 选择器:advertiseIdentifier 框架:AdSupport.framework

class: ASIdentifierManager selector: advertisingIdentifier framework: AdSupport.framework

所以我在项目中进行了以下grep搜索:

So I did the following grep search in my project:

grep -lr  "ASIdentifierManager" *

此搜索返回的结果表明,在Xamarin.iOS.dll的32位和64位版本中都找到了ASIdentifierManager.

This search returned a result saying that ASIdentifierManager was found in both the 32 bit and 64 bit versions of Xamarin.iOS.dll.

所以我正确的假设是,由于Xamarin.iOS使用的是ASIdentifierManager,因此我对这个问题回答否"是不安全的.即使我们的应用程序不投放广告,还是建议对这个问题回答是"?还是有某种方法可以编译应用程序,以便在Xamarin.IOS.dll中不引用ASIdentifierManager?

So am I correct in assuming that it would not be safe for me to answer "No" to the question because Xamarin.iOS is using ASIdentifierManager. Would it be advisable to answer "Yes" to this question even though our application does not serve adverts? Or is there some way to compile the application so that ASIdentifierManager is not referenced in Xamarin.IOS.dll?

推荐答案

如果您的应用未使用广告API,我认为您可以回答否".

I think you can answer "no" if your app doesn't using the ad APIs.

我在应用商店中有两个Xamarin应用,我一直回答否",但尚未被拒绝.我相信原因是,由于Xamarin库API引用了广告API,因为这些应用实际上并未调用它们,所以它们是可以的,并且不算作使用IDFA.

I have two Xamarin apps in the app store and I have always answered "no" and haven't been rejected yet. I believe the reason is that while the Xamarin library API references the ad API since the apps aren't actually calling it they are ok and aren't counted as using IDFA.

这篇关于Xamarin.IOS.dll使用广告标识符(IDFA)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆