-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Using Performance together with Remote Config impedes the activation of Remote Config remote values #7179
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
Comments
I found a few problems with this issue:
|
@chwo Thanks for reporting this issue. We are trying to reproduce this issue and unfortunately we are not able to. Here are the steps I followed:
Can you share the list of log messages on the console? Especially, I'm looking for config messages like One more thing to confirm: Can you fetch the value of the remote config to see if they are activated (instead of checking on the state of |
Hey @chwo. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
We have a similar issue and have inspected and found a basic concurrency issue in the firebase-ios-sdk source code. firebase-ios-sdk uses 4 persistent stores below, for the issue:
In the main table and the active table, RemoteConfig and Performance records are stored with a namespace prefix Thus
|
@visumickey Thank you for looking into this. I tried the code snippet you posted but unfortunately the issue exists there also: The fetch is successful but the value stays the same as before after the activation. I get the following log messages on the console from our project setup: fresh install first app launch
second app launch
Additionally I get the following log messages from using your code snippet: fresh install first app launch with your code snippet
As described the |
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
func application(_:didFinishLaunchingWithOptions:)
to activate the currently fetched remote values and after that fetches new remote values to activate at the next app start.activateWithCompletion
completion handler gets called but itschanged
property is alwaysfalse
and callingconfig.allKeys(from: .remote)
always returns0
. This suggests that there are no remote values to be activated but there should be because the fetch completed successfully.FirebasePerformance
.Relevant Code:
Podfile:
Podfile.lock
The text was updated successfully, but these errors were encountered: