I'm planning to migrate my app to React Native. How do I preserve the original app's Core Data data?

I have an app that's in the App Store and that has been installed by hundreds of people. I'm planning to convert my codebase to use React Native/TypeScript and then publish this new version to the App Store as an update.

There may be existing users with data that is stored via Core Data/SQLite, and I want to try to ensure that their data will still be visible in the application when they install the update. How do I do that?

I'm planning to migrate my app to React Native. How do I preserve the original app's Core Data data?
 
 
Q