LunaPosLunaPos
Back to news list
Development UpdateFloor

v0.6.0 Floor: Supabase Backend Integration

Integrated the Supabase backend into the LunaPos App.


Key changes:

  • Supabase CLI setup and migration SQL creation (18 tables)
  • RLS (Row Level Security) policies with tenant_id on all tables
  • Test data seeding (seed.sql: 1 store, 3 rooms, 8 tables, 6 casts, 12 menu items)
  • Swift SDK integration (SupabaseService.swift: full query methods)
  • SyncEngine.swift (online/offline detection via NWPathMonitor, write sync)
  • DTOs.swift (data transfer objects for Supabase, snake_case conversion)
  • StoreSettings.swift (dynamic store settings loaded from Supabase)
  • Updated PriceCalculator to use StoreSettings
  • Device authentication flow (JWT acquisition via device token)
  • Swift 6 Strict Concurrency support (@MainActor usage)
  • Add us on LINEInquiries welcome here too