diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index 849b7f066bfdc4..f4fc0b88c1cae1 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -192,6 +192,12 @@ module.exports = { return require('AppState'); }, get AsyncStorage() { + warnOnce( + 'async-storage-moved', + 'Async Storage 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/async-storage' instead of 'react-native'. " + + 'See https://github.com/react-native-community/react-native-async-storage', + ); return require('AsyncStorage'); }, get BackHandler() {