1

I am using Firebase Remote Config and load the values on every app start. The is working. But now I also want to be able to update and fetch it. I tried it by simply calling:

 await _remoteConfig.fetchAndActivate();

(same as I do when starting the app). But when calling it during the app is running, I don't get the updated values, when I update the config from Firebase.

What am I missing here?

2
  • Same for me. Have you solved? Commented Dec 13, 2024 at 17:50
  • @manudicri setting up a listener and then calling it inside the listener ended up working 👍 Commented Dec 13, 2024 at 19:27

1 Answer 1

0

change minumumFetchInterval duration

remoteConfig.setConfigSettings(
        RemoteConfigSettings(
          fetchTimeout: const Duration(minutes: 1),
          minimumFetchInterval: const Duration(seconds: 1), // MODIFIED
        ),
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.