Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value is not updated #14

Open
schnouz opened this issue Sep 28, 2022 · 3 comments
Open

Value is not updated #14

schnouz opened this issue Sep 28, 2022 · 3 comments

Comments

@schnouz
Copy link

schnouz commented Sep 28, 2022

Hi There, Thanks for this plugin !
I got an issue when calling the getString function to get back my config.
await FirebaseRemoteConfig.getString({key: 'config'});
Each time the app state change i'm calling the same code to get the config.
The issue is that the value is not updated. I need to close and reopen the app to get the new value.
Regards

@rgarciadelongoria
Copy link

yes, I need uninstall and reinstall the App to get new value.

@uniqbit-julian
Copy link

Hi together,

I assume this is on Android? This should be fixed once this PR is merged: #11

@gugahoi
Copy link

gugahoi commented Dec 16, 2022

Just thought I'd get some clarification for this: have you guys checked where the value is coming from? The remote config docs explicitly state that the value can come from 3 places: local default, cache or remote. If you update the value in the remote config, you'll need to ensure you retrieve the latest before getting it's value. If there's any code you can share, I'd be happy to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants