Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
@amazon-devices/react-native-async-storage__async-storage is an extension of react-native-async-storage/async-storage that enables its use in React Native for Vega apps. The library supports an asynchronous, unencrypted, persistent, key-value storage system for React Native for Vega apps and is usable in both TypeScript and JavaScript. This library is system-deployed and available to React Native for Vega apps without a separate installation process. The library is deployed as an autolinking library, which your app links to at runtime. The library is guaranteed to be compatible only with the version of React Native for Vega for which it’s built. When you uplevel your app’s version of React Native for Vega, consider the best practice of upleveling its library dependencies.

Install the library

  1. Add the JavaScript library dependency in your app’s package.json.
  2. Reinstall the package-lock.json file using the npm install command.

Examples

Storing data

Storing the string value

Storing the object value

Reading data

Reading the string value

Reading the object value

API reference

For more details and usage examples, see react-native-async-storage/async-storage library’s documentation.

Supported versions

Additional resources

For information on other libraries, see Supported Third-Party Libraries and Services.
Last modified on October 1, 2025