BigBrainParking/app
Erik 6af3dad762
All checks were successful
build-apk / build (push) Successful in 9m58s
v0.6.2: show and manage on-phone sessions offline and signed out
A city-map timer started without signing in did not appear under Sessions.

The tab returned "Sign in to see your sessions" before rendering anything, so
a local session could never show; and even signed in it only ever listed
ParkSmarter's sessions. A local timer is the one kind that has no server copy,
which made it the one kind the screen could not display.

- Sessions now leads with "Tracking on this phone": the live countdown with
  +1 hour and End, working with no account and no network, because that is the
  only place the session exists.
- Recent local sessions are kept in a small on-device history (50 max). Without
  it a local session vanished the instant it ended — there is no server to ask.
  Paid ParkSmarter sessions are excluded so they don't appear twice.
- The ParkSmarter half is layered on top when signed in and can fail
  independently: offline it reports that and keeps the local half visible,
  rather than the whole tab going blank. It also no longer leaves an unhandled
  rejection when the fetch throws (it had try/finally but no catch).
- The card's second button follows the notification's rule: +1 hour for a local
  timer, Extend -> purchase screen for a bought session, since only one of those
  can honestly add time.

History is written in endActiveParking() before the record is dropped, which
also covers expiry — syncActiveParking() routes a lapsed session through the
same call.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 05:39:14 +00:00
..
assets v0.2.1: big-brain-driver app icon 2026-07-13 20:33:15 -07:00
modules/bbp-notify v0.5.0: persistent parking notification — foreground service, End/Extend 2026-08-07 20:10:54 +00:00
plugins Fix release signing in CI: anchor plugin regex to buildTypes release block 2026-07-07 19:49:37 -07:00
src v0.6.2: show and manage on-phone sessions offline and signed out 2026-08-13 05:39:14 +00:00
test v0.6.0: city parking-map overlay + local time tracking, no IPS API 2026-08-13 03:28:18 +00:00
.gitignore chore: untrack + gitignore local module gradle build output 2026-07-13 21:05:09 -07:00
app.json v0.6.2: show and manage on-phone sessions offline and signed out 2026-08-13 05:39:14 +00:00
App.tsx CI: move workflow to .forgejo/workflows; self-contained Forgejo release; bump 0.1.1 2026-07-07 14:18:06 -07:00
babel.config.js Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00
index.ts Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00
metro.config.js Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00
package.json v0.6.0: city parking-map overlay + local time tracking, no IPS API 2026-08-13 03:28:18 +00:00
tsconfig.json Initial commit: parksmarter-client + BigBrainParking app 2026-07-06 08:33:47 -07:00