System Architecture & Data Flow
Independent native UIs and persistence backed by shared Supabase services.
Repository#
laterbox-ios/ contains Swift/SwiftUI, laterbox-android/ contains Kotlin/Compose, laterbox-web/ contains Next.js, and laterbox-extension/ contains browser capture. supabase/ owns migrations and edge functions; assets/ holds shared artwork.
Local Persistence#
Apple clients use SwiftData, Android uses Room, and the web app uses account-scoped local caching and pending capture queues. Each client implements its own UI and synchronization behavior.
Shared Backend#
Supabase provides authentication, PostgreSQL with Row-Level Security, and storage. Web APIs provide enrichment, entitlement, and notification services. Share data contracts rather than UI runtime code.
Platform Boundaries#
The current Apple release scheme targets iOS. macOS-specific source remains for native desktop work. Windows and Linux native clients are future work.