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

iOS 15 Breaks Newsstand Downloads #571

Open
GennadyK opened this issue Oct 4, 2021 · 3 comments
Open

iOS 15 Breaks Newsstand Downloads #571

GennadyK opened this issue Oct 4, 2021 · 3 comments

Comments

@GennadyK
Copy link

GennadyK commented Oct 4, 2021

Hi,
For those who are still using Baker Framework and have original Newsstand framework for downloads it will not work after iOS15 upgrade: https://developer.apple.com/forums/thread/691289
To fix it you need to replace download functionality with NSURLSessionDownloadTask, using some code examples/tutorials. I used this one and everything works fine after some debugging: https://stackoverflow.com/questions/22278407/nsurlsessiondownloadtask-downloads-but-ends-with-error

Edit:
Here is BKRIssue.m from the working project with NSURLSessionDownloadTask implemented, thanks.
BKRIssue.zip
You would need to compare it with: https://github.com/bakerframework/baker/blob/master/BakerShelf/BKRIssue.m

@GennadyK
Copy link
Author

GennadyK commented Oct 6, 2021

Here is BKRIssue.m from the working project with NSURLSessionDownloadTask implemented, thanks.
BKRIssue.zip

@GennadyK GennadyK changed the title iOS15 Breaks Newsstand Downloads iOS 15 Breaks Newsstand Downloads Oct 6, 2021
@bsjosten
Copy link

bsjosten commented Feb 4, 2022

Hi,

Thanks for helping with this issue.

I have downloaded BRKIssue.m and compiled it with XCode. However, I get some errors from undeclared variables that should probably be declared in BKRIssue.h.

Do you have an updated BKRIssue.h file available?

Thanks,

/Bo

@GennadyK
Copy link
Author

GennadyK commented Feb 4, 2022

Hi Bo,
Here is with BKRIssue.h included:
BKRIssue.zip

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

2 participants