ken
ken

Reputation: 668

"minimumFetchInterval" is not defined in "RemoteConfigSettings"

I wrote following code to use Firebase RemoteConfig feature.

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

However, following error was occurred.

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

What is wrong ?

This code is the same in the Firebase official tutorial. https://firebase.google.com/docs/remote-config/use-config-ios?hl=en

Upvotes: 0

Views: 619

Answers (1)

ken
ken

Reputation: 668

Sorry, I resolved this issue by myself. I updated the Firebase remoteconfig version and it was resolved.

Upvotes: 1

Related Questions