My two years old program uploads files to our website in parallel. All is good, except when user switches to another app.
I investigated OBJC samples. To send files in background is enough simple, but it's hard to emulate the same requests, as in actual app.
Today I looked Erel's sample about monitoring http requests and thought - B4I also uses NSURLSession. Simply another configuration than I need.
So I wrote enough short subroutine (changeNSURLSession). It works on my smartphone in background / foreground, unlike a way, which I used is not official.
Pls, let me know about troubles.
I investigated OBJC samples. To send files in background is enough simple, but it's hard to emulate the same requests, as in actual app.
Today I looked Erel's sample about monitoring http requests and thought - B4I also uses NSURLSession. Simply another configuration than I need.
So I wrote enough short subroutine (changeNSURLSession). It works on my smartphone in background / foreground, unlike a way, which I used is not official.
Pls, let me know about troubles.