You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying out this library with this example.
And I've reached a point where during offline, the changes I made locally is not synced when the connection is re-established.
I can tell because the product id is not assigned if it is created offline.
I made sure syncLocal is true.
final productsState = ref.products.watchAll( syncLocal: true );
and I tried:
// this action only overwrites my local state with server state await ref.products.appwriteAdapter.findAll(syncLocal: true);
How do I perform such action? Does this package provide this feature?
I do see there's a merge function, is that the one? Can you show me how it works?