I am using mobx-persist library to persist data and I need to implement encryption since I am dealing with sensitive data. I know that AsyncStorage does not support encryption so my idea is using Realm as storage.
I am a beginner and I could not find anything to help me.
Have anyone tried before or have any example how to do this?
Yes. You can create new class secureStorage, implement functions (getItem, setItem, removeItem) and pass it instead of async storage
I'm using react-native-sensitive-info, you can use whatever you want
Just replace SInfo with realm