I made many changes to my application: database schema, graphics, code, etc. The biggest package name I renamed to completely different. The application received the same name and identifier in the manifeste.xml file, and apk received the same name with the same digital signature.
However, when using ./adb install -r myapp.apkmyapp, it appears twice in the menu. Of course, since the database is stored in a directory with the package name as the name, the user feels that his data is lost.
How can I prevent this, and if I can’t, how can I automate its migration?
I have a few tips: asking the user to delete the old application, copying the database from the old file to the new one, etc.
source
share