Post

Replies

Boosts

Views

Activity

Reply to BGTaskScheduler Terminated due to memory issue
Thanks such much again for your time & effort Kevin! I did look into the Documentation & tried different approaches but none seems to work. I also found a BLE sample project on the Apple Developer Documentation & it is also terminated after some time. However, unlike the Documentation states, I wasn't able to implement State Restoration and receive Characteristic updates once the App is terminated because of Memory Pressure. But I will continue to investigate into this direction. May I suggest to update the Documentation around Background Tasks to reflect the iOS Background Execution Limits https://developer.apple.com/forums/thread/685525 Neither the WWDC session nor the Documentation mention these limits. Additionally, several WWDC session like "Background execution demystified" & "Why is my app getting killed" are no longer available. Thanks a lot again
Dec ’25
Reply to BGTaskScheduler Terminated due to memory issue
Dear Kevin, thanks a lot for getting back so quickly & your detailed response! The problem I'm trying to solve is to reliable sync data from a BLE peripheral in Background over a longer period of time — either during the day or the night — between our user opening the App. However, once the app is killed, the task is no longer scheduled in the Background until the App is reopened, the Task resubmitted & re-scheduled. So I'm looking for a way to rerun the Task even though the App was killed. Is there any way to launch the App into Background "later" as you mentioned other than having to open the App again?
Dec ’25