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 8214975 commit da43385Copy full SHA for da43385
lib/AsyncStorage.js
@@ -14,7 +14,9 @@
14
const {NativeModules} = require('react-native');
15
16
const RCTAsyncStorage =
17
- NativeModules.RNC_AsyncSQLiteDBStorage || NativeModules.RNCAsyncStorage;
+ NativeModules.AsyncLocalStorage || // Support for external modules, like react-native-windows
18
+ NativeModules.RNC_AsyncSQLiteDBStorage ||
19
+ NativeModules.RNCAsyncStorage;
20
21
if (!RCTAsyncStorage) {
22
throw new Error(`@RNCommunity/AsyncStorage: NativeModule.RCTAsyncStorage is null.
0 commit comments