S
S
Staspost2020-05-31 13:54:47
Android
Staspost, 2020-05-31 13:54:47

How to set the version of the database for Android in Unity?

The project on Unity for Android uses the SQLite database. Once installed on the device, the program does not replace the originally installed base with new versions when they are loaded.
As far as I remember, when I wrote in Android Studio, I set the database version in the DatabaseHelper class and remember that it is updated only if the version of not only the application, but also the database has changed.
But I can't find how to do it in Unity.
Where do you need to register a new version of the database so that when you reinstall the application, the database is updated? Or do it some other way?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question