Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

client.configure does not resolve inside the Android Emulator #105

@emin93

Description

@emin93

Describe the bug
Calling client.configure does never resolve when called in the Android Emulator but does so on a real device.

To reproduce

const client = new LDClient();

console.log('configuring LaunchDarkly'); // This is being logged into the console

await client.configure(
    { mobileKey: 'abc-123' },
    { key: 'example-user' }
);

console.log('configured LaunchDarkly'); // This never shows when run inside the Emulator

Side note
When putting the app into the app switcher, the promise resolves but allFlags() returns an empty object instead of the flags.

Expected behavior
configure resolves also in the Emulator.

SDK version
5.1.0

OS/platform
Android Emulator

Metadata

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