【问题标题】:iOS: TestFlight beta app get new advertising identifier in each runiOS:TestFlight 测试版应用在每次运行中都会获得新的广告标识符
【发布时间】:2014-12-26 05:58:12
【问题描述】:

每次我在 iTunesConnect 中运行上传到 TestFlight 的测试版应用程序时,我都会获得新的广告标识符。 这是正常行为吗? AppStore 应用也会发生这种情况吗? 我正在使用广告标识符在某些情况下识别用户及其凭据。但如果它在每次运行中都发生变化,则用户必须在每次运行中激活。

[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];

在 testflight 构建中,在 3 次运行中,我得到了,例如

ID: 3E841B61-B007-44D3-B654-6C857122301E
ID: 2EC3682A-D162-4CE6-B07A-8B73282456A4
ID: 1D8513EA-0757-4E5F-8CEE-B6C4F782E966

这不会在调试或临时构建中发生。 有人能解释一下吗?

提前致谢。

【问题讨论】:

    标签: ios uniqueidentifier ads testflight


    【解决方案1】:

    这是设计使然。它从 2014 年开始发生。它只会发生在 TestFlight 应用程序中,而不是应用程序商店的生产应用程序中。很遗憾 - 让实际的 Beta 测试人员很难对某些应用进行实际测试。

    在 WWDC 2014 演讲中,"User Privacy in iOS and OS X," by David Stites and Katie Skinner,他们提到了这一点。 (此链接仅适用于 Safari。)您可以在 slide #8 of their slide deck 中查看。

    在this transcript of the talk 中,您会发现:“同样在今年,对于 TestFlight 应用,每次调用 API 时广告标识符都会有所不同。”

    【讨论】:

    • 感谢您的参考。
    • 感谢您的解释。这曾经让我很害怕。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-23
    相关资源
    最近更新 更多