We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04ffbf commit 6142db6Copy full SHA for 6142db6
lib/AsyncStorage.js
@@ -14,9 +14,9 @@
14
const {NativeModules} = require('react-native');
15
16
const RCTAsyncStorage =
17
+ NativeModules.PlatformLocalStorage || // Support for external modules, like react-native-windows
18
NativeModules.RNC_AsyncSQLiteDBStorage ||
- NativeModules.RNCAsyncStorage ||
19
- NativeModules.PlatformLocalStorage; // Support for external modules, like react-native-windows
+ NativeModules.RNCAsyncStorage;
20
21
if (!RCTAsyncStorage) {
22
throw new Error(`[@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.
0 commit comments