mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
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
This commit is contained in:
parent
32d4005cbf
commit
c62cd44fdf
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user