locked
Background Transfer Service RRS feed

  • Question

  • User360243 posted

    Hi, I working on a Xamarin Forms App and need to upload and download some data in background while app is not being in use. I understand background services are implemented differently on each platform and I am starting from iOS.

    So I have gone through the documentation of Background Transfer Service https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/backgrounding/ios-backgrounding-walkthroughs/background-transfer-walkthrough but I am unable to understand where to write the download tasks for upload. I have implemented NSUrlSession, NSUrlSessionDownloadDelegate but unable to figure how can I initiate some tasks to download files.

    Is there any complete sample exists anywhere? I have checked the SimpleBackgroundTransfer sample but its actually using UI to kick-off the download task but in my case, the app itself should kickoff these uploads and downloads in background.

    Any help?

    Thursday, January 3, 2019 6:02 PM

All replies

  • User369979 posted

    Duplicate thread: https://forums.xamarin.com/discussion/147932/background-transfer-service

    Friday, January 4, 2019 9:49 AM