How to update app in iOS app store if programming language changes?

I have an application written using native iOS with offline db feature. Now we are planning to rewrite the application using React native and submit it again to app store with same bundle id, and by updating version number.

Problem is i have offline db in old app. And that may contain data created by user. If i develop the same application using react native and push it as an update to app store, will the offline db get affected?

Will all the data stored persists or it will be installed as a new fresh application with no saved offline data?

What will be the impact for my existing app in app store and what is the app store submission process for this kind of requirement?

Replies

If you used Core data I believe that the data will still be there when the user updates the app. If they delete the app I think that the data will be deleted as well. It should be easy to test before you submit for review. Have the old app installed with data then install the new version to see if the data is still there.