My app, which will feature offline-first, is going to store users’ related data in realm DB. As I understand the feature, each copy of the app will keep a local copy (cache) of the most frequently used data. This means there is a possibility for users to have other users’ data on their devices. And if one hack his own copy of the app, then he would be able to retrieve other users private data!
I’d like to know if my concerns are realistic, And if yes, then how can I restrict the cached data on users devices?