繁体   English   中英

Firebase/Crashlytics 和 Firebase/Analytics 的 NSUserTrackingUsageDescription 的目的字符串是什么?

[英]What will be purpose string of NSUserTrackingUsageDescription for Firebase/Crashlytics & Firebase/Analytics?

由于 Apple 要求开发人员通过 App Tracking Transparency 框架获得用户的许可,以便通过 iOS 14.5 跟踪他们或访问其设备的广告标识符 (IDFA)

我在我的应用中使用“Firebase/Crashlytics”“Firebase/Analytics”来获取崩溃报告。 所以我将以下目的字符串添加到我的 info.plist

<key>NSUserTrackingUsageDescription</key> 
<string>This identifier will be used to collect Crash Data.</string>

但他们仍然以以下原因拒绝了应用程序。

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.

有人可以向我建议,我需要添加哪个字符串作为这个字符串的目的字符串? 所以它可以充分解释用法。

另外,我从谷歌文档中找到了将应用内消息添加到您的应用。

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

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

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

在您的String中,您只引用了Crashlytics ,但缺少对Analytics的引用。

Apple 可能会回复说他们在更正字符串后没有在您的应用程序中找到警报。 如果发生这种情况,您只需回答他们警报仅在每个设备上显示一次(如果是这样),以及显示警报的 class (通常在AppDelegate中使用)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM