Commit Graph

10536 Commits

Author SHA1 Message Date
Torsten Grote
e337cf031e Take signer into account when finding installed version in app details
and multiple candidates with the same version code exist
2026-01-15 10:43:23 -03:00
Torsten Grote
189c697e5f Remove int preferences hack, because library now supports Long 2026-01-12 15:42:25 -03:00
Torsten Grote
46634ce38d Make repo error text selectable
so it can easily get copy and pasted
2026-01-12 15:41:09 -03:00
Torsten Grote
88c32b0b00 Only show repo errors if the repo is enabled
this allows "ignoring" repo errors by disabling the repo
2026-01-12 15:41:09 -03:00
Torsten Grote
dba20832ee Use proper Litecoin icon
otherwise it looks strange if Bitcoin and Litecoin use the same icon
2026-01-12 15:41:08 -03:00
Torsten Grote
b5a97911d9 Don't keep retrying sending ACRA reports
we send via email intent. this typically doesn't fail. if it fails, usually because there's no email program installed and then we shouldn't keep trying
2026-01-12 15:41:08 -03:00
Torsten Grote
f65f355e95 Show changelog of update (if existing) in app details
previously only the changelog of the last installed version would get shown
2026-01-12 15:41:08 -03:00
Torsten Grote
b928235af2 Fix top spacer when changing repos in app details 2026-01-07 17:06:13 -03:00
Torsten Grote
32e4a04cd6 Handle disabled pre-approval
Pre-approval can be disabled and we get STATUS_FAILURE_BLOCKED which should be sufficient. There's also a hidden official error code we don't use for now:
https://cs.android.com/android/platform/superproject/+/android-latest-release:frameworks/base/core/java/android/content/pm/PackageManager.java;l=2644;drc=905556173324d48059d4bae77408748a76497ac9
2026-01-07 10:07:30 -03:00
Torsten Grote
be67dba026 Don't claim no apps installed when all apps have issues 2026-01-07 10:07:30 -03:00
Torsten Grote
16dec72976 Adapt nightly builds to 2.0 basic 2026-01-06 10:27:42 -03:00
Torsten Grote
4cdf797515 Ignore failing test testGetReportingWeekStart()
as this doesn't get fixed for years and keeps coming up.

See #2339
2026-01-05 18:59:42 -03:00
Torsten Grote
6ede37119a Allow one more year of SHA1 in index v1 tests 2026-01-05 18:59:42 -03:00
Torsten Grote
dd3d4c532d Remove 2.0 dev cruft 2026-01-05 18:59:42 -03:00
Torsten Grote
312937eda6 Update update-mirrors-in-default_repos.xml.py 2026-01-05 17:24:37 -03:00
Torsten Grote
ddafdd6e8b Only show one app confirmation dialog at a time 2026-01-05 17:24:36 -03:00
Torsten Grote
9b3fbe0098 Adapt CI to new module structure 2026-01-05 17:24:33 -03:00
Torsten Grote
e811b876be Change last update check key
because the Int/Long issue in the preference lib doesn't seem to get resolved in time
2026-01-05 17:24:15 -03:00
Torsten Grote
8bdf1ae644 Clean up resources across old and new code 2026-01-05 17:24:14 -03:00
Torsten Grote
d3164687cd Clean up app gradle modules 2026-01-05 17:24:14 -03:00
Torsten Grote
83f8f80332 Init repo update progress as soon as possible
so there can be UI feedback right after we started updating that repo not after the first bytes have been downloaded which may only happen after significant delay.
2026-01-05 17:24:14 -03:00
Torsten Grote
1738ba9644 Update our own app last
This is needed, because when we update ourselves we get killed, so then we can't apply the other updates anymore. Updating ourselves last ensures that all other updates have been applied before.
2026-01-05 17:24:14 -03:00
Torsten Grote
5f9883a1b8 Improve About screen 2026-01-05 17:24:14 -03:00
Torsten Grote
f9dd39ace0 Improve presentation of main Discover screen 2026-01-05 17:24:13 -03:00
Torsten Grote
8e1793e7fa Fix state restoration on top level screens
by reworking the NavDisplay related code
2026-01-05 17:24:13 -03:00
Torsten Grote
00860f5aab Turn 'My apps' overflow menu into sort menu 2026-01-05 17:24:13 -03:00
Torsten Grote
b28457d17f Move 'All Apps' to main overflow menu for now 2026-01-05 17:24:13 -03:00
Torsten Grote
62f87e5b5b Improve inset padding for lists
The secret is to use contentPadding, not padding with the Modifier.
2026-01-05 17:24:13 -03:00
Torsten Grote
ba899ad94b Improve repository details
better copy and metered dialog when enabling repo while metered
2026-01-05 17:24:13 -03:00
Torsten Grote
d84b30ae26 Improve big screen pages when no app/repo is selected 2026-01-05 17:24:13 -03:00
Torsten Grote
7a3d3aed1d Improve adaptive navigation
Shows a NavigationRail on big screens now and uses separate back stacks for main nav destinations
2026-01-05 17:24:12 -03:00
Torsten Grote
ed7456d55b Fix some issues the new linter complained about 2026-01-05 17:24:12 -03:00
Torsten Grote
036b9b6dd1 Upgrade dependencies 2026-01-05 17:24:12 -03:00
Torsten Grote
e92180af87 Allow updates even on metered connections
For this, the update toggles in settings are replaced with a ListPreference with three states: only on wifi, always and never.
2026-01-05 17:24:12 -03:00
Torsten Grote
3940a32911 Remove cached APKs after 24h
the clean up is piggybacking on repo updates
2026-01-05 17:24:12 -03:00
Torsten Grote
165b434ee3 Handle offline or metered network on first start
by informing the user about the situation and delaying initial repo update until they are ready
2026-01-05 17:24:12 -03:00
Torsten Grote
c29ae7736e Don't load updates on very first start
it may find apps we had installed before, but are not (yet) in any repo, so it will show issues already during initial repo fetch
2026-01-05 17:24:12 -03:00
Torsten Grote
db89eb4749 Show repo update progress on repo details screen
and show update button more prominently
2026-01-05 17:24:12 -03:00
Torsten Grote
15e2be4dc7 Improve repo update notification 2026-01-05 17:24:11 -03:00
Torsten Grote
7dd57b82dc Show progress bar on first start
also track repo update progress
2026-01-05 17:24:11 -03:00
Torsten Grote
de2c77a647 Require opt-in to screenshot loading on mobile data 2026-01-05 17:24:11 -03:00
Torsten Grote
dd73012a9b Warn user before downloading over metered connection 2026-01-05 17:24:11 -03:00
Torsten Grote
b5cc123dff Support dynamic colors, but keep brand colors as default 2026-01-05 17:24:11 -03:00
Torsten Grote
61fb334a34 Add debugging statements and clean up ForegroundInfo 2026-01-05 17:24:11 -03:00
Torsten Grote
dfa6807c66 Add new categories 2026-01-05 17:24:11 -03:00
Torsten Grote
e4db44b2f9 Show repo update errors in the UI 2026-01-05 17:24:10 -03:00
Torsten Grote
9f3a615b5a [db] add missing API surface 2026-01-05 17:24:10 -03:00
Torsten Grote
c0f90bf0b6 [db] don't progress report total bytes for entry.jar download
because we'll download another file afterwards and progress reporting would jump to 100% two times. Also entry.jar is really small, so downloading that is fast and doesn't benefit from detailed progress reporting anyway.
2026-01-05 17:24:10 -03:00
Torsten Grote
dea8a2e504 [db] track and clear repo update errors
Historically, we've just shown a giant Toast for repo update errors, now we track them in the DB, so we can properly expose them in the UI.
2026-01-05 17:24:10 -03:00
Torsten Grote
f81060859d [db] Migration to version 10
adds a couple of fields we wanted for some time:
* isPrimary for mirrors
* repo errors
* app labels for pre-approved installs
2026-01-05 17:24:10 -03:00