AnsweredAssumed Answered

Incomplete replica downloads restart instead of resuming

Question asked by milack on Oct 18, 2016
Latest reply on Oct 20, 2016 by milack

I've been using [AGSGDBSyncTask generateGeodatabaseWithResumeID:status:completion:] to restart downloads that did not finish. I'm putting this in place to handle scenarios where the app is killed, a user loses connectivity, etc.

 

I've found that when I'm attached to the debugger, I can call this method and the download will resume from where it left off. However, if I launch the app without being attached and resume the generate task with that method, the download will restart completely. 

 

Is there a way I can force the SDK/iOS to resume the download from where it left off? Has anyone experienced this or have an idea as to why this would only work when attached to the debugger?

 

Thanks!

Outcomes