Hi,
I'm building a Flutter app with Firebase remote config. I've read the official documentation but still have some questions:
1. According to the
documentation:
Before SDK version 17.0.0, the limit was 5 fetch requests in a 60 minute window (newer versions have more permissive limits).I ask this question because I've tried to fetch requests above 5 times but I didn't receive FirebaseRemoteConfigFetchThrottledException.
I turned off the `debugMode` and also set the expiration to 0 second.
```dart
Future<void> getFirebaseRemoteConfig() async {
final RemoteConfig remoteConfig = await RemoteConfig.instance;
try {
await remoteConfig.setConfigSettings(RemoteConfigSettings(debugMode: false));
await remoteConfig.fetch(expiration: const Duration(seconds: 0));
await remoteConfig.activateFetched();
} on FetchThrottledException catch (exception) {
// Fetch throttled.
print(exception);
} catch (exception) {
print('Unable to fetch remote config. Cached or default values will be used');
}
}
```
2. I want to make sure the limits are counting on every device, right? Which means we can request at most 5 times in an hour per app.
3. Is there any throttling on the server-side? For example, the total requests might be limited.
Thanks for helping.
Regards,
Evan