“ minimumFetchInterval”未在“ RemoteConfigSettings”中定义]]

问题描述 投票:0回答:1

我编写了以下代码来使用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 RemoteConfig功能。让remoteConfig = RemoteConfig.remoteConfig()让设置= RemoteConfigSettings()settings.minimumFetchInterval = 0 remoteConfig ....

swift firebase firebase-remote-config
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.