Recently I started learning more about React Native, and I’m building a mobile app. I need to have a local database and this is where I found Realm (not sure yet if it’s the right choice for what I need).
My scenario is as follows:
- it will be a mobile app which will show certain data. Let’s call it a list of items, where each item has an id, a text, and a “liked” flag (which is a bool value).
- the application needs to run offline, so I need to load initially all the data to the user.
- the user can see the list of items and can manually “like” or “unlike” the certain items, which needs to be stored on his phone.
Is this a good place to work with Realm?
Also, how exactly does Realm work on the app update? (When for example I add new features to the app and I want to make an update in the App Store and Google Play) Will the “local” Realm database be overwritten when the user upgrades?
Thank you for your time!