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