How to test Async Storage with Jest?

For everyone who sees this question in > 2019: Since Nov 2020, AsyncStorage was renamed back to @react-native-async-storage/async-storage”, which causes this warning to appear if you’re importing it from react-native: Warning: Async Storage has been extracted from react-native core and will be removed in a future release. The new module includes its own mock, so … Read more

Is React Native’s Async Storage secure?

AsyncStorage is not suitable for storing sensitive information. You might find this useful: https://github.com/oblador/react-native-keychain It uses facebook conceal/android keystore to store encrypted data to SharedPreferences (Android) and keychain on iOS. (I co-authored the lib). Be sure to read the entire readme to understand what it offers.