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

查看:21
本文介绍了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.

我在谷歌上搜索了一些关于这个问题的信息,发现 这篇有用的文章 解释了在您的代码中搜索什么以确保您没有使用 IDFA.以下是相关内容:

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选择器:advertisingIdentifier框架: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.即使我们的应用程序不提供广告,是否建议对此问题回答是"?或者有什么方法可以编译应用程序,以便 ASIdentifierManagerXamarin.IOS.dll 中不被引用?

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天全站免登陆