Skip to content

Conversation

bdeweygit
Copy link

@bdeweygit bdeweygit commented Oct 22, 2017

  • NetInfo.fetch() is deprecated; changed to NetInfo.getConnectionInfo().
  • The 'change' event for NetInfo.addEventListener() is deprecated; changed to 'connectionChange'.
  • Modified the event handler called connect to pick off and use the type property from the NetInfo.getConnectionInfo() promise object called reach.

See the associated documentation from React Native here.

NetInfo.fetch() is deprecated; changed to NetInfo.getConnectionInfo().
The 'change' event for NetInfo.addEventListener() is deprecated; changed to 'connectionChange'.
Modified the event handler called 'connect' to pick off and use the 'type' property from the NetInfo.getConnectionInfo() promise object called 'reach'.

See the associated documentation from React Native here: https://facebook.github.io/react-native/releases/0.49/docs/netinfo.html#addeventlistener
@bdeweygit bdeweygit closed this Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant