¿Es necesario actualizar la versión de la base de datos al actualizar un nuevo APK?
Frecuentes
Visto 520 equipos
0
I have an application on the Play store. This application contains a database file with Version-1 at time of launching application. Now I have to update an application so that I change Version-Code and Version-Name and there is no change in the database file.
So my question is that, is it fine that I don't change the Database Version and update my Application on the Play store? Is there any issue in the next update?
1 Respuestas
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas android google-play or haz tu propia pregunta.
If there truly is "no change in Database file" -- no new tables, columns, indexes, etc. -- then you do not need to increment your database schema version. You only need to increment the database schema version when the database schema changes. - CommonsWare
@CommonsWare thanks for reply. So there is not any issue in future if i change DB version. is it? - Dhruv
"So there is not any issue in future if i change DB version. is it?" -- you should be able to change the database schema version sometime in the future without a problem. Again, you , solamente increment the database schema version when you change the database schema. There is no requirement that you have to change the database schema for every release of your app. - CommonsWare
Note that I cannot rule out something possibly odd with Play Store distribution, which is why I am commenting rather than answering, but I would be stunned if there is an issue. - CommonsWare