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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...