Open 7ammer opened 6 years ago
@7ammer @triniwiz Background Downloading for IOS is not working. Any alternatives?
background download on IOS would be nice!
I'll look into it
Hello @triniwiz 👋
Thanks for this package and your time. I was just wondering if you had any further thoughts on this.
Many Thanks
Hello
After messing around with NSURLSession
for a while it seems that this issue maybe due to this package's use of NSURLSessionConfiguration.defaultSessionConfiguration
instead of NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier
.
I see that you've actually written it but commented it out in the code: https://github.com/triniwiz/nativescript-downloader/blob/0b5b005400c57b50074df0f7740bdcfdd60a6d0e/src/downloader.ios.ts#L31. I was wondering what the cause was for commenting it out and if we could apply it again?
Many thanks
Hello 👋
It looks like updating AFNetworking to '4.0' resolves this issue!
See my pull request: https://github.com/triniwiz/nativescript-downloader/pull/45
Hello :) Can this module do background downloading for IOS? It looks like android can achieve this but I can't seem to get the same result on IOS. Cheers
Which platform(s) does your issue occur on?
IOS simulator's, not tried on a real device yet.
Please, provide the following version numbers that your issue occurs with:
CLI 4.0.0