mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-17 01:59:25 +08:00
correctly order ASyncStorage
Reviewed By: sahrens Differential Revision: D4585569 fbshipit-source-id: e0bebddea8a5810386e193eb6435f24ba3a5cbb0
This commit is contained in:
committed by
Facebook Github Bot
parent
72ddfb014a
commit
f6bd8a38ec
@@ -16,8 +16,8 @@
|
||||
const NativeModules = require('NativeModules');
|
||||
|
||||
// Use RocksDB if available, then SQLite, then file storage.
|
||||
const RCTAsyncStorage = NativeModules.AsyncSQLiteDBStorage ||
|
||||
NativeModules.AsyncRocksDBStorage ||
|
||||
const RCTAsyncStorage = NativeModules.AsyncRocksDBStorage ||
|
||||
NativeModules.AsyncSQLiteDBStorage ||
|
||||
NativeModules.AsyncLocalStorage;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user