feat(client): PWA install + offline shell via Expo #208
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
#185 decommissioned the Next.js UI, including the
@serwist/nextPWA wiring (manifest.ts, sw.ts, sw-register.tsx, offline page). The universal client atapps/client/now serves every screen via the Expo Web bundle, but Expo Web does NOT yet ship its own PWA wiring — so PWA install + offline shell have regressed.Scope
force-static/offlinepage Serwist used as a navigation fallback when the network was unreachable — the Expo SW needs an equivalent.apps/api/public/icon.svgapps/api/public/icon-192.pngapps/api/public/icon-512.png_expo/static/**precache,/api/*network-first (or runtime-cached with a short TTL), HTML pages no-cache.apps/api/lib/auth/public-routes.tsto re-add whatever paths the new Expo SW lands on (/sw.js, manifest, workbox chunks if any).Acceptance
pnpm -F @carol/api build+ the container smoke tests from #185 still pass.Notes
Part of #176 (universal-client work). Tracks the regression called out in #185's PR description.