eventsForBackgroundHandler does not receive events
appsird opened this issue · 0 comments
I just downloaded your latest release and compile with no changes. I run the app, then select Download at the bottom of the screen. Next I select "Resume All". All 3 files are downloaded, and I see a 'Completion:' message for each of the files emitted by line 125 in startDownload of DownLoadViewController.swift.
Though I have never see the "Did finish events for background" in on line 38 get printed. Nor do I see the "All files have been downloaded" message on line 41. I set breakpoints on line 36 where the call to urlSession.getDownLoadingTasksCount is invoked, though no break there.
I noticed in the debug log window the message:
+backgroundSessionConfiguration: is deprecated. Please use +backgroundSessionConfigurationWithIdentifier: instead
I commented the first call, and use the second call instead - though still no event messages are printed. The project has the 'Background fetch" checkbox set in the target as set in the downloaded project. I noticed the project is compiled using Deployment Target 7.1 which I also changed to 8.1, recompiled and ran - though still no event messages appear.
Thanks again