Skip to content
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

eventsForBackgroundHandler does not receive events #13

Open
appsird opened this issue Nov 18, 2014 · 0 comments
Open

eventsForBackgroundHandler does not receive events #13

appsird opened this issue Nov 18, 2014 · 0 comments

Comments

@appsird
Copy link

appsird commented Nov 18, 2014

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

@appsird appsird changed the title eventsForBackgourHandler does not receive events eventsForBackgroundHandler does not receive events Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant