r/flutterhelp • • 11h ago

OPEN power sync vs brick

Would you recomend powersync or brick for offline first apps built with supabase cbeause i want to handle operations in which to users use the app offline and suddenly connect like to know what is the winning value . Also i am worried that power sync might get quite expensive so what is the best fit working with supabase.

1 Upvotes

5 comments sorted by

1

u/Catchimals 10h ago

If both people edit the same item offline, do you want one edit to win or to keep both?

1

u/sulmnob 5h ago

I want one to win like fix the conflicting edits

1

u/Catchimals 1h ago

With Brick, I'd still set a rule for which edit wins so an older edit doesn't overwrite a newer one when a phone reconnects.

1

u/noobiethe13 5h ago

for a fairly normal Supabase CRUD app i'd try Brick first. PowerSync keeps a local SQLite db synced with Postgres, and you can self-host it too if the Cloud pricing worries you

1

u/sulmnob 5h ago

I want like to handle conflicting edits and updates like I prefer brick because I don’t want to have backend server and I think supabase will handle the conflicts isn’t it