Is this a support request?
no
Describe the bug
LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. warnings are logged when passing in manual flags.
To reproduce
const flags = {
aFlag: true
};
export const FeatureFlagProvider = ({ children }: { children: React.ReactNode }) => (
<LDProvider
clientSideID={launchDarklyClientId}
deferInitialization={!launchDarklyClientId}
options={{
bootstrap: flags,
}}
>
<OrgIDIdentifier>{children}</OrgIDIdentifier>
</LDProvider>
);
Expected behavior
No warning/error logged.
Logs
LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly. Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.
SDK version
Language version, developer tools
N/A
OS/platform
N/A
Additional context
N/A