-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iCloud] How to pause/resume the auto-sync mechanism and keep generating sync change files? #56
Comments
The iCloud syncing is based on the file syncing mechanisms provided by iOS. You can't pause that one. So, TL;DR: you don't need to pause anything when using iCloud sync. You can however deactivate the |
Thanks for your reply :)
|
1.) Yes, you're right. It's currently not used by the iCloud classes. I start it in my app as soon as the sync starts. And also use it early on a new device with a special My idea would be to merge the functionality of that class into the 2.) There is a switch burried deep down in the iCloud Settings -> Documents and Data that is called (something like) "Use mobile data" (my iPhone is German so I don't know the English name). Isn't that doing what you're thinking about? |
|
I am using the iCloud branch of TICDS in my project. I found that the TICDSFileManagerBasedDocumentSyncManager has 2 methods [beginPollingRemoteStorageForChanges] and [stopPollingRemoteStorageForChanges], while the TICDSiCloudBasedDocumentSyncManager has only [enableAutomaticSynchronizationAfterChangesDetectedFromOtherClients]. I'm trying to provide a wifi-only sync feature, as the syncing mechanism will automaticlly paused when the network is switching to WWAN or completely shutdown (airplane mode, etc), but I want to preserve the app sync manager and doc sync manager configured to keep generating sync change files for future syncing. So the questions are:
Thank you!
The text was updated successfully, but these errors were encountered: