We're building ReClaim , a minimalist Android launcher that's on Google Play . Its Home screen has a short to-do list under the clock. An earlier post covered how those tasks are stored. The newest thing we've built on top of them is sharing: you sign in, share one of your lists, and send the link. Anyone who opens it while signed in gets the same list on their phone, and the link also opens it on the website.
That turns a local feature into a sync problem. The list has to work with no network, because it's on the Home screen. Two phones can edit it at the same time. The website edits it too. This post walks through how our client keeps a Room table and a Supabase table in step, which parts I think worked, and one assumption in it that's only safe if the server hands back every row.
Stack: Kotlin, Jetpack Compose, Hilt, Room, coroutines, Postgres on Supabase reached over its REST API, minSdk 26 , targetSdk 36 .…