diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index 84b4992db..1609858b8 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -74,6 +74,12 @@ module.exports = { return require('ListView'); }, get MaskedViewIOS() { + warnOnce( + 'maskedviewios-moved', + 'MaskedViewIOS 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/masked-view' instead of 'react-native'. " + + 'See https://github.com/react-native-community/react-native-masked-view', + ); return require('MaskedViewIOS'); }, get Modal() {