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
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- Relations within the same table
Hello, I'm currently building a sort of dictionary (a literal one) and thus I need words (which is one single table of words in my database) to be able to have ...
- [SOLVED] Query.search() returning all ro...
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.