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!
Hi Chris,
Not sure have you check this stack overflow thread before.
ios - How to resume a download when the app force-Quit? - Stack Overflow
I hadn't seen that but I have been force-quitting to test this. I'm willing to bet that a force quit is handled different when connected to the debugger. I will test this more today and see what I find.