Swe*_*lla 5 android firebase firebase-remote-config
当我更新我的应用版本时,firebase远程配置缓存是否会重置并获取新值或使用现有缓存,直到缓存在设置的时间到期
不会的。
它会在缓存超时后获取新值,并且即使在应用程序更新后缓存也会保留。
不过,您可以fetch(Long)使用显着小于默认值的超时(以秒为单位)进行调用,但根据 Google 博客,这可能存在风险。
如果您编写一些代码来确定这是更新后启动的第一个应用程序,则可能会使用较小的超时,但是while you can reduce this cache time somewhat, if you start making network calls too frequently, your app might start getting throttled, either by the client, or the Remote Config service. (来自上面链接的博客文章)
| 归档时间: |
|
| 查看次数: |
739 次 |
| 最近记录: |