~/talk

Lessons from Building a Supabase Powered Flutter app

Talkat Fluttercon USA 2025 · 2025-06-25..06-26· [flutter, databases]
linkedin:poojab26
slides:none on file

An app called Anchor for ADHD developers uses FlutterFlow with Supabase as the backend and documents concrete fixes: implement RLS policies to stop unauthorized post visibility, change views from security definer to security invoker so row policies apply, add indexes to cut a join lookup from ~0.8ms to ~0.5–0.6ms (≈21% faster), move client logic into Postgres RPCs and triggers, and replace duplicate FCM entries with an upsert to stop users receiving tens of identical notifications.

AI-written summary · about

  1. 0:00Introduction
  2. 3:00ADHD dev app
  3. 5:10Front-end meets databases
  4. 7:42Data visibility mistake
  5. 10:10Row-level security
  6. 12:39Querying multiple tables
  7. 13:22Postgres views for queries
  8. 14:47Security definer vs invoker
  9. 16:10Restricted project visibility
  10. 17:53Performance with users
  11. 18:59Slow queries with indexes
  12. 21:04Logic to RPC functions
  13. 22:50Edge vs RPC functions
  14. 23:52RPC overuse issues
  15. 24:34Automating with triggers
  16. 25:16Fixing duplicate notifications
  17. 28:27Versioning views
  18. 29:30Versioning RPC functions
  19. 30:31Final tips
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.