update AsyncStorage.js documentation

Summary:
Otherwise it could be perceived as safe for storing sensitive data.

See
https://medium.com/ntoscano/react-native-persistent-user-login-6a48ff380ab8#.2pxlht5ti
Closes https://github.com/facebook/react-native/pull/8809

Differential Revision: D3570130

Pulled By: vjeux

fbshipit-source-id: ee3e8f7fc882a67e9991838467fad75c86d26a52
This commit is contained in:
Ariel Elkin 2016-07-15 09:03:24 -07:00 committed by Facebook Github Bot 4
parent 0b6f0fcf55
commit f2d83a2552
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ var RCTAsyncStorage = RCTAsyncRocksDBStorage || RCTAsyncSQLiteStorage || RCTAsyn
/**
* @class
* @description
* `AsyncStorage` is a simple, asynchronous, persistent, key-value storage
* `AsyncStorage` is a simple, unencrypted, asynchronous, persistent, key-value storage
* system that is global to the app. It should be used instead of LocalStorage.
*
* It is recommended that you use an abstraction on top of `AsyncStorage`