Skip to content

Respect session replay feature flag after /decide endpoint call #263

Open
@ioannisj

Description

@ioannisj

Description

Ticket: https://posthoghelp.zendesk.com/agent/tickets/20809

Session recordings start as soon as the app launches, but feature flag evaluation is executed asynchronously.
If the cached value is different that the value returned from /decide endpoint, then the recording may start (and not stop) when the flag evaluates to false

A possible fix is to mem-cache screenshots and skip processing until the /decide API has been successfully called - there are some memory footprint consideration here. We may need to use a different disk-backed queue, and drop or merge the queues once the flag evaluates?

  • iOS/Flutter
  • Android/Flutter
  • RN

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions