Is React Native's Async Storage secure?

yogiben picture yogiben · Aug 25, 2016 · Viewed 31.3k times · Source

I want to store sensitive data locally in a React Native app.

Is the data only available to the app that wrote it?

Answer

vonovak picture vonovak · Aug 29, 2016

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.