Questions tagged [bgtaskscheduler]

18 questions
0
votes
0 answers

BGTaskScheduler.shared.register never gets called

BGTaskScheduler.shared.register never gets called . I even downloaded a projects from github that implemented this -> ex(https://github.com/sreexamus/BackgroundTasksPOC). Even in these projects the register function does not get called. …
0
votes
1 answer

Swiftui Task not running in Background task

I've configured background tasks successfully on my app where a function would directly call a URL and process the data but I've recently changed this so that the function calls the URL, saves to documentsDirectory then processes the data. Since…
0
votes
1 answer

Swiftui FileManager/URLSession not writing to documentDirectory when running as background task

Hope you're doing well! I've built an app that generates a view from a .csv file that I have hosted on my website. I've previously managed to get everything working as expected where I called the csv from the website and wrote the contents directly…
1
2