首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用于Firebase/Crashlytics & Firebase/Analytics的NSUserTrackingUsageDescription的目的字符串是什么?

用于Firebase/Crashlytics & Firebase/Analytics的NSUserTrackingUsageDescription的目的字符串是什么?
EN

Stack Overflow用户
提问于 2021-06-09 13:51:35
回答 1查看 2.3K关注 0票数 0

因为苹果要求开发者通过应用跟踪透明框架获得用户的许可来跟踪他们,或者用iOS 14.5访问他们的设备的广告标识符。

在我的应用程序中,我正在使用'Firebase/Crashlytics' & 'Firebase/Analytics'进行坠机报告。因此,我将下面的目的字符串添加到我的info.plist中

代码语言:javascript
复制
<key>NSUserTrackingUsageDescription</key> 
<string>This identifier will be used to collect Crash Data.</string>

但他们还是以以下理由拒绝了应用程序。

代码语言:javascript
复制
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.

请有人给我建议一下,我需要添加哪一个字符串作为这个字符串的用途?因此,它可以充分解释用法。

另外,我还发现了从google文档向应用程序添加In消息。

https://firebase.google.com/docs/ios/supporting-ios-14

但是对此有一些疑问,所以请有人告诉我,这是正确的解决方案,我需要实现它,或者它可以通过更新的目的字符串。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-06-09 14:09:22

让它更详细。你可以说一些类似This identifier will be used to collect Crash Data and in-app activity in order to improve functionalities and user engagement的话。或者类似的东西。

在您的String中,您只引用Crashlytics,但忽略了对Analytics的引用。

苹果可能会回答说,在你的应用程序中做了字符串修正后,他们找不到警报。如果发生这种情况,您只需回答它们:警报每个设备只显示一次(如果是的话),以及显示警报的类(通常在AppDelegate中使用)。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67905504

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档