inProgress-team / inProgress-team/react-native-meteor

[Deprecation] NetInfo Dependency Moved

Open
#342 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
688
Forks
200
PR merge metrics
No merged PRs in 30d

Description

```NetInfo``` has been moved from ```react-native``` to ```react-native-community```. The original import is deprecated and will soon be removed.

https://github.com/inProgress-team/react-native-meteor/blob/7d00d1d0d499c5dddb30c4573dbe812027c29128/src/Meteor.js#L1

The current library throws a warning:
```
Warning: NetInfo has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. See https://github.com/react-native-community/react-native-netinfo
```

Propose to update the dependency to ```react-native-community``` in order to suppress the warning.

React Native NetInfo Website: https://facebook.github.io/react-native/docs/netinfo.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.