I tried to use the iOS 13 background tasks, with the Apple Example:
But the application works perfectly fine if i use in debug mode(Using the below apple commands provided)
On a release mode(with out console commands) not even once triggered the background tasks, i tried
- Connecting the application to Xcode with breakpoints.
- Giving a local notification when background tasks trigger.
- Using Userdefaults to keep count of number of Event Triggers.
None of them gave me an answer, Tried for whole day.
So wanted to understand, if any one has used iOS 13 background tasks, could please help me guide what im missing.
Thanks.