I have an app that has the following code in the "Starter"
It checks if the database exists and if not copies it.
Lets say the app then gets put on google play store. I then update the database, either add columns or add rows to some tables but not add new tables.
The main question is, how does google play work with "updates"? If I have to add code to the update, what is the best way for my program to check if the database actually needs to be replaced? I'm not sure how to update my database on an upgrade and it not copying the database every time the app runs.
DB copy code:
If File.Exists(File.DirInternal, Filename) = False Then
File.Copy(File.DirAssets, Filename, File.DirInternal, Filename)
'Log("Copied")
End If
It checks if the database exists and if not copies it.
Lets say the app then gets put on google play store. I then update the database, either add columns or add rows to some tables but not add new tables.
The main question is, how does google play work with "updates"? If I have to add code to the update, what is the best way for my program to check if the database actually needs to be replaced? I'm not sure how to update my database on an upgrade and it not copying the database every time the app runs.