一个提供异步、未加密、持久的键值存储 API 的库。
异步、未加密、持久的键值存储 API。
¥An asynchronous, unencrypted, persistent, key-value storage API.
¥Installation
-
npx expo install @react-native-async-storage/async-storage
If you are installing this in an existing React Native app (bare workflow), start by installing expo
in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.
¥Usage
有关使用说明,请参阅 Async Storage 的文档。
¥See Async Storage's documentation for usage instructions.