Is React Native's Async Storage secure?

前端 未结 8 558
Happy的楠姐
Happy的楠姐 2020-12-01 08:53

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

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

8条回答
  •  鱼传尺愫
    2020-12-01 09:40

    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.

提交回复
热议问题