Learning tool on location data privacy, that reflects to users, what conclusions can be drawn from their location histories. This is part of the SIMPORT project.
When the app starts for the first time, there was no database file in the filesystem. That's why the isDatabaseEncrypted function failed.
In this PR we are checking if the database exists. If not, we are creating a temporarily connection which creates the database file in the filesystem. During the isDatabaseEncrypted function, there should now always be an existing database.
When the app starts for the first time, there was no database file in the filesystem. That's why the
isDatabaseEncrypted
function failed.In this PR we are checking if the database exists. If not, we are creating a temporarily connection which creates the database file in the filesystem. During the
isDatabaseEncrypted
function, there should now always be an existing database.Closes #299