Anki IOS only sync when you press the sync button. Unlike Anki desktop and Anki droid, It automatically syncs itself whenever you open the app (even better when you’re also closing the app, which only takes place on Anki desktop)
Or If Anki IOS already has this feature. Please let me know how to setup
The main issue is that iOS apps are not closed like desktop ones are. Every time you briefly switch away, that counts as “closing”, so syncing would end up happening at inconvenient times. iOS will only give apps a brief amount of time to run before they are frozen, so if AnkiMobile were to wait for a while, it would not end up being able to sync.
A way around this would be to introduce the ability to sync in the background, but it will mean a redesign of the syncing protocol to handle this, and will take time.
That has similar problems - it’s something the user may be doing frequently if they’re jumping back and forth between apps, and it could get in the way.
If it were optional, that’s one possibility. Another alternative would be to allow syncing to be assigned to the top bar/a swipe/etc. Would that work for you too?
On iOS apps are only allowed to run in the background for a short amount of time before the system kills them off, and Anki’s current sync protocol has to redo all the work if it is terminated abruptly. The best way to solve this will be changes to the sync protocol, which I hope to get to later this year.
Until then could you give us a prompt after finishing all the cards? Or do an auto sync when finishing all cards (or actually it could even be done after finishing a single card). It doesn’t take much resources to sync, right?
Some kind of intermediate solution.
I’ve also had issues with library sync as I forgot to do it manually.
@dae Another option rather than changing the sync protocol is to add location tracking permission. This would override the termination of background services running. You would probably also need to add a feature to justify the need for location tracking though. Maybe a map that shows where you studied in the last X time periods.
TL:DR, As a side effect of turning on location tracking, background connections will no longer be interrupted.
I just read a thread from 2020 where it’s stated that something like this would in development. Is this still being worked on and if so, when will it come to iPad/iPhone?
Implementing this in a non-invasive manner requires changes to the way Anki syncs cards, and the way cards are reviewed (eg a card may be awaiting review, then no longer pending after changes have been synced). Updates to the sync protocol were a small step towards this, but I’m afraid the rest of the work has not bubbled up to the top of the priority list yet, as bugfixes and other lower-hanging fruit tends to take precedence.
Once an admin said that you are going to change the sync protocol before 2023 ends to make ios/ipados auto sync possible. Is it still valid? Could you inform us the timeline at least roughly ?
I have paid a lot for this app but i am not using it because of this auto sync inability. Since anki earns income mainly from the ios app they should provide more support for the ios users.