Skip to content

[0.57] - NetInfo methods fail to resolve or reject #21953

Closed
@GregoryCollett

Description

@GregoryCollett

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 1.94 GB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 11.0.0 - /usr/local/bin/node
Yarn: 1.9.2 - ~/.yarn/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0 => 16.6.0
react-native: 0.57.3 => 0.57.3

Description

NetInfo.getConnectionInfo() & NetInfo.isConnected.fetch() fail to resolve or reject

Reproducible Demo

Able to reproduce this in the simplest of scenarios running on an iOS simulator in debug js mode (android untested)
NetInfo.getConnectionInfo().then(console.log).catch(console.log) <- neither log occurs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions