I am using SwiftUI to develop a WatchOS application for activity pacing; the main feature in question is monitoring the users' heart rate and sending a notification when it exceeds a threshold they have defined. Currently, I am using WKExtendedRuntimeSession and background delivery for this but from everything I can gather from the documentation, it seems there is no way to guarantee that the app will actually keep running in the background continuously.
I am also monitoring for when the sessions expire and I am restarting them, however I am wondering if there is a better approach than this as my use case seems to be quite simple yet this implementation is very complicated and has a lot of moving parts.