firebase fetch 간격 수정
- 300초 -> 60초
This commit is contained in:
@@ -80,7 +80,7 @@ struct SplashView: View {
|
|||||||
private func fetchLastestVersion() {
|
private func fetchLastestVersion() {
|
||||||
let remoteConfig = RemoteConfig.remoteConfig()
|
let remoteConfig = RemoteConfig.remoteConfig()
|
||||||
let configSettings = RemoteConfigSettings()
|
let configSettings = RemoteConfigSettings()
|
||||||
configSettings.minimumFetchInterval = 300
|
configSettings.minimumFetchInterval = 60
|
||||||
remoteConfig.configSettings = configSettings
|
remoteConfig.configSettings = configSettings
|
||||||
|
|
||||||
remoteConfig.fetch { status, error in
|
remoteConfig.fetch { status, error in
|
||||||
|
|||||||
Reference in New Issue
Block a user