NetInfo has been removed from React Native.
NetInfo
Please use bindings to the replacement community package.