【发布时间】:2016-09-19 23:28:55
【问题描述】:
远程配置推送需要多长时间?我有以下代码,在网络上推送新更新后,它会继续打印 false 和旧值至少几分钟。
remoteConfig.fetchWithCompletionHandler { (status, error) -> Void in
if (status == FIRRemoteConfigFetchStatus.Success) {
print("Config fetched.")
print(self.remoteConfig.activateFetched())
print(self.remoteConfig.configValueForKey("my_key").stringValue)
} else {
print("Config not fetched.")
}
}
【问题讨论】:
-
它应该最多显示 5 秒的新通知。 id 你的互联网连接速度很快。如果您的互联网连接速度很快,那么托管问题。
标签: ios swift firebase firebase-remote-config