Release 1.4

versionCode 5. public_html/ changed, so the service worker cache goes to
bgclock-v20.

Confirmed on device: a turn left running well past the delay, force-quit and
reopened, now comes back with the time it had actually spent.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 15:07:26 +02:00
co-authored by Claude Opus 5
parent 3a7eb8c612
commit 7f1b246679
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ android {
applicationId = "nl.hansdezwart.bgclock" applicationId = "nl.hansdezwart.bgclock"
minSdk = 26 minSdk = 26
targetSdk = 36 targetSdk = 36
versionCode = 4 versionCode = 5
versionName = "1.3" versionName = "1.4"
} }
compileOptions { compileOptions {
@@ -0,0 +1,4 @@
Fixes a match not coming back correctly after the app is force-quit. The clock
returned to where it stood at the last turn change, losing the time spent on
the turn that was interrupted. The match is now written down once a second
while a clock is running, so at most a second can be lost.
+1 -1
View File
@@ -1,5 +1,5 @@
/* Cache-first: once installed the clock never touches the network again. */ /* Cache-first: once installed the clock never touches the network again. */
const CACHE = "bgclock-v19"; const CACHE = "bgclock-v20";
const FILES = [ const FILES = [
"./", "./",
"./index.html", "./index.html",