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