Skip to content

Remote config returns stale value #8334

Closed
@Akash-Panigrahi

Description

@Akash-Panigrahi

Operating System

macOS 14.5

Browser Version

Chrome/123.0.6312.87

Firebase SDK Version

10.12.2

Firebase SDK Product:

Analytics, Remote-Config

Describe your project's tooling

Simple JS app with the parcel as the bundler

Describe the problem

Remote config fetchAndActivate returns previous results even when minimumFetchIntervalMillis is set to 0. I am trying to use a feature flag with a custom properties set.
This is being used in a web app.

Steps and code to reproduce issue

https://codesandbox.io/p/devbox/sparkling-https-nxwd7x?file=%2Fsrc%2Findex.mjs%3A35%2C1

The output is logged in the console. Using setUserProperties, I am accepting different values from remote-config.
I have set two simple conditions, that retrieve different segment_selection_variant based on ProfileID.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions