-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Remote Config] Local conf randomly empty even with successful fetch #7424
Comments
I found a few problems with this issue:
|
Not sure if related, but I am having a similar issue with defaults not being available. In my application I implement a blocking loading screen which I use to call both |
@nrj thank you for your reply. Indeed, it seems to be easier to reproduce on old phones and iPads. The only workaround we've found at this point, is to downgrade to Please let me know if you find any better workaround. |
I'm facing this issue with newest version 7.7.0 on iOS.
Kill app and launch again with the same steps. The result is always 0 in step 2 (expected correct result with fetched values before) |
Downgraded to 7.0.0 and got the expected result. |
I'm seeing the same thing on |
We are encountering this issues for a while now and this have a huge impact on our AppStore rating / reviews. Please up this issues and share any thoughts/workaround you have. Thanks |
Hello, I have the same problem. It happens from time to time, no idea why. Please fix this, thanks. |
Thanks for all the detailed reports!! Sorry it took some time to track down the problem. Put in a fix that will be in the next release, feel free to re-open if this issue still persists after that |
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
We use the 3rd loading strategy (Load new values for next startup) as described here https://firebase.google.com/docs/remote-config/loading
Our application fetches the required configuration on the splash screen.
On the first launch, this fetch succeed and the app behaves normally.
For some reason, on other launch the local configuration sometimes returns empty values.
The Firebase app is configured and the logs doesn't identify any issue even if set to max.
The problem isn't easily reproducible on all devices, but some of them are failing almost 1 on 3 times.
We Unfortunately couldn't narrow the devices concerned, neither the OS concerned.
When the content is empty :
The last fetch status is
succeed
defaultExpiration: TimeInterval = 600
When we print the value of :
RemoteConfig.remoteConfig().allKeys(from: .remote)
RemoteConfig.remoteConfig().allKeys(from: .static)
RemoteConfig.remoteConfig().allKeys(from: .default)
It returns 0 (no key was found)
Steps to reproduce:
Please find below the link to the sample where you can reproduce :
https://drive.google.com/file/d/1LG4fbE4FCW4Ts61vGgvzQLUW0l6jSH4s/view?usp=sharing
To reproduce, simply install the sample, kill & launch it multiple times. Once the background is red, it means that the local conf is empty.
The text was updated successfully, but these errors were encountered: