A library that provides an asynchronous, unencrypted, persistent, key-value storage API.
GitHub
npm
An asynchronous, unencrypted, persistent, key-value storage API.
-
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.
See Async Storage's documentation for usage instructions.