【发布时间】:2018-02-15 11:08:42
【问题描述】:
我在 Firebase 上创建了一个 AB 测试(尚未发布)并添加了测试设备的令牌。 但是所提供的密钥的价值不会到来。
由于 AB 测试处于 Beta 阶段,因此它在 Firebase 方面是否存在错误,无法在测试设备上运行?
let remoteConfig = RemoteConfig.remoteConfig()
remoteConfig.fetch(withExpirationDuration: 0) { status, _ in
if status == RemoteConfigFetchStatus.success {
remoteConfig.activateFetched()
let ab_test_value = remoteConfig.configValue(forKey: "ab_test_key").stringValue
print(ab_test_value)
}}
ab_test_value 为空。
【问题讨论】:
标签: ios swift firebase ab-testing firebase-remote-config