【发布时间】:2021-08-26 12:54:38
【问题描述】:
由于 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.
有人可以向我建议,我需要添加哪个字符串作为此字符串的目的字符串?所以它可以充分说明用法。
另外,我从谷歌文档中找到了将应用内消息添加到您的应用。
但是对此有一些疑问,所以请有人告诉我这是正确的解决方案,我需要实施它,或者只需更新目的字符串即可。
【问题讨论】:
标签: ios swift crashlytics firebase-analytics app-transport-security