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

Description
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.
- Add some logging before/after the
await client.configure(config, user); call
- Go offline (eg. for easy replication in iOS simulator, turn computer's Wifi/ethernet off)
- Launch the app
- 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