From 7f1b2466794d2105cca318f9ef5d4da09096ebb4 Mon Sep 17 00:00:00 2001 From: Hans de Zwart Date: Sat, 15 Aug 2026 15:07:26 +0200 Subject: [PATCH] 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 --- android/app/build.gradle.kts | 4 ++-- fastlane/metadata/android/en-US/changelogs/5.txt | 4 ++++ public_html/sw.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/5.txt diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 9d63159..29ec844 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "nl.hansdezwart.bgclock" minSdk = 26 targetSdk = 36 - versionCode = 4 - versionName = "1.3" + versionCode = 5 + versionName = "1.4" } compileOptions { diff --git a/fastlane/metadata/android/en-US/changelogs/5.txt b/fastlane/metadata/android/en-US/changelogs/5.txt new file mode 100644 index 0000000..7d4a51e --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/5.txt @@ -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. diff --git a/public_html/sw.js b/public_html/sw.js index 07402d6..ba50aaa 100644 --- a/public_html/sw.js +++ b/public_html/sw.js @@ -1,5 +1,5 @@ /* Cache-first: once installed the clock never touches the network again. */ -const CACHE = "bgclock-v19"; +const CACHE = "bgclock-v20"; const FILES = [ "./", "./index.html",