Repository navigation
Discount Hunter 1.1.2
Discount Hunter 1.1.2
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
Notifications now work on a device that has not opened the app for a while, and on a fresh install.
Fixed
- A fresh install could never show a notification. Deal alerts are on by default, but on
Android 13 and above the notification permission starts denied, and the app only asked when the
switch was turned from off to on — which it never was. The app now explains why it needs the
permission and asks for it once, after the intro. "Not now" is remembered, and Settings keeps an
Allow notifications action. - Opening the app pushed the next background check back. Every process start re-armed the
hourly alarm to a fresh hour, including the process starts WorkManager performs for its own
worker. On a device that was woken often enough, the punctual alarm never fired. An alarm that is
already armed is now left alone; only a firing, a reboot, an app update, or turning the feature
on or off changes it. - The check recorded changes it could not post. If notifications were blocked when a sale was
detected, the app marked it as announced anyway, so granting the permission later brought
nothing back. The record is now left untouched until something is actually posted. - Free games were skipped when the wishlist was empty. The worker returned early, even though
free games are announced without being saved. It now checks them regardless. - "Delete all app data" left the alert records behind. It now clears the watch state and the
status record too, and restores the default schedule.
Added
- Deal-alert diagnostics in Settings. The last-check line says when the last check ran and what
it did — checked, posted, blocked, no deals, or failed — and the next-check line says when the
next alarm is due. A Check now button runs one immediately. - A background-reliability hint. If Android's battery optimisation is restricting the app, the
card says so and links to the battery settings, because several manufacturers defer background
work until the app is next opened.
What's Changed
- docs: refresh the about screenshot for 1.1.1 by @JuggyBob in #8
- fix(alerts): make background notifications work with the app closed by @JuggyBob in #9
Full Changelog: v1.1.1...v1.1.2