App lounge: Fix App Lounge crash when upgrading from old version
Description
App Lounge crashed when upgrading from old version of App Lounge. This merge request should fix that.
Issue(s)
https://gitlab.e.foundation/e/os/backlog/-/issues/239
Test environment
Gradle build from branch 239-fix_crashing_db and install the apk.
Test procedures
Install an old apk of App Lounge, open it, accept Terms and Conditions, login.
Now gradle build from branch 239-fix_crashing_db and install the apk.
Open App Lounge and check if there is any crash.
Technical details
App was crashing due to Room DB for FusedDatabase
. Fixed it by increasing Room DB version and adding fallbackToDestructiveMigration()
.
Screenshots
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation