Is React Native's Async Storage secure?

前端 未结 8 559
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:25

    From react-native doc - https://facebook.github.io/react-native/docs/asyncstorage.html

    AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app.

    Its not secure as it stores key-value pairs in unencrypted form on device.

    • Checkcout - https://www.npmjs.com/package/react-native-secure-key-store.

    It used keychain for iOS and KeyStore for Android for storing data securely.

提交回复
热议问题