【问题标题】:What will be purpose string of NSUserTrackingUsageDescription for Firebase/Crashlytics & Firebase/Analytics?Firebase/Crashlytics 和 Firebase/Analytics 的 NSUserTrackingUsageDescription 的目的字符串是什么?
【发布时间】: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.

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

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

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

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

【问题讨论】:

    标签: ios swift crashlytics firebase-analytics app-transport-security


    【解决方案1】:

    让它更详细。你可以说类似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 可能会回复说他们在更正字符串后没有在您的应用中找到警报。如果发生这种情况,您只需回答他们每个设备仅显示一次警报(如果有),以及显示警报的类(通常用于AppDelegate)。

    【讨论】:

    • 感谢您提供的信息。让我试试这个。如果您有任何想法,请告诉我您对应用内消息的想法。
    • 关于这一点,Apple 不会考虑在 Appstore 上发布您的应用程序(因为这是与 Firebase API 相关的问题)。但是,我认为您应该添加该消息,因为 Firebase 文档是这样说的。但是,我认为您可能会问另一个仅针对该主题的问题。是否真的有必要同时实现 Tracking Transparency 的两个消息?我不知道。也许有人知道更多细节。
    • 好的。感谢您的努力和信息伙伴。
    • 欢迎您。最后一句话。 Apple 在他们的商店中发布的服务非常好。他们通常会在几个小时内回复。因此,如果他们不再批准您的应用,您应该直接询问他们(App Store Connect 中有一条消息 ui)。
    • 谢谢。应用程序通过上述目的字符串获得批准。我将在我未来的应用中尝试应用内消息,如果这也是解决方案之一,我会在此处发布。
    猜你喜欢
    • 2019-07-23
    • 1970-01-01
    • 2020-04-24
    • 1970-01-01
    • 1970-01-01
    • 2016-09-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多