From f6bd8a38ec092e3b92cae5997d9402e49238cf98 Mon Sep 17 00:00:00 2001 From: Aaron Chiu Date: Tue, 21 Feb 2017 15:04:52 -0800 Subject: [PATCH] correctly order ASyncStorage Reviewed By: sahrens Differential Revision: D4585569 fbshipit-source-id: e0bebddea8a5810386e193eb6435f24ba3a5cbb0 --- Libraries/Storage/AsyncStorage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Storage/AsyncStorage.js b/Libraries/Storage/AsyncStorage.js index 06be6c461..0ba87ed6c 100644 --- a/Libraries/Storage/AsyncStorage.js +++ b/Libraries/Storage/AsyncStorage.js @@ -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; /**