diff --git a/lib/AsyncStorage.js b/lib/AsyncStorage.js index b3404bd1..ef4d1b2f 100644 --- a/lib/AsyncStorage.js +++ b/lib/AsyncStorage.js @@ -16,7 +16,7 @@ const {NativeModules} = require('react-native'); const RCTAsyncStorage = NativeModules.RNC_AsyncSQLiteDBStorage || NativeModules.RNCAsyncStorage || - NativeModules.AsyncLocalStorage; // Support for external modules, like react-native-windows + NativeModules.PlatformLocalStorage; // Support for external modules, like react-native-windows if (!RCTAsyncStorage) { throw new Error(`[@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.