0

未定义参数“过期”我将 firebase 远程配置更新为 0.10.0,我在此行中收到此错误。

await _remoteConfig.fetch(expiration: Duration(hours: 5));
4

1 回答 1

1

包更新了,试试这个。

 await remoteConfig.setConfigSettings(RemoteConfigSettings(
              fetchTimeout: const Duration(seconds: 10),
              minimumFetchInterval: Duration.zero,
            ));
            await remoteConfig.fetchAndActivate();
于 2021-08-24T06:16:28.950 回答