Skip to content

SentryFirebaseRemoteConfigIntegration should not wait for config update to set feature flags #3007

@kurtmarcink

Description

@kurtmarcink

Problem Statement

SentryFirebaseRemoteConfigIntegration should set feature flags on context on initialization. That way, the value of the feature flags can be set on Sentry issues before there is a FirebaseRemoteConfig update.

Solution Brainstorm

In SentryFirebaseRemoteConfigIntegration.call:

_subscription = _firebaseRemoteConfig.onConfigUpdated.listen((event) async {

_firebaseRemoteConfig.getAll(); should be called in addition to adding the listener on _firebaseRemoteConfig.onConfigUpdated

Are you willing to submit a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions