Reference version

@react-native-async-storage/async-storage

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

Android
iOS
macOS
tvOS
Web
Included in Expo Go
Bundled version:
2.2.0

For the complete documentation index, see llms.txt. Use this Use this file to discover all available pages.

Async Storage 是一种异步、未加密、持久化的键值存储解决方案。

安装

Terminal
npx expo install @react-native-async-storage/async-storage

If you are installing this in an existing React Native app, make sure to install expo in your project. Then, follow the installation instructions provided in the library's README or documentation.

了解更多

访问官方文档

获取有关 API 及其用法的完整信息。