Installation

Get library

yarn add @react-native-community/async-storage

Link

  • React Native 0.60+

CLI autolink feature links the module while building the app.

Use CocoaPods to add the native RNAsyncStorage to your project:

npx pod-install
  • React Native <= 0.59
react-native link @react-native-community/async-storage

Note: For Windows the manual linking is currently the only linking option.