mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
336dbe4c00
Summary:`getCurrentConnectivity()` should resolve with object instead of array otherwise in `NetInfo.fetch().done(reach => console.log('Initial: ' + reach))` `reach` will be undefined (see https://github.com/l-urence/react-native/blob/master/Libraries/Network/NetInfo.js#L200). cc satya164 Closes https://github.com/facebook/react-native/pull/6373 Differential Revision: D3032773 fb-gh-sync-id: edc545548d3c17387545b6c59894c27e4563cb18 shipit-source-id: edc545548d3c17387545b6c59894c27e4563cb18