5. 1.1 Legal: Privacy – Data Collection and Storage

苹果iOS14.5有一重大更新,那就是将迫使所有应用程序(App)询问用户,是否希望出于广告目的而被跟踪。

近期为一款APP增加了广告追踪权限,本文记录了相关知识点,以及某一次提审核被拒的原因。

首先接入相关代码:

#import <AppTrackingTransparency/AppTrackingTransparency.h>


if (@available(iOS 14, *)) {
        [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
            
        }];
    }

在plist中增加权限描述:

Privacy – Tracking Usage Description:用于向您提供个性化的服务及内容,未经同意我们不会用于其他目的;开启后,您也可以前往系统“设置-隐私 ”中随时关闭


有一次APP中用到了IDFA,但却没有广告,于是在plist中这样写了描述:用于获取IDFA,开启后,您也可以前往系统“设置-隐私 ”中随时关闭。但提交审核后被拒了,原因如本文标题一样,5. 1.1 Legal: Privacy – Data Collection and Storage,详细被拒信息如下:

Guideline 5.1.1 – Legal – Privacy – Data Collection and Storage

We noticed that your app requests the user’s consent to access the AppTrackingTransparency framework, but doesn’t sufficiently explain the use of the AppTrackingTransparency framework in the purpose string.

To help users make informed decisions about how their data is used, all permission request alerts need to specify how your app will use the requested information.

Next Steps

Please revise the relevant purpose string in your app’s Info.plist file to specify why your app needs access to the user’s AppTrackingTransparency framework. Make sure the purpose string includes an example of how the user’s data will be used.

You can modify your app’s Info.plist file using the property list editor in Xcode.

Resources

– See examples of helpful, informative purpose strings.
– Review a list of relevant property list keys.

Please see attached screenshot for details.


被拒原因大致就是说:我的应用程序请求用户同意访问AppTrackingTransparency框架,但没有充分解释在目的字符串中AppTrackingTransparency框架的使用。也就是只在plist的权限描述中说明了用于获取IDFA,但没有说明获取之后的使用目的。

于是将权限描述改为了之前的通用内容:用于向您提供个性化的服务及内容,未经同意我们不会用于其他目的;开启后,您也可以前往系统“设置-隐私 ”中随时关闭。

至此重新提交审核。

打赏

尊重原创内容,转载请注明出处
本文链接地址: https://www.awnlab.com/archives/749

为您推荐

发表评论

邮箱地址不会被公开。 必填项已用*标注