Commit Graph

10 Commits

Author SHA1 Message Date
Torsten Grote
4df60a42c8 [db] Calculate app compatibility in DB
and remove feature version as it app can't even use that.

Compatibility checking has been added to the DB layer as a post-processing step only because the UI wants to query for that on the app level (which would need all APKs).
2022-09-12 09:46:15 +00:00
Torsten Grote
3cb7538fc8 [db] Add special queries for AppListItems 2022-09-12 09:46:15 +00:00
Torsten Grote
97567a2057 [db] Add UpdateChecker
Doing the actual update check is more work than it would be with keeping info about all installed apps in the DB. However, this way, we don't need to keep that info in sync with reality. Also, we need to check for updates only after updating repos, so there we are on a worker thread already anyway and an spare an extra second.
2022-09-12 09:46:15 +00:00
Torsten Grote
55a446fe64 [db] Allow pre-populating the database via onCreate callback
Also add more methods for managing repos and improve selecting apps from repos
2022-09-12 09:46:15 +00:00
Torsten Grote
44ceaa6842 [db] Add a method for getting an app without specifying the repoId 2022-09-12 09:46:15 +00:00
Torsten Grote
5908789c29 [db] Add repo preferences as separate table
and use it in IndexV1Updater
2022-09-12 09:46:15 +00:00
Torsten Grote
50bb9ce60c [db] Prepare DB for use by UI
Add AppOverviewItem and certificates for repos
2022-09-12 09:46:15 +00:00
Torsten Grote
95266df96a [db] Add simple IndexV1Updater (not in final form)
just to be able to get a real DB into the app for further testing
2022-09-12 09:46:15 +00:00
Torsten Grote
a445bee197 [db] Add support for apps and streaming 2022-09-12 09:46:15 +00:00
Torsten Grote
ca6da651ec [db] First prototype 2022-09-12 09:46:15 +00:00