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.

bug initializing in Android: LDClient.get() was called before init()! #120

@rtmruczek

Description

@rtmruczek

Describe the bug
Sometimes the LDClient fails to initialize on android, and feature flags cannot be retrieved.

To reproduce
Appears to be a race condition when configuring the LDClient.

Expected behavior
The client should initialize consistently.

Logs
No helpful logs other than the exception: LDClient.get() was called before init()!

SDK version
[email protected]

Language version, developer tools
XCode Version 13.2.1 (13C100)

OS/platform
Pixel 4a, Android 12

Additional context
Noticed that this issue exists, it may be related: #79

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