This commit is contained in:
Vadim 2024-01-15 23:01:31 +01:00
parent dc7adb8472
commit c53fecd9f4

View file

@ -50,12 +50,14 @@ class RemoteConfigService implements IRemoteConfigService {
}
}
@override
Future<void> fetchConfig() async {
// https://github.com/firebase/flutterfire/issues/6196#issuecomment-927751667
await Future.delayed(const Duration(seconds: 1));
await FirebaseRemoteConfig.instance.fetch();
}
@override
dynamic getValue(Feature feature) => FirebaseRemoteConfig.instance.getValue(feature.name).toValue(feature);
@override