Room uses Write Ahead Logging by default on devices with enough RAM. This means the db file not always up to date and when simply copying the file the database can be corrupted.
I will have to implement a backup function that backups a consistent view on the database or find out how to use the sqlite backup API from Android.
Room uses Write Ahead Logging by default on devices with enough RAM. This means the db file not always up to date and when simply copying the file the database can be corrupted.
I will have to implement a backup function that backups a consistent view on the database or find out how to use the sqlite backup API from Android.