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.

Configuring the client doesn't return if user is offline #88

@haakandev

Description

@haakandev

Describe the bug
The .configure() call on the client never returns or throws if the user is offline.

To reproduce
This can be reproduced in the hello-react-native app.

  1. Add some logging before/after the await client.configure(config, user); call
  2. Go offline (eg. for easy replication in iOS simulator, turn computer's Wifi/ethernet off)
  3. Launch the app
  4. The logging before configure shows, but not the logging after nor in the catch

Expected behavior
Expect configure to either return or throw an error.

SDK version
Tested on 4.2.1 (our app) and 4.2.0 (hello-react-native)

Language version, developer tools
Node 4.15.0, TypeScript 4.2.4

OS/platform
iOS 12.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalewaiting for feedbackIndicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions