This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 52).

AsyncStorage

GitHub

npm

A library that provides an asynchronous, unencrypted, persistent, key-value storage API.

Android
iOS
macOS
tvOS
Web

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, start by installing expo in your project. Then, follow the additional instructions provided by the library's README or documentation.

Usage

See Async Storage's documentation for usage instructions.