Reputation: 31
I have a BGTaskScheduler
scheduled for background process. It is running in debugger mode but not working with out debugger. I have tried to test it on TestFlight
as well, did not work.
I have tested it with the help of private function provider by Apple for debugging purpose.
e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"TASK_IDENTIFIER"]
It is working fine in debugger mode when we simulate the background process.
Now I want to test it normally using the application flow on TestFlight
. But it is not calling BGProcessingTaskRequest
. Any solution?
Upvotes: 3
Views: 251