首页指南参考教程

AsyncStorage

一个提供异步、未加密、持久的键值存储 API 的库。

Android
iOS
macOS
tvOS
Web

异步、未加密、持久的键值存储 API。

¥An asynchronous, unencrypted, persistent, key-value storage API.

安装

¥Installation

Terminal
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.

Expo 中文网 - 粤ICP备13048890号