Jay
I wasnât worried about the âwhole documentâ. But as you stated, if you change a log of individual items, the are all subject to the race condition if you left the iPad or iPhone app running.
No changes were made between 10 am and 10:20. The app was in the background ruring those times. All sync stopping happens while the app is in the background. If it has just been started, it seems to sync fine during changes; it seems only when the app is in the background and the device is âoffâ that synching stops working, and after a random amount of time. No updates were performed during that time. During this time slot, it was not opened or closed; everything was left alone. I am not opening nor closing a lot in most cases. Sometimes the iOS version is closed for an hour; sometimes for several hours.
I always have to force quit after a sync/change now, so that i know the next time I open it, I wonât accidentally start working in a doc that has failed to sync.
Is it possible that this is caused by corrupt data? I remember you having some issues with my Workflowy data that was brought into Legend? Do syncs normally only perform on changed data, but when the app is in the background is a check of the âentire/all documents/all dataâ done that might only crash then that happens? Here is my logic:
- The sync crash must not be happening when the app is closed or put into the background because if you immediately (after that) start the iOS version of Legend again, the sync is still working.
- Therefore, the sync crash must be happening either during the time the app is in the background, or as the app comes out of the background and enters the foreground.
- If the app doesnât do anything once it enters the background, and it doesnât do anything while it is in the background, then the sync crash must happen when the app is brought into the foreground.
Is it possible that the sync crashes if you have changed networks, i.e. moved from wifi to cellular, or another wifi, while the app is in the background, and the app isnât aware of that until it is brought to the foreground and attempt to sync to another network it isnât aware is now there? That being said, I have have the sync crash happen when I havenât move my phone or ipad from the desk, and they were just sitting there for hours.