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 22d4e5e commit b2a1d2dCopy full SHA for b2a1d2d
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