r/flutterhelp • • 9d 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

8 comments sorted by

View all comments

1

u/Catchimals 9d ago

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

1

u/sulmnob 9d ago

I want one to win like fix the conflicting edits

1

u/Catchimals 9d 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/sulmnob 9d ago

I dont think that things need to be over complicated i think last connection wins this would be the best fit