Skip to content

Discount Hunter 1.1.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 06:01
· 14 commits to main since this release
8764bcb

Discount Hunter 1.1.1

See CHANGELOG.md for the full history.

Installing

The APK is signed with the release key, so it installs over any earlier version
without an uninstall. If your device warns about an unknown source, allow your
file manager to install apps - that is the one prompt Android asks for.

Verifying the build

ubuntu-latest, JDK 17, ./gradlew testDebugUnitTest lintDebug assembleRelease.
Every APK here was produced by that exact command, and its signature is verified
before it is published.


Changelog

The app can now find and install its own updates, and its Settings screen has an About section that
shows what changed in the latest release.

Added

  • Check for updates. A new Updates card in Settings. It reports whether a newer version has
    been published, and downloads and starts the installation of it without the user having to find
    the release page first. Nothing is fetched until the button is pressed, and nothing is downloaded
    until the download is asked for.
  • About / What's New. A dialog showing the version installed on the device, the latest
    published version, when it was published, and the release notes for it. The notes come from the
    official GitHub release, so they are the same notes the release page shows. A copy is kept on the
    device, so the dialog still says something useful when there is no network.
  • The update flow respects the platform's safeguards. The downloaded package is handed to
    Android's own installer, which asks the user to confirm. On Android 8 and above the "install
    unknown apps" permission is granted separately, in system settings, and the app says so and
    takes the user there.

Fixed

  • A release signed with the wrong key installed once and then refused to update. The release
    workflow now restores the keystore from a repository secret, verifies the signature before
    publishing, and refuses to publish at all if the secret is missing.

Security

  • The release check uses GitHub's public API without a token. A token embedded in an
    application can be extracted from every user's device; the endpoint is public, and the result is
    cached so it is not hammered.
  • Release notes are rendered from a deliberately small Markdown subset. HTML is stripped, and a
    link in somebody else's release notes is shown as text rather than made tappable.

What's Changed

  • feat(update): check for updates in Settings, and an About dialog by @JuggyBob in #7

Full Changelog: v1.1.0...v1.1.1