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.

Android: LaunchdarklyReactNativeClient.isInitialized got 2 arguments, expected 3 #107

@christophby

Description

@christophby

Describe the bug
Error Message on Android
Android: LaunchdarklyReactNativeClient.isInitialized got 2 arguments, expected 3.
iOS works totally fine.

To reproduce
Call

  const isInitialized = await client.isInitialized().catch(() => {
    return false; // we need to return explicitly false here. If not initialized, it returns an error
  });

Expected behavior

  • No Error, should work the same like on iOS

Logs
Bildschirmfoto 2022-01-11 um 18 24 00

SDK version
React Native Client SDK 5.1.0 (currently latest)

Language version, developer tools
React Native

OS/platform
M1 Mac, Emulator (Pixel 3A, API 32)

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