Skip to content

[馃悰] ensureInitialized also calls fetchAndActivate聽#8001

Open

Description

@RohovDmytro

Issue

  1. Calling ensureInitialized on startup

  2. The doc states it ensures the initialization, but the codebase suggests it also fetches and activates data:

image

In my usecase that leads to performance issues.

Is this an intended behaviour?

Activity

  1. russellwheatley commented on Sep 2, 2024

    @russellwheatley
    Member

    Hey @RohovDmytro - that is a good question. This was implemented 4 years ago but I'm not sure why we have this within essureInitialized, we don't have it for iOS. I would be inclined to remove it but there may be developers relying on it to fetch and activate remote config. I'll label this a breaking change, and when we get around to the breaking change (we're planning one in the future), I'll propose we remove this 馃檹

  2. changed the title [-][馃悰] essureInitialized also calls fetchAndActivate[/-] [+][馃悰] ensureInitialized also calls fetchAndActivate[/+] on Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions