-
|
Hi, In my projects on React, React Native, there is a need to use protected storage, and not standard and unsafe ones such as - LocalStorage, AsyncStorage. And the question itself, how can I replace the proposed standard storage with a protected one? For example, react-secure-storage, react-native-keychain |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
To make stan-js work with libs that you mentioned you have to create your own synchronizer. It's just object with 3 properties that you will have to provide. Here you can see how we made integration with MMKV |
Beta Was this translation helpful? Give feedback.
-
|
What versions of React Native are supported? The current version is 0.80.1 or earlier versions, where React 18 versions are also used? Also, do you have an example of using your package with React Native? |
Beta Was this translation helpful? Give feedback.
To make stan-js work with libs that you mentioned you have to create your own synchronizer. It's just object with 3 properties that you will have to provide. Here you can see how we made integration with MMKV