Remote Config not returning remote value

127 views
Skip to first unread message

sarah harissa

unread,
Nov 11, 2024, 8:23:00 AMNov 11
to Firebase Google Group
Description:
We encountered a strange problem:

I have implemented the Firebase Remote config for the web to store and get values used in the Tizen TV app.

 Some TV's remote values are not returned from the remote configuration with no errors.

I got this from Firebase logs:
Returning static value for key "X". Define a default or remote value if this is unintentional

What does this mean?
Would anyone be able to help me with this? 

Arthur Thompson

unread,
Nov 11, 2024, 6:37:22 PMNov 11
to fireba...@googlegroups.com
Hi Sarah,

In cases where the app is unable to retrieve a Remote Config value it falls back to the static value of the "key". When getting a value from Remote Config it looks for values in this order:

1. Cached value stored from a previous fetch and activation
2. If no cached value is found the default value is used
3. If no default value is set then the static value is used

Usually the use of a static value indicates that the "key" is not set at all, so I would double check that the key is correct.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/firebase-talk/6781d35f-fa43-458a-9e88-6bdde42159b4n%40googlegroups.com.

sarah harissa

unread,
Nov 12, 2024, 12:07:15 PMNov 12
to Firebase Google Group

But for same app: code, Firebase project and  same "key",  "key" is retrieved with its actual value which indicates that "key" is set  in remote config and the code is correct.

The differences are in service area which is south Africa, TV device and the network. 

So what could be the cause?!!

Arthur Thompson

unread,
Nov 12, 2024, 5:07:38 PMNov 12
to fireba...@googlegroups.com
On Tue, Nov 12, 2024 at 9:06 AM 'sarah harissa' via Firebase Google Group <fireba...@googlegroups.com> wrote:

But for same app: code, Firebase project and  same "key",  "key" is retrieved with its actual value which indicates that "key" is set  in remote config and the code is correct.

The differences are in service area which is south Africa, TV device and the network. 
This might be due to failed Firebase initialization in these cases. Are there other Firebase products that you are using that work in the cases that Remote Config is not? 

So what could be the cause?!!
On Tuesday, November 12, 2024 at 1:37:22 AM UTC+2 Arthur Thompson wrote:
Hi Sarah,

In cases where the app is unable to retrieve a Remote Config value it falls back to the static value of the "key". When getting a value from Remote Config it looks for values in this order:

1. Cached value stored from a previous fetch and activation
2. If no cached value is found the default value is used
3. If no default value is set then the static value is used

Usually the use of a static value indicates that the "key" is not set at all, so I would double check that the key is correct.

On Mon, Nov 11, 2024 at 5:22 AM 'sarah harissa' via Firebase Google Group <fireba...@googlegroups.com> wrote:
Description:
We encountered a strange problem:

I have implemented the Firebase Remote config for the web to store and get values used in the Tizen TV app.

 Some TV's remote values are not returned from the remote configuration with no errors.

I got this from Firebase logs:
Returning static value for key "X". Define a default or remote value if this is unintentional

What does this mean?
Would anyone be able to help me with this? 

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/firebase-talk/6781d35f-fa43-458a-9e88-6bdde42159b4n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages