- Add update package: checks the public Gitea releases API, downloads the APK over the head unit's network (resumable, SHA-256 verified via the update.json asset) and installs through PackageInstaller with user confirmation. Dialog never covers an active tyre alarm; Settings gets an App Updates card with manual check and auto-check switch. - Restart TpmsService on MY_PACKAGE_REPLACED. - Sign releases with a dedicated release key (keystore.properties, git-ignored); version 1.12 (12). - Fixes: permanent USB reconnect loop, Android 14 PendingIntent crash, connectedDevice FGS permission, snooze display during fast leak, pairing step race, MediaPlayer leak, synchronised alarm evaluation. - Build: add missing gradle.properties and gradlew.bat, make local unit tests compile and pass, add ReleaseParser tests. - Repo: untrack partial bundled JDK and .kotlin sessions, drop unused tung_sahur.png (JPEG that broke release builds), add scripts/publish-release.sh and release notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Deelife TPMS v1.12 — In-App Updates
From this version on, the app checks this repository for new releases and offers to update itself over the head unit's internet connection (Wi-Fi or hotspot). Android always asks you to confirm the installation.
⚠️ One-time manual step when coming from v1.11
v1.12 is signed with the project's new permanent release key, so Android cannot install it over v1.11:
- Uninstall the old TPMS app (v1.11).
- Install
Deelife-TPMS-v1.12.apkbelow. - Re-check your settings (units, thresholds, calibration). Sensor pairing is stored in the USB receiver and is kept.
Every later version will install over v1.12 from the in-app update dialog.
New
- Automatic update check at most every 6 hours, plus a Check for Updates button in Settings → App Updates (auto-check can be switched off).
- Update dialog with release notes, download progress, Later and Skip this version. It never covers an active tyre alarm.
- Downloads can resume and are verified by SHA-256 before installing. Monitoring restarts automatically after the update.
Fixes
- USB monitoring now keeps reconnecting after a read error. Before, it stayed dead after the first 3 minutes until the app was reopened.
- Fixed a crash on Android 14+ when the app requests USB permission.
- Android 14+: the background service can start after boot before USB permission is granted.
- A tyre card no longer shows "snoozed" while a (never snoozable) fast-leak alarm is sounding.
- Fixed a race that could reset the pairing wizard step, a MediaPlayer leak and unsynchronised alarm evaluation.
- The APK is ~40% smaller (proper release build, unused image removed).