Skip to content

LaunchDarkly not initializing if cookies are disabled #302

Open
@rrawat-dev

Description

Hi Team,

Facing an issue in our web application where LaunchDarkly is not initializing if we reject "Accept Cookies" options in our application. No LaunchDarkly api calls or errors are shown in the console. Working fine if we choose "Accept Cookies" option.

let ldClient = LDClient.initialize(key, context);
ldClient.waitForInitialization(5).then(() => {
  featureFlags = ldClient.allFlags();
}).catch(err) {
  console.log(err);
};

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions