SimpleBackgroundUpload icon indicating copy to clipboard operation
SimpleBackgroundUpload copied to clipboard

Background Upload and Lock Screen

Open MattCrees opened this issue 5 years ago • 1 comments

Hi

We have implemented background uploads using your example and added them to a loop. Our app users upload a number of photos to a backend web api to be attached to some business management software. The photos are looped around and a number of upload tasks are created while the app is in the foreground. It appears that if you press the home button the app the transfer continues OK, locking the phone appears to suspend any transfers.

Do you have any suggestions? Thanks

MattCrees avatar Nov 07 '19 09:11 MattCrees

Hi @MattCrees, one thing that comes to mind is your app's Data Protection setting. Did you set any protection level?

https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/encrypting_your_app_s_files

dannycabrera avatar Nov 07 '19 14:11 dannycabrera