with a wrong password does not fail as it seems to be ‘lazy’. (Well, it’s a factory). The failure only happens on first access.
Additionally I have read somewhere, that accessing a Room/SQLite DB with a wrong password will corrupt it. Is that true?
z
zokipirlo
03/31/2022, 9:18 AM
Usually you would get migration fail, because it would read some strange
int
value and would call
onDowngrade
. At least that is my experience. It never corrupted db, just crashed if this wasn't catched.