Back and Home keep capture running in the background, and Disconnect sits on
Settings, so testers had no easy way to end the app. The button (native app
only) asks first while connected, disconnects, then closes the app with
@capacitor/app exitApp. Queued receptions stay and upload on the next connect.
The capture notification now points to the button.
The same log ends on 'ignoring MQTT events from retired publisher #1'
and a header with 'uplink no-publisher', with nothing to say that the
user stopped the capture. disconnectAll only wrote to the status line.
No test: the line is in the click handler in src/app.js, which has no
unit tests.
An AirFlyer log of 2026-11-12 (v1.24.5) shows 'timers frozen (screen
off?): reopening the CoreScope link from a reception' at 21:54:30 with
an RF sample in the same second, so the timers were running. catchUp
writes the line on every reconnect it starts, frozen or not.
On a phone the update check found 12600, but the note stayed unseen: it was on Home and the
app opens on Settings until connected. It is now fixed above the tab bar.
Three testers asked what to enter under Settings > Deployment. Until a deployment is chosen
the card now stands out (blue, title "First step: choose where your data goes") and lists
the steps: open your CoreScope on another screen, open Coverage, scan its QR code or type
the address under it. Once chosen it shrinks to one line naming where the app uploads.
A tester saw gaps between the RF hexes along a road. At 90 km/h the fixed 15 s cadence left
375 m between samples, more than one CoreScope hex at zoom 13 (about 340 m). The timer now
checks every 2 s and takes a sample once the phone moved 100 m since the last one, or 15 s
passed. Parked stays at 5 minutes. An RF sample is a Bluetooth stats query, no airtime.
A 30 minute drive on 2026-11-12 (v1.25.0, full RF logging on) wrote about
19 lines a minute, so the exported log held only the last 10.5 minutes
(08:36:30 to 08:47:03) and two thirds of the drive had rolled out.
At that rate 2000 lines hold about 105 minutes. The same log was 14 kB
for 200 lines, so a full export is about 140 kB.
Not measured: memory or scroll cost of 2000 lines in the log view on a
phone. The view is hidden until 'Show debug log' is pressed.
Choosing a deployment saves it and reloads the page, also when it is the one in use. On a
phone the QR scan of the same deployment dropped the companion link and cleared the debug
log. The same deployment now changes nothing; a different one asks first while connected.
The first R8 test run on a phone showed no update line: a check that finds nothing logged
nothing, so a check that ran was indistinguishable from one that never returned.
Play Console flagged the bundle: DEX optimisation low, obfuscation 1%, no deobfuscation
file, no native debug symbols. Release builds now run R8 with resource shrinking and put
the native symbol table in the bundle; play-upload.mjs --mapping uploads mapping.txt.
Release APK 6.45 MB -> 3.35 MB. Capacitor's consumer rules keep every plugin class: the
seven plugins, MainActivity and AlwaysVisibleWebView keep their names in mapping.txt.
Google Play updates silently and late, and a GitHub APK never updates by itself. At start
the app asks Play's in-app update API (@capawesome/capacitor-app-update 8.1.1); for a Play
install Play decides, and a tap starts the update in Play. Any other install compares its
version with version.json of its deployment, now written by every web build.
A hidden page gets no GPS updates while Web Bluetooth can still deliver packets, so a
reception was stamped with the last position from before the page was hidden. Fixes now
carry their receive time; a hidden page only uses a fix up to 30 s old (receptions, RF
samples, pings). After a minute or more in the background while connected, Home says how
long and how many receptions were saved or not saved.
A companion up to firmware v1.16 answers CMD_SEND_ANON_REQ for a repeater that is not a
contact with ERR_CODE_TABLE_FULL when its contact list is full
(BaseChatMesh::allocateContactSlot); v1.17 reserves 8 slots for these asks. The app only
listened for RESP_CODE_SENT, so the refusal showed as a 4-second 'no send-ack'. The ask
now resolves on that error, logs the cause, and the header counts the refusals.
Fix PRs land on master without version, release notes, SW cache bump or tag. A release PR
collects them and is then tagged, deployed, built and uploaded to Play as a draft. Each
Play upload is reviewed by Google and updates every tester.
While parked the next RF sample is armed 5 minutes out. On 'moving again' that timer kept
running, so the first minutes of a drive had no samples (4 min 19 s in a 2026-11-11 log,
20:20:28 to 20:24:47). setPaused(false) now re-arms it at 15 s when it was due later.
Release v1.24.5, SW cache v65.
Version bump and release notes for f280dec (Android WebView stays running
with the screen off).
Tested on one OnePlus, stationary, screen off about 4 minutes, on USB and on
battery: uploads continued, the broker link stayed up, no 'app hidden' line.
Not tested: region asks and pings with the screen off, a drive, other phones,
battery use.
Three v1.24.3 field logs of 2026-11-11 (three phones) show the same thing:
about 60 s after "app hidden" every upload, RF sample, region ask and uplink
ping stops until the screen is back on, for 7 to 25 minutes, while receptions
and discover go on. The catch-up of 149e39b keeps monitorTick alive but not
the jobs that wait on a timer, on IndexedDB or on the broker.
What changes:
- AlwaysVisibleWebView reports its window as visible at all times, so
Chromium never treats the page as hidden. An app copy of
capacitor_bridge_layout_main.xml puts it in place of CapacitorWebView.
- MainActivity sends appHidden / appVisible on onStop / onStart, because
visibilitychange no longer fires. app.js logs both, wakelock.js re-acquires
the screen lock on appVisible and leaves one that is still held alone.
- Service worker cache v64.
Verified: npm test, 485 of 485 pass. assembleDebug builds, and aapt2 shows
eu.on8ar.coredriverx.AlwaysVisibleWebView in the APK's layout.
Not verified: that this stops the freeze. No phone has run this build yet.
Battery use with the screen off is not measured. No version bump and no
release notes: those follow once a screen-off drive confirms it.
The web app (Chrome, Bluefy) is not changed by this and still freezes.
Uses a service account key outside the repo and node:crypto for the OAuth JWT, so no new
dependency. The draft keeps the track's live release (tracks.update replaces the whole
list) and replaces an older draft. Release notes are the summary line of
docs/releases/vX.Y.Z.md, checked against Play's 500-character limit. An edit that is not
committed is deleted so it cannot block the next run.
Verified against Play: 'tracks' lists alpha with 12403 (1.24.3) completed. Not yet
verified: an actual upload, which needs a new versionCode.
A OnePlus closed the app during a test walk (exit reason o-kill, importance
125, so with the foreground service running). Without an extra permission
the app cannot prevent that, so before the first Connect in the Android app
a popup says to set the battery setting to Unrestricted, linking
dontkillmyapp.com. Shown once (localStorage flag); storage that throws skips
it rather than blocking Connect. Same text in the user guide.
Release v1.24.3, SW cache coredrive-rx-v63.
On Android 13+ the foreground service notification stays hidden until the
user allows notifications, and background-geolocation does not ask.
NativeGps.start now calls LocalNotifications.requestPermissions() before
addWatcher; a refusal or error does not stop capture.
Release v1.24.2, SW cache coredrive-rx-v62.
Google Play requires a link to the privacy policy inside the app. Settings
gets an About card with the privacy policy, user guide and source code; in
the Android app the links open in the phone's browser (Bridge.launchIntent).
SW cache coredrive-rx-v61.
The folded history still made every body list all earlier releases, which
the GitHub releases list already shows. The body is now the tag's own
docs/releases file plus one link to the releases list. The job still fails
on a tag without a notes file.