Mobile App Background Sync on iOS


#1

iOS has a feature that allows apps to sync in the background even when they are not being used, I’m logging a feature request for this as I think it might help the mobile app feel a bit more snappy and load faster.


Faster mobile app
#2

Definitely would help performance if you work on computer a lot and have lots of changes to sync over. :thumbsup:


#3

This is indeed the most desirable aspect to speed up dynalist. It usually takes 5-6 seconds for dynalist to become usable when I switch from android to pc and vice versa (on top spec phone / pc).

Many collaboration apps use incremental sync to avoid having to sync the entire list each time, but that might be more a fundamental architecture change that requires more time.


#4

Sync is already incremental. Only the newest changes/diffs/deltas get synced over.

The thing is running in the background require special code. From my understanding, a lightweight version of Dynalist, so it consumes less RAM and battery.

We’ll see what we can do about it!


#5

Thank you Erica. What do you mean by “From my understanding, a lightweight version of Dynalist, so it consumes less RAM and battery.”?

I’m pleased to hear it is incremental sync, though suprised as well, because in that case I don’t understand why it would take 5-6 seconds, sometimes more to sync even minor changes. Surely there is something wrong or that can be optimised?

Many thanks,
Andrew


#6

It’s because the app does not when it gets called to the foreground. Syncing 10 times a second will solve this problem, but that’s too demanding for most cases. Dynalist syncs every 10 seconds or so, and it will immediately sync if you make any changes. In other words, if you don’t make any changes, you need to wait a few seconds for it to sync.

In other words, this sync frequency has nothing to do which the size of the changes synced, it’s merely a mechanism to save resources. Dynalist has adopted incremental sync since a long time ago.

The solution would be to find a way to hook up a trigger that tells Dynalist to sync when it comes to the foreground.

I hope that answers your question!


#7

@erica thanks for giving this feature consideration. I also use dynalist on my phone and for quick capture (in busy moments) its a little bit of a pain to wait fo the sync to occur. A background sync would make sense.

Also, it comes back to the idea of an inbox capture feature on iOS for quickly adding data to Dynalist.

Thanks!
Chris


#8

Thank you Erica, I appreciate your responsiveness, and the situation is much clearer. Yes indeed, the solution you suggest would seem ideal, or to sync in the background less frequently so that most of the time it’s already in sync when opened.
thx