I have a app making thousands of API Calls giving me JSON data which i save it in coredata using NSURLSession with BackgroundConfiguration.. It works fine , but for certain downloads it gives me [code=-1 "unknown error"] followed by [ Code=-997 "Lost connection to background transfer service" ] errors. I have searched the web for possible solutions but couldn't figure out a solution yet.
Try to check device logs. You could find crashes of Background Transfer daemon. I found that it may crash if the daemon exceeds 40MB memory limit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With