best-rain-36041
07/01/2025, 11:53 AMcalm-dog-24239
07/01/2025, 2:28 PMcalm-dog-24239
07/02/2025, 9:51 AMbackgroundSync
parameter (or streaming
, depending on the SDK) during SDK initialization.
If backgroundSync
is set to true
, the SDK automatically establishes an SSE connection to receive updates whenever your feature flags change in the GrowthBook dashboard — no manual refresh needed.
If backgroundSync
is set to false
, you'll need to call gb.refreshCache()
manually to fetch the latest feature flags.
Currently, the SDK does not expose a way to manually subscribe to the update stream. All logic for real-time updates is handled internally by the SDK.best-rain-36041
07/02/2025, 9:55 AMbackgroundSync
. Yet I’m not receiving real-time updates when I enable/disable the feature flags. Is there any extra config I need to do?calm-dog-24239
07/04/2025, 2:49 PM