We have a 4+ year android application that relies on the Realm DB. We are exploring the possibility to adopt the Room Database going forward. There are a few challenges and queries that need to be addressed, need help regarding the same. Mentioning the same below.
- Is there any library/plugin that can create a Room DB from the Realm DB
- If the above proves possible, can the data in the previous versions of the app be migrated to the Room DB
- Has this task been ever tried by any team, is so what were the learnings and pit falls that we might encounter if we decide to go forward with this migration.
PS : The following post talks about the DB migration posted in 2018, checking if there has been any solution since then. Android - Migrate data from Realm to Room