Overview
Make split-app a fully installable Progressive Web App with offline support. Invoice reads from the last session should be available offline. Pending transactions (pay, approve) submitted while offline should be queued in IndexedDB and auto-submitted when connectivity is restored.
Requirements
- Configure
next-pwa or @ducanh2912/next-pwa for service worker generation
- Cache strategy: network-first for API routes, cache-first for static assets
- IndexedDB pending queue: when a transaction fails due to network error, store it in IndexedDB with
idb library
- On reconnect, drain the queue automatically (with retry logic)
- Offline banner: "You're offline — pending transactions will submit when you reconnect"
manifest.json with correct StellarSplit branding (name, icons, theme colour #0B1628)
- Write unit tests for the queue drain logic
Acceptance Criteria
Definition of Done
All CI checks must pass before the PR is reviewed.
Overview
Make split-app a fully installable Progressive Web App with offline support. Invoice reads from the last session should be available offline. Pending transactions (pay, approve) submitted while offline should be queued in IndexedDB and auto-submitted when connectivity is restored.
Requirements
next-pwaor@ducanh2912/next-pwafor service worker generationidblibrarymanifest.jsonwith correct StellarSplit branding (name, icons, theme colour#0B1628)Acceptance Criteria
manifest.jsonhas correct StellarSplit brandingnpm run lintpasses with zero errorsnpm run buildsucceedsDefinition of Done
All CI checks must pass before the PR is reviewed.