Hi everyone, I'm quite excited about this Appwrite project especially the much awaited "offline-data-sync" functionality, i'm using this service but I have some issues that need to be answered by everyone.
I have followed this discussion (https://github.com/appwrite/appwrite/discussions/5326) and run successfully example "Todo with Flutter" using "sdk-flutter" and "offline-data-sync" functionality but,
My usecase is:
- When my phone is offline, i create an item todo "Do task 1", default isComplete=false
- Then i mark done this item (Update item "Do task 1" with isComplete=true)
- When my phone is online, it conflict error (be like image)
My expect is:
- When my phone is online, the item "Do task 1" will have isComplete=true
Can anyone help me to solve this problem ... Thanks
Yes, this is one of the outstanding things we need to figure out before releasing offline support
We added a way to block write requests on documents that have been updated after the write request was queued....but now if you have 2 updates to a document, the 1st will update the update timestamp on the document and then the 2nd will think it's a conflict because it was updated after the request was queued
Will this pattern be resolved as I expect result in the near future sir ? ...
I'm not sure about the timeline, but we're working on it
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...