I’m trying to expand my app with a feature that can be found in various music streaming apps: Display a LiveActivity on the lockscreen that shows a currently running event with remaining time. After this event has expired, the next one should be displayed, and so on.
I would like to achieve this without using push notifications (too complex for my purposes).
What I’ve tried so far:
- Run a timer, but it stops a few seconds after the app is sent to
the background. - Start a background task, but the system does not
execute it reliably, but rather at its own discretion.
All tutorials I found only implement updates from the active app, e.g. via buttons.
Question: Is this even possible without push notification?
You can use any of the background modes your app qualifies for. Music apps use the audio background mode. Just search for that term on google and see if you qualify there are a few others such as workouts.