From c62cd44fdfdf710e3888cb306a7d2c78f7c436e5 Mon Sep 17 00:00:00 2001 From: Kushal Dave Date: Sun, 10 Apr 2016 18:01:53 -0700 Subject: [PATCH] Update AsyncStorage.js Summary:Updating docs to discuss both iOS and Android and to make more sense standing alone on the web site. Closes https://github.com/facebook/react-native/pull/6592 Differential Revision: D3161831 fb-gh-sync-id: 984621702fbf408445a04b771d3fc5f76a65af64 fbshipit-source-id: 984621702fbf408445a04b771d3fc5f76a65af64 --- Libraries/Storage/AsyncStorage.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Libraries/Storage/AsyncStorage.js b/Libraries/Storage/AsyncStorage.js index df570bc11..48b9f59bc 100644 --- a/Libraries/Storage/AsyncStorage.js +++ b/Libraries/Storage/AsyncStorage.js @@ -28,8 +28,10 @@ var RCTAsyncStorage = RCTAsyncRocksDBStorage || RCTAsyncSQLiteStorage || RCTAsyn * of AsyncStorage directly for anything more than light usage since it * operates globally. * - * This JS code is a simple facade over the native iOS implementation to provide - * a clear JS API, real Error objects, and simple non-multi functions. Each + * On iOS, AsyncStorage is backed by native code that stores small values in a serialized + * dictionary and larger values in separate files. On Android, AsyncStorage will use either + * RocksDB or SQLite based on what is available. This JS code is a simple facade that + * provides a clear JS API, real Error objects, and simple non-multi functions. Each * method returns a `Promise` object. */ var AsyncStorage = {