-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
NetInfo has been moved from react-native to react-native-community. The original import is deprecated and will soon be removed.
react-native-meteor/src/Meteor.js
Line 1 in 7d00d1d
| import { NetInfo, Platform, View } from 'react-native'; |
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
jakeols and jawad-aziz-farhad
Metadata
Metadata
Assignees
Labels
No labels