Async Storage is the React Native equivalent of Local Storage from the web.
Async Storage is a community-maintained module for React Native that provides an asynchronous, unencrypted, key-value store. Async Storage is not shared between apps: every app has its own sandbox environment and has no access to data from other apps.
| DO USE ASYNC STORAGE WHEN.. |
DON'T USE ASYNC STORAGE FOR.. |
| Persisting non-sensitive data across app runs |
Token storage |
| Persisting Redux state |
Secrets |
| Persisting GraphQL state |
|
| Storing global app-wide variables |
|