I built an Android app natively in Android Studio. Now that I want to port it to iOS, I have started working with Codename One. In order to keep the code and any subsequent changes easier to maintain, I want to update my earlier Android version of the app with the one I'm building now with Codename One, which will then be my new release version.
I have a few questions:
If I have the Keystore certificate of the Android app I built natively in Android Studio and use it in my Codename One app, will it update my first app? I saw this answer on SO but want to verify if it'll work in this case.
If I can do this update, how can I preserve any sqlite data from the 1st version of the app after updating to the app I built with Codename One?
Similar to question 2, how can I preserve any directories with app data (folders containing PDfs and images) when I upgrade? I stored data locally within the app, hidden to any Android file explorer.
Thanks.