【发布时间】:2021-08-24 04:27:21
【问题描述】:
未定义参数“过期”我将 firebase 远程配置更新为 0.10.0,但在这一行中出现此错误。
await _remoteConfig.fetch(expiration: Duration(hours: 5));
【问题讨论】:
标签: firebase flutter dart pubspec
未定义参数“过期”我将 firebase 远程配置更新为 0.10.0,但在这一行中出现此错误。
await _remoteConfig.fetch(expiration: Duration(hours: 5));
【问题讨论】:
标签: firebase flutter dart pubspec
包更新了请试试这个。
await remoteConfig.setConfigSettings(RemoteConfigSettings(
fetchTimeout: const Duration(seconds: 10),
minimumFetchInterval: Duration.zero,
));
await remoteConfig.fetchAndActivate();
【讨论】: