diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index 9649593d4..18acbc221 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -173,7 +173,7 @@ module.exports = { 'webview-moved', 'WebView 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-webview' instead of 'react-native'. " + - 'See https://github.com/react-native-community/react-native-webview for more informations.', + 'See https://github.com/react-native-community/react-native-webview', ); return require('WebView'); }, @@ -252,6 +252,12 @@ module.exports = { return require('NativeEventEmitter'); }, get NetInfo() { + warnOnce( + 'netinfo-moved', + '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', + ); return require('NetInfo'); }, get PanResponder() {