-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[firebase_remote_config] RemoteConfig.instance Future already completed #120
Comments
Here is the MCVE: https://gist.github.com/IchordeDionysos/849d1ec5ec409487f1f2640c9c806e9f Of course, this example seems a bit useless, but consider the second |
Facing the same issue |
Same issue here |
this problem occurs only when i am using MVC architecture. |
I have the same problem. |
I'm experiencing the same problem! |
Given the age of this issue and that Remote Config has had a major rework since; I'm going to close this issue in favour of trying the latest release. |
Ah yes, forgot to close this issue. This is definitely fixed with the new version! |
Describe the bug
When calling RemoteConfig.instance twice both of these calls go into the if-statement and try to retrieve the instance.
Then in here both calls to get RemoteConfig.instance try to complete with the instance, but the second one fails as the first one already completed the Completer.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both calles to
RemoteConfig.instance
complete without an errorAdditional context
I'll put together an MVCE
The text was updated successfully, but these errors were encountered: