From 0a331bd127639032ae04cb0984171e99eb047582 Mon Sep 17 00:00:00 2001 From: Krzysztof Borowy Date: Tue, 9 Apr 2019 11:05:11 +0200 Subject: [PATCH] fix: accept external storage modules --- lib/AsyncStorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AsyncStorage.js b/lib/AsyncStorage.js index b3404bd1..ef4d1b2f 100644 --- a/lib/AsyncStorage.js +++ b/lib/AsyncStorage.js @@ -16,7 +16,7 @@ const {NativeModules} = require('react-native'); const RCTAsyncStorage = NativeModules.RNC_AsyncSQLiteDBStorage || NativeModules.RNCAsyncStorage || - NativeModules.AsyncLocalStorage; // Support for external modules, like react-native-windows + NativeModules.PlatformLocalStorage; // Support for external modules, like react-native-windows if (!RCTAsyncStorage) { throw new Error(`[@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.