【问题标题】:"minimumFetchInterval" is not defined in "RemoteConfigSettings"“minimumFetchInterval”未在“RemoteConfigSettings”中定义
【发布时间】:2019-11-07 07:13:46
【问题描述】:

我编写了以下代码来使用 Firebase RemoteConfig 功能。

let remoteConfig = RemoteConfig.remoteConfig()
let settings = RemoteConfigSettings()
settings.minimumFetchInterval = 0
remoteConfig.configSettings = settings

但是,发生了以下错误。

Value of type 'RemoteConfigSettings' has no member 'minimumFetchInterval'

怎么了?

此代码与 Firebase 官方教程中的代码相同。 https://firebase.google.com/docs/remote-config/use-config-ios?hl=en

【问题讨论】:

  • 我可以知道Firebase的版本吗?
  • 我从 Firebase 的 v5.x 更新到 v6.x。

标签: swift firebase firebase-remote-config


【解决方案1】:

抱歉,我自己解决了这个问题。 我更新了 Firebase remoteconfig 版本并已解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-02-25
    • 1970-01-01
    • 1970-01-01
    • 2019-05-01
    • 1970-01-01
    • 2020-02-24
    • 2010-10-21
    相关资源
    最近更新 更多